Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LaTeXForm.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Props.hh"
5 
6 namespace cadabra {
7 
8  class LaTeXForm : virtual public property {
9  public:
10  virtual std::string name() const override;
11  virtual bool parse(const Kernel&, keyval_t&) override;
12  virtual std::string unnamed_argument() const override;
13 
14  std::string latex_form() const;
15  private:
16  std::string latex_;
17  };
18 
19 }
std::string latex_form() const
Definition: LaTeXForm.cc:27
virtual bool parse(const Kernel &, keyval_t &) override
Definition: LaTeXForm.cc:16
Arguments to properties get parsed into a keyval_t structure.
Definition: Props.hh:48
Base class for all properties, handling argument parsing and defining the interface.
Definition: Props.hh:107
std::string latex_
Definition: LaTeXForm.hh:16
virtual std::string unnamed_argument() const override
Definition: LaTeXForm.cc:11
Definition: Kernel.hh:15
virtual std::string name() const override
Definition: LaTeXForm.cc:6
Definition: LaTeXForm.hh:8