Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Feel::ExprBase Class Referenceabstract

#include <exprbase.hpp>

Detailed Description

Base class for expression.

Defines the common interface for all expression terms

Author
Christophe Prud'homme
See Also

Public Member Functions

Constructors, destructor
 ExprBase ()
 default constructor
 
virtual ~ExprBase ()
 destructor
 
Accessors
virtual std::string typeName () const
 
Methods
virtual std::ostream & toText (std::ostream &os, bool paren) const =0
 
virtual std::ostream & toLatex (std::ostream &os, bool paren) const =0
 
std::string toString () const
 

Member Function Documentation

virtual std::ostream& Feel::ExprBase::toLatex ( std::ostream &  os,
bool  paren 
) const
pure virtual

Write in a form suitable for LaTeX formatting

std::string Feel::ExprBase::toString ( ) const

write the expression into a std::string

References toText().

virtual std::ostream& Feel::ExprBase::toText ( std::ostream &  os,
bool  paren 
) const
pure virtual

Write a simple text description suitable for output to a terminal

std::string Feel::ExprBase::typeName ( ) const
virtual

Return a descriptive name for the expression subtype


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

Generated on Fri Oct 25 2013 14:24:29 for Feel++ by doxygen 1.8.4