Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
#include <ExpressionTree.h>
Public Member Functions | |
R | operator() (const Context &context, const std::vector< T > &args) const |
R | operator() (const std::vector< T > &args) const |
![]() | |
bool | isCompiled () const |
const Exception * | reason () const |
const std::shared_ptr< Node< R > > & | getTree () const |
Private Member Functions | |
ExpressionTree (bool compiled, const std::shared_ptr< Node< R > > &root, const std::shared_ptr< Exception > &reason_) | |
Friends | |
class | ExpressionTreeBuilder |
Additional Inherited Members | |
![]() | |
ExpressionTreeBase (bool compiled, const std::shared_ptr< Node< R > > &root, const std::shared_ptr< Exception > &reason_) | |
![]() | |
bool | m_is_compiled |
std::shared_ptr< Node< R > > | m_root |
std::shared_ptr< Exception > | m_reason |
Wraps a call to an expression tree. Specialized for parameters as a vector of values
R | Return type |
T | Argument type |
Definition at line 79 of file ExpressionTree.h.
|
inlineprivate |
Definition at line 106 of file ExpressionTree.h.
|
inline |
Use the tree as a function
args | Argument list |
Definition at line 86 of file ExpressionTree.h.
References std::back_inserter(), std::vector< T >::begin(), std::copy(), and std::vector< T >::end().
|
inline |
Use the tree as a function
args | Argument list |
Definition at line 97 of file ExpressionTree.h.
References std::back_inserter(), std::vector< T >::begin(), std::copy(), and std::vector< T >::end().
|
friend |
Definition at line 109 of file ExpressionTree.h.