Rosetta Utilities  2014.35
Public Member Functions | Private Attributes | List of all members
numeric::expression_parser::LiteralToken Class Reference

#include <Arithmetic.hh>

Public Member Functions

 LiteralToken ()
 
 LiteralToken (numeric::Real value)
 
virtual TokenType type () const
 
virtual std::string to_string () const
 
numeric::Real value () const
 
void value (numeric::Real setting)
 
- Public Member Functions inherited from numeric::expression_parser::Token
virtual ~Token ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. More...
 
- Public Member Functions inherited from utility::pointer::ReferenceCount
void ctor ()
 
virtual ~ReferenceCount ()
 Destructor. More...
 
Size ref_count () const
 Reference count. More...
 

Private Attributes

numeric::Real value_
 

Additional Inherited Members

- Public Types inherited from utility::pointer::ReferenceCount
typedef platform::Size Size
 
typedef platform::Size size_type
 
- Protected Member Functions inherited from utility::pointer::ReferenceCount
 ReferenceCount ()
 Default constructor. More...
 
 ReferenceCount (ReferenceCount const &)
 Copy constructor. More...
 
ReferenceCountoperator= (ReferenceCount const &)
 Copy assignment. More...
 

Constructor & Destructor Documentation

numeric::expression_parser::LiteralToken::LiteralToken ( )
numeric::expression_parser::LiteralToken::LiteralToken ( numeric::Real  value)

Member Function Documentation

std::string numeric::expression_parser::LiteralToken::to_string ( ) const
virtual
TokenType numeric::expression_parser::LiteralToken::type ( ) const
virtual
numeric::Real numeric::expression_parser::LiteralToken::value ( ) const

References value_.

void numeric::expression_parser::LiteralToken::value ( numeric::Real  setting)

References value_.

Member Data Documentation

numeric::Real numeric::expression_parser::LiteralToken::value_
private

Referenced by to_string(), and value().


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