Public Member Functions

rt_latex_unary_expr_processor< InterfaceType > Class Template Reference

A LaTeX processor responsible for translating unary expressions to LaTeX code. More...

#include <latex.hpp>

Inheritance diagram for rt_latex_unary_expr_processor< InterfaceType >:
rt_latex_processor_interface< InterfaceType >

Public Member Functions

std::string process (InterfaceType const *ptr, bool use_parenthesis, rt_latex_translator< InterfaceType > const &translator) const
 The interface for converting an expression 'e' to a LaTeX string.

Detailed Description

template<typename InterfaceType>
class viennamath::rt_latex_unary_expr_processor< InterfaceType >

A LaTeX processor responsible for translating unary expressions to LaTeX code.

Template Parameters:
InterfaceType The interface to inherit from. Usually rt_expression_interface, but extensions are possible.

Member Function Documentation

std::string process ( InterfaceType const *  e,
bool  use_parenthesis,
rt_latex_translator< InterfaceType > const &  trans 
) const [inline, virtual]

The interface for converting an expression 'e' to a LaTeX string.

Parameters:
e Pointer to a runtime expression
use_parenthesis A flag indicating whether the expression should be wrapped in parentheses in order to preserve priority of evaluation
trans The LaTeX translater object for callback operations when recursively printing expressions

Implements rt_latex_processor_interface< InterfaceType >.


The documentation for this class was generated from the following file: