Rosetta
|
#include <Arithmetic.hh>
Public Member Functions | |
FunctionToken () | |
FunctionToken (std::string name, numeric::Size nargs) | |
TokenType | type () const override |
std::string | to_string () const override |
std::string | name () const |
void | name (std::string const &name) |
numeric::Size | nargs () const |
void | nargs (Size setting) |
![]() | |
~Token () override | |
Automatically generated virtual destructor for class deriving directly from VirtualBase. More... | |
![]() | |
VirtualBase ()=default | |
Default constructor. More... | |
virtual | ~VirtualBase ()=default |
The virtual destructor is one of the main reasons for the VirtualBase class. More... | |
VirtualBase (VirtualBase const &)=default | |
VirtualBase (VirtualBase &&)=default | |
VirtualBase & | operator= (VirtualBase const &)=default |
VirtualBase & | operator= (VirtualBase &&)=default |
Private Attributes | |
std::string | name_ |
numeric::Size | nargs_ |
numeric::expression_parser::FunctionToken::FunctionToken | ( | ) |
numeric::expression_parser::FunctionToken::FunctionToken | ( | std::string | name, |
numeric::Size | nargs | ||
) |
std::string numeric::expression_parser::FunctionToken::name | ( | ) | const |
References name_.
Referenced by pyrosetta.distributed.docs.ComponentDoc::__repr__(), options_class.Option::getCName(), options_class.Option::getDoxygenRow(), options_class.Option::getMarkdownRow(), options_class.Option::getOptionKeysCC(), options_class.Option::getWikiTableRow(), enumerate_junctions.DHR::print(), enumerate_junctions.DHR::to_component(), and enumerate_junctions.DHR::write_to_file().
void numeric::expression_parser::FunctionToken::name | ( | std::string const & | name | ) |
References name_.
Referenced by pyrosetta.distributed.docs.ComponentDoc::__repr__(), options_class.Option::getCName(), options_class.Option::getDoxygenRow(), options_class.Option::getMarkdownRow(), options_class.Option::getOptionKeysCC(), options_class.Option::getWikiTableRow(), enumerate_junctions.DHR::print(), enumerate_junctions.DHR::to_component(), and enumerate_junctions.DHR::write_to_file().
numeric::Size numeric::expression_parser::FunctionToken::nargs | ( | ) | const |
References nargs_.
|
overridevirtual |
Implements numeric::expression_parser::Token.
References name_, nargs_, and utility::to_string().
|
overridevirtual |
Implements numeric::expression_parser::Token.
References numeric::expression_parser::FUNCTION.
Referenced by schema.Move::__repr__(), and schema.NumpyCache::__repr__().
|
private |
Referenced by name(), and to_string().
|
private |
Referenced by nargs(), and to_string().