Cadabra
Computer algebra system for field theory problems
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(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  }
cadabra::LaTeXForm::unnamed_argument
virtual std::string unnamed_argument() const override
Definition: LaTeXForm.cc:11
cadabra::Kernel
Definition: Kernel.hh:14
cadabra::LaTeXForm::latex_
std::string latex_
Definition: LaTeXForm.hh:16
cadabra::LaTeXForm::latex_form
std::string latex_form() const
Definition: LaTeXForm.cc:27
cadabra::LaTeXForm
Definition: LaTeXForm.hh:8
cadabra::LaTeXForm::name
virtual std::string name() const override
Definition: LaTeXForm.cc:6
cadabra::property
FIXME: the above two need to be merged, because parse may need access to the actual pattern tree,...
Definition: Props.hh:120
cadabra::LaTeXForm::parse
virtual bool parse(Kernel &, keyval_t &) override
Definition: LaTeXForm.cc:16
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Algorithm.cc:1045
Props.hh
cadabra::keyval_t
Arguments to properties get parsed into a keyval_t structure.
Definition: Props.hh:61