User facing host object for a function. This combines a term with an argument list. More...
#include <ExpressionBuilder.h>
Public Member Functions | |
EBFunction () | |
operator EBTerm () const | |
cast an EBFunction into an EBTerm More... | |
operator std::string () const | |
cast into a string (via the cast into a term above) More... | |
std::string | args () |
get the list of arguments and check if they are all symbols More... | |
unsigned int | substitute (const EBSubstitutionRule &rule) |
unsigned int | substitute (const EBSubstitutionRuleList &rules) |
EBFunction & | operator() (const EBTerm &arg) |
EBFunction & | operator() (const EBTermList &args) |
EBFunction & | operator() (const EBTerm &a1, const EBTerm &a2) |
EBFunction & | operator() (const EBTerm &a1, const EBTerm &a2, const EBTerm &a3) |
EBFunction & | operator() (const EBTerm &a1, const EBTerm &a2, const EBTerm &a3, const EBTerm &a4) |
EBFunction & | operator() (const EBTerm &a1, const EBTerm &a2, const EBTerm &a3, const EBTerm &a4, const EBTerm &a5) |
EBFunction & | operator() (const EBTerm &a1, const EBTerm &a2, const EBTerm &a3, const EBTerm &a4, const EBTerm &a5, const EBTerm &a6) |
EBFunction & | operator() (const EBTerm &a1, const EBTerm &a2, const EBTerm &a3, const EBTerm &a4, const EBTerm &a5, const EBTerm &a6, const EBTerm &a7) |
EBFunction & | operator() (const EBTerm &a1, const EBTerm &a2, const EBTerm &a3, const EBTerm &a4, const EBTerm &a5, const EBTerm &a6, const EBTerm &a7, const EBTerm &a8) |
EBFunction & | operator() (const EBTerm &a1, const EBTerm &a2, const EBTerm &a3, const EBTerm &a4, const EBTerm &a5, const EBTerm &a6, const EBTerm &a7, const EBTerm &a8, const EBTerm &a9) |
EBFunction & | operator= (const EBTerm &) |
EBFunction & | operator= (const EBFunction &) |
EBTerm | operator- () |
EBTerm | operator! () |
Protected Attributes | |
EBTermList | _arguments |
argument list the function is declared with More... | |
EBTermList | _eval_arguments |
argument list passed in when evaluating the function More... | |
EBTerm | _term |
User facing host object for a function. This combines a term with an argument list.
Definition at line 524 of file ExpressionBuilder.h.
|
inline |
Definition at line 527 of file ExpressionBuilder.h.
std::string ExpressionBuilder::EBFunction::args | ( | ) |
get the list of arguments and check if they are all symbols
Definition at line 217 of file ExpressionBuilder.C.
ExpressionBuilder::EBFunction::operator EBTerm | ( | ) | const |
cast an EBFunction into an EBTerm
ExpressionBuilder::EBFunction::operator std::string | ( | ) | const |
cast into a string (via the cast into a term above)
Definition at line 207 of file ExpressionBuilder.C.
|
inline |
Definition at line 618 of file ExpressionBuilder.h.
ExpressionBuilder::EBFunction & ExpressionBuilder::EBFunction::operator() | ( | const EBTerm & | arg | ) |
set the temporary argument list which is either used for evaluation or committed to the argument list upon function definition (assignment)
Definition at line 154 of file ExpressionBuilder.C.
ExpressionBuilder::EBFunction & ExpressionBuilder::EBFunction::operator() | ( | const EBTermList & | args | ) |
Definition at line 161 of file ExpressionBuilder.C.
|
inline |
convenience operators to allow single bracket syntax
Definition at line 538 of file ExpressionBuilder.h.
|
inline |
Definition at line 539 of file ExpressionBuilder.h.
|
inline |
Definition at line 544 of file ExpressionBuilder.h.
|
inline |
Definition at line 548 of file ExpressionBuilder.h.
|
inline |
Definition at line 556 of file ExpressionBuilder.h.
|
inline |
Definition at line 565 of file ExpressionBuilder.h.
|
inline |
Definition at line 575 of file ExpressionBuilder.h.
|
inline |
Definition at line 586 of file ExpressionBuilder.h.
|
inline |
Unary operators on functions
Definition at line 617 of file ExpressionBuilder.h.
ExpressionBuilder::EBFunction & ExpressionBuilder::EBFunction::operator= | ( | const EBTerm & | term | ) |
function definition (assignment)
Definition at line 168 of file ExpressionBuilder.C.
ExpressionBuilder::EBFunction & ExpressionBuilder::EBFunction::operator= | ( | const EBFunction & | func | ) |
Definition at line 176 of file ExpressionBuilder.C.
unsigned int ExpressionBuilder::EBFunction::substitute | ( | const EBSubstitutionRule & | rule | ) |
Definition at line 232 of file ExpressionBuilder.C.
Referenced by RegularSolutionFreeEnergy::RegularSolutionFreeEnergy().
unsigned int ExpressionBuilder::EBFunction::substitute | ( | const EBSubstitutionRuleList & | rules | ) |
Definition at line 238 of file ExpressionBuilder.C.
|
protected |
argument list the function is declared with
Definition at line 627 of file ExpressionBuilder.h.
|
protected |
argument list passed in when evaluating the function
Definition at line 629 of file ExpressionBuilder.h.
|
protected |
Definition at line 632 of file ExpressionBuilder.h.