#include <expression.hpp>

Public Member Functions | |
| returnValue | clearStaticCounters () |
| virtual Expression * | clone () const |
| ExpressionType () | |
| ExpressionType (const std::string &_name, unsigned _nRows, unsigned _nCols) | |
| ExpressionType (const Expression &_expression, unsigned _componentIdx=0) | |
| ExpressionType (const double &_arg) | |
| ExpressionType (const DVector &_arg) | |
| ExpressionType (const DMatrix &_arg) | |
| ExpressionType (const Operator &_arg) | |
| virtual | ~ExpressionType () |
Static Private Attributes | |
| static unsigned | count |
A helper class implementing the CRTP design pattern.
This class gives object counting and clone capability to a derived class via static polymorphism.
| Derived | The derived class. |
| Type | The expression type. |
| AllowCounter | Allow object instance counting. |
Definition at line 340 of file expression.hpp.
| ExpressionType< Derived, Type, AllowCounter >::ExpressionType | ( | ) | [inline] |
Default constructor.
Definition at line 345 of file expression.hpp.
| ExpressionType< Derived, Type, AllowCounter >::ExpressionType | ( | const std::string & | _name, |
| unsigned | _nRows, | ||
| unsigned | _nCols | ||
| ) | [inline] |
The constructor with arguments.
Definition at line 353 of file expression.hpp.
| ExpressionType< Derived, Type, AllowCounter >::ExpressionType | ( | const Expression & | _expression, |
| unsigned | _componentIdx = 0 |
||
| ) | [inline] |
The constructor from an expression.
Definition at line 361 of file expression.hpp.
| ExpressionType< Derived, Type, AllowCounter >::ExpressionType | ( | const double & | _arg | ) | [inline] |
The constructor from a scalar number.
Definition at line 371 of file expression.hpp.
| ExpressionType< Derived, Type, AllowCounter >::ExpressionType | ( | const DVector & | _arg | ) | [inline] |
The constructor from a vector.
Definition at line 376 of file expression.hpp.
| ExpressionType< Derived, Type, AllowCounter >::ExpressionType | ( | const DMatrix & | _arg | ) | [inline] |
The constructor from a matrix.
Definition at line 381 of file expression.hpp.
| ExpressionType< Derived, Type, AllowCounter >::ExpressionType | ( | const Operator & | _arg | ) | [inline] |
The constructor from an operator.
Definition at line 386 of file expression.hpp.
| virtual ExpressionType< Derived, Type, AllowCounter >::~ExpressionType | ( | ) | [inline, virtual] |
Destructor.
Definition at line 391 of file expression.hpp.
| returnValue ExpressionType< Derived, Type, AllowCounter >::clearStaticCounters | ( | ) | [inline] |
A function for resetting of the istance counter.
Definition at line 398 of file expression.hpp.
| virtual Expression* ExpressionType< Derived, Type, AllowCounter >::clone | ( | ) | const [inline, virtual] |
unsigned ExpressionType< Derived, Type, AllowCounter >::count [static, private] |
Definition at line 402 of file expression.hpp.