Horizon
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SEXPR::SEXPR Class Reference
Inheritance diagram for SEXPR::SEXPR:
SEXPR::SEXPR_DOUBLE SEXPR::SEXPR_INTEGER SEXPR::SEXPR_LIST SEXPR::SEXPR_STRING SEXPR::SEXPR_SYMBOL

Public Member Functions

bool IsList () const
 
bool IsSymbol () const
 
bool IsString () const
 
bool IsDouble () const
 
bool IsInteger () const
 
void AddChild (SEXPR *aChild)
 
SEXPR_VECTOR const * GetChildren () const
 
SEXPRGetChild (size_t aIndex) const
 
size_t GetNumberOfChildren () const
 
int64_t GetLongInteger () const
 
int32_t GetInteger () const
 
float GetFloat () const
 
double GetDouble () const
 
std::string const & GetString () const
 
std::string const & GetSymbol () const
 
SEXPR_LISTGetList ()
 
std::string AsString (size_t aLevel=0)
 
size_t GetLineNumber ()
 

Protected Member Functions

 SEXPR (SEXPR_TYPE aType, size_t aLineNumber)
 
 SEXPR (SEXPR_TYPE aType)
 

Protected Attributes

SEXPR_TYPE m_type
 
size_t m_lineNumber
 

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