The main LaTeX translator class. To be used and manipulated by the ViennaMath library user.  
More...
#include <latex.hpp>
Public Member Functions | 
|   | rt_latex_translator () | 
|   | ~rt_latex_translator () | 
| std::string  | operator() (viennamath::rt_expr< InterfaceType > const &e, bool use_parenthesis=false) const  | 
| std::string  | operator() (BinaryExpr const &e, bool use_parenthesis=false) const  | 
| std::string  | operator() (UnaryExpr const &e, bool use_parenthesis=false) const  | 
| template<typename ScalarType >  | 
| std::string  | operator() (viennamath::rt_constant< ScalarType, InterfaceType > const &e, bool use_parenthesis=false) const  | 
| std::string  | operator() (Variable const &e, bool use_parenthesis=false) const  | 
| std::string  | operator() (FuncSymbol const &e, bool use_parenthesis=false) const  | 
| std::string  | operator() (Equation const &e, bool use_parenthesis=false) const  | 
| std::string  | operator() (Interval const &e, bool use_parenthesis=false) const  | 
| template<typename ExpressionType >  | 
| void  | customize (ExpressionType const &e, std::string output) | 
|   | Enables customization of LaTeX output. The expression 'e' is customized to return the LaTeX string 'str'.  
  | 
| void  | add_processor (ProcessorInterface *proc_ptr) | 
|   | Adds another LaTeX processor. Typically required only if user-defined ViennaMath expressions are in use.  
  | 
Detailed Description
template<typename InterfaceType>
 class viennamath::rt_latex_translator< InterfaceType >
The main LaTeX translator class. To be used and manipulated by the ViennaMath library user. 
- Template Parameters:
 - 
  
  
 
Constructor & Destructor Documentation
Member Function Documentation
Adds another LaTeX processor. Typically required only if user-defined ViennaMath expressions are in use. 
 
 
      
        
          | void customize  | 
          ( | 
          ExpressionType const &  | 
           e,  | 
        
        
           | 
           | 
          std::string  | 
           output |   | 
        
        
           | 
          ) | 
           |  |  [inline] | 
        
      
 
Enables customization of LaTeX output. The expression 'e' is customized to return the LaTeX string 'str'. 
- Parameters:
 - 
  
     | e  | Pointer to the ViennaMath runtime expression  | 
     | output  | The LaTeX string to be used for the expression referred to be 'e'  | 
  
   
 
 
      
        
          | std::string operator()  | 
          ( | 
          viennamath::rt_constant< ScalarType, InterfaceType > const &  | 
           e,  | 
        
        
           | 
           | 
          bool  | 
           use_parenthesis = false |   | 
        
        
           | 
          ) | 
           |  |  const [inline] | 
        
      
 
 
      
        
          | std::string operator()  | 
          ( | 
          Interval const &  | 
           e,  | 
        
        
           | 
           | 
          bool  | 
           use_parenthesis = false |   | 
        
        
           | 
          ) | 
           |  |  const [inline] | 
        
      
 
 
      
        
          | std::string operator()  | 
          ( | 
          Equation const &  | 
           e,  | 
        
        
           | 
           | 
          bool  | 
           use_parenthesis = false |   | 
        
        
           | 
          ) | 
           |  |  const [inline] | 
        
      
 
 
      
        
          | std::string operator()  | 
          ( | 
          FuncSymbol const &  | 
           e,  | 
        
        
           | 
           | 
          bool  | 
           use_parenthesis = false |   | 
        
        
           | 
          ) | 
           |  |  const [inline] | 
        
      
 
 
      
        
          | std::string operator()  | 
          ( | 
          viennamath::rt_expr< InterfaceType > const &  | 
           e,  | 
        
        
           | 
           | 
          bool  | 
           use_parenthesis = false |   | 
        
        
           | 
          ) | 
           |  |  const [inline] | 
        
      
 
 
      
        
          | std::string operator()  | 
          ( | 
          BinaryExpr const &  | 
           e,  | 
        
        
           | 
           | 
          bool  | 
           use_parenthesis = false |   | 
        
        
           | 
          ) | 
           |  |  const [inline] | 
        
      
 
 
      
        
          | std::string operator()  | 
          ( | 
          UnaryExpr const &  | 
           e,  | 
        
        
           | 
           | 
          bool  | 
           use_parenthesis = false |   | 
        
        
           | 
          ) | 
           |  |  const [inline] | 
        
      
 
 
      
        
          | std::string operator()  | 
          ( | 
          Variable const &  | 
           e,  | 
        
        
           | 
           | 
          bool  | 
           use_parenthesis = false |   | 
        
        
           | 
          ) | 
           |  |  const [inline] | 
        
      
 
 
The documentation for this class was generated from the following file:
- /export/development/ViennaMath/viennamath/manipulation/latex.hpp