Rosetta  2019.07
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
numeric::expression_parser::VariableToken Class Reference

#include <Arithmetic.hh>

Inheritance diagram for numeric::expression_parser::VariableToken:
Inheritance graph
[legend]

Public Member Functions

 VariableToken ()
 
 VariableToken (std::string name)
 
TokenType type () const override
 
std::string to_string () const override
 
std::string name () const
 
void name (std::string const &name)
 
- Public Member Functions inherited from numeric::expression_parser::Token
 ~Token () override
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. More...
 
- Public Member Functions inherited from utility::pointer::ReferenceCount
 ReferenceCount ()
 Default constructor. More...
 
virtual ~ReferenceCount ()
 

Private Attributes

std::string name_
 

Additional Inherited Members

- Public Types inherited from utility::pointer::ReferenceCount
typedef platform::Size Size
 
typedef platform::Size size_type
 

Constructor & Destructor Documentation

numeric::expression_parser::VariableToken::VariableToken ( )
numeric::expression_parser::VariableToken::VariableToken ( std::string  name)

Member Function Documentation

std::string numeric::expression_parser::VariableToken::name ( ) const

References name_.

Referenced by name().

void numeric::expression_parser::VariableToken::name ( std::string const &  name)

References name(), and name_.

std::string numeric::expression_parser::VariableToken::to_string ( ) const
overridevirtual

Implements numeric::expression_parser::Token.

References name_.

TokenType numeric::expression_parser::VariableToken::type ( ) const
overridevirtual

Member Data Documentation

std::string numeric::expression_parser::VariableToken::name_
private

Referenced by name(), and to_string().


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