libetonyek::IWORKFormula::Token Struct Reference

small structure used by IWAParser to create formula More...

#include <IWORKFormula.h>

Public Types

enum  Type {
  Cell, Double, Function, Operator,
  String
}
 

Public Member Functions

 Token (Type type)
 
 Token (double const &val)
 
 Token (std::string const &name, Type type)
 
 Token (IWORKFormula::Address const &address)
 

Public Attributes

Type m_type
 
std::string m_string
 
double m_value
 
IWORKFormula::Address m_address
 

Friends

std::ostream & operator<< (std::ostream &s, Token const &dt)
 

Detailed Description

small structure used by IWAParser to create formula

Member Enumeration Documentation

Enumerator
Cell 
Double 
Function 
Operator 
String 

Constructor & Destructor Documentation

libetonyek::IWORKFormula::Token::Token ( Type  type)
inlineexplicit
libetonyek::IWORKFormula::Token::Token ( double const &  val)
inlineexplicit
libetonyek::IWORKFormula::Token::Token ( std::string const &  name,
Type  type 
)
inline
libetonyek::IWORKFormula::Token::Token ( IWORKFormula::Address const &  address)
inlineexplicit

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
IWORKFormula::Token const &  dt 
)
friend

Member Data Documentation

IWORKFormula::Address libetonyek::IWORKFormula::Token::m_address

Referenced by libetonyek::operator<<().

std::string libetonyek::IWORKFormula::Token::m_string

Referenced by libetonyek::operator<<().

Type libetonyek::IWORKFormula::Token::m_type

Referenced by libetonyek::operator<<().

double libetonyek::IWORKFormula::Token::m_value

Referenced by libetonyek::operator<<().


The documentation for this struct was generated from the following file:

Generated for libetonyek by doxygen 1.8.6