Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Encoding Class Reference

#include <encoding.h>

Collaboration diagram for Encoding:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { MaxNameLen = 256 }

Public Member Functions

 Encoding ()
 Encoding (Encoding &e)
void Clear ()
void Reset (Encoding &)
char * Get ()
bool IsEmpty ()
void CvQualify (Ptree *, Ptree *=nil)
void SimpleConst ()
void GlobalScope ()
void SimpleName (Ptree *)
void NoName ()
void Template (Ptree *, Encoding &)
void Qualified (int)
void Destructor (Ptree *)
void PtrOperator (int)
void PtrToMember (Encoding &, int)
void CastOperator (Encoding &)
void Array ()
void Function (Encoding &args)
void Recursion (Encoding &e)
void StartFuncArgs ()
void EndFuncArgs ()
void Void ()
void EllipsisArg ()
void NoReturnType ()
void ValueTempParam ()
void Insert (unsigned char)
void Insert (char *, int)
void Append (unsigned char)
void Append (char *, int)
void Append (Encoding &e)
void AppendWithLen (char *, int)
void AppendWithLen (Encoding &e)

Static Public Member Functions

void Print (std::ostream &, char *)
char * GetBaseName (char *, int &, Environment *&)
Ptree * MakePtree (unsigned char *&, Ptree *)
Ptree * MakeQname (unsigned char *&)
Ptree * MakeLeaf (unsigned char *&)
bool IsSimpleName (unsigned char *)
Ptree * NameToPtree (char *, int)
unsigned char * GetTemplateArguments (unsigned char *, int &)

Static Public Attributes

Ptree * bool_t = new LeafBOOLEAN("bool", 4)
Ptree * char_t = new LeafCHAR("char", 4)
Ptree * int_t = new LeafINT("int", 3)
Ptree * short_t = new LeafSHORT("short", 5)
Ptree * long_t = new LeafLONG("long", 4)
Ptree * float_t = new LeafFLOAT("float", 5)
Ptree * double_t = new LeafDOUBLE("double", 6)
Ptree * void_t = new LeafVOID("void", 4)
Ptree * signed_t = new LeafSIGNED("signed", 6)
Ptree * unsigned_t = new LeafUNSIGNED("unsigned", 8)
Ptree * const_t = new LeafCONST("const", 5)
Ptree * volatile_t = new LeafVOLATILE("volatile", 8)
Ptree * operator_name = new LeafReserved("operator", 8)
Ptree * new_operator = new LeafReserved("new", 3)
Ptree * anew_operator = new LeafReserved("new[]", 5)
Ptree * delete_operator = new LeafReserved("delete", 6)
Ptree * adelete_operator = new LeafReserved("delete[]", 8)
Ptree * star = new Leaf("*", 1)
Ptree * ampersand = new Leaf("&", 1)
Ptree * comma = new Leaf(",", 1)
Ptree * dots = new Leaf("...", 3)
Ptree * scope = new Leaf("::", 2)
Ptree * tilder = new Leaf("~", 1)
Ptree * left_paren = new Leaf("(", 1)
Ptree * right_paren = new Leaf(")", 1)
Ptree * left_bracket = new Leaf("[", 1)
Ptree * right_bracket = new Leaf("]", 1)
Ptree * left_angle = new Leaf("<", 1)
Ptree * right_angle = new Leaf(">", 1)

Static Private Member Functions

Environment * ResolveTypedefName (Environment *, char *, int)
int GetBaseNameIfTemplate (unsigned char *, Environment *&)

Private Attributes

unsigned char name [MaxNameLen]
int len

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
MaxNameLen 


Constructor & Destructor Documentation

Encoding::Encoding (   )  [inline]
 

Encoding::Encoding (  Encoding &  e  )  [inline]
 


Member Function Documentation

void Encoding::Clear (   )  [inline]
 

void Encoding::Reset (  Encoding &   ) 
 

char * Encoding::Get (   ) 
 

bool Encoding::IsEmpty (   )  [inline]
 

void Encoding::CvQualify (  Ptree *  ,
Ptree *  = nil
) 
 

void Encoding::SimpleConst (   )  [inline]
 

void Encoding::GlobalScope (   ) 
 

void Encoding::SimpleName (  Ptree *   ) 
 

void Encoding::NoName (   ) 
 

void Encoding::Template (  Ptree *  ,
Encoding & 
) 
 

void Encoding::Qualified (  int   ) 
 

void Encoding::Destructor (  Ptree *   ) 
 

void Encoding::PtrOperator (  int   ) 
 

void Encoding::PtrToMember (  Encoding &  ,
int 
) 
 

void Encoding::CastOperator (  Encoding &   ) 
 

void Encoding::Array (   )  [inline]
 

void Encoding::Function (  Encoding &  args  )  [inline]
 

void Encoding::Recursion (  Encoding &  e  )  [inline]
 

void Encoding::StartFuncArgs (   )  [inline]
 

void Encoding::EndFuncArgs (   )  [inline]
 

void Encoding::Void (   )  [inline]
 

void Encoding::EllipsisArg (   )  [inline]
 

void Encoding::NoReturnType (   )  [inline]
 

void Encoding::ValueTempParam (   )  [inline]
 

void Encoding::Insert (  unsigned  char  ) 
 

void Encoding::Insert (  char *  ,
int 
) 
 

void Encoding::Append (  unsigned  char  ) 
 

void Encoding::Append (  char *  ,
int 
) 
 

void Encoding::Append (  Encoding &  e  )  [inline]
 

void Encoding::AppendWithLen (  char *  ,
int 
) 
 

void Encoding::AppendWithLen (  Encoding &  e  )  [inline]
 

void Encoding::Print (  std::ostream &  ,
char * 
)  [static]
 

char * Encoding::GetBaseName (  char *  ,
int &  ,
Environment *& 
)  [static]
 

Ptree * Encoding::MakePtree (  unsigned char *&  ,
Ptree * 
)  [static]
 

Ptree * Encoding::MakeQname (  unsigned char *&   )  [static]
 

Ptree * Encoding::MakeLeaf (  unsigned char *&   )  [static]
 

bool Encoding::IsSimpleName (  unsigned char *   )  [static]
 

Ptree * Encoding::NameToPtree (  char *  ,
int 
)  [static]
 

unsigned char * Encoding::GetTemplateArguments (  unsigned char *  ,
int & 
)  [static]
 

Environment * Encoding::ResolveTypedefName (  Environment *  ,
char *  ,
int 
)  [static, private]
 

int Encoding::GetBaseNameIfTemplate (  unsigned char *  ,
Environment *& 
)  [static, private]
 


Member Data Documentation

unsigned char Encoding::name[MaxNameLen] [private]
 

int Encoding::len [private]
 

BEGIN_OPENCXX_NAMESPACE Ptree * Encoding::bool_t = new LeafBOOLEAN("bool", 4) [static]
 

Ptree * Encoding::char_t = new LeafCHAR("char", 4) [static]
 

Ptree * Encoding::int_t = new LeafINT("int", 3) [static]
 

Ptree * Encoding::short_t = new LeafSHORT("short", 5) [static]
 

Ptree * Encoding::long_t = new LeafLONG("long", 4) [static]
 

Ptree * Encoding::float_t = new LeafFLOAT("float", 5) [static]
 

Ptree * Encoding::double_t = new LeafDOUBLE("double", 6) [static]
 

Ptree * Encoding::void_t = new LeafVOID("void", 4) [static]
 

Ptree * Encoding::signed_t = new LeafSIGNED("signed", 6) [static]
 

Ptree * Encoding::unsigned_t = new LeafUNSIGNED("unsigned", 8) [static]
 

Ptree * Encoding::const_t = new LeafCONST("const", 5) [static]
 

Ptree * Encoding::volatile_t = new LeafVOLATILE("volatile", 8) [static]
 

Ptree * Encoding::operator_name = new LeafReserved("operator", 8) [static]
 

Ptree * Encoding::new_operator = new LeafReserved("new", 3) [static]
 

Ptree * Encoding::anew_operator = new LeafReserved("new[]", 5) [static]
 

Ptree * Encoding::delete_operator = new LeafReserved("delete", 6) [static]
 

Ptree * Encoding::adelete_operator = new LeafReserved("delete[]", 8) [static]
 

Ptree * Encoding::star = new Leaf("*", 1) [static]
 

Ptree * Encoding::ampersand = new Leaf("&", 1) [static]
 

Ptree * Encoding::comma = new Leaf(",", 1) [static]
 

Ptree * Encoding::dots = new Leaf("...", 3) [static]
 

Ptree * Encoding::scope = new Leaf("::", 2) [static]
 

Ptree * Encoding::tilder = new Leaf("~", 1) [static]
 

Ptree * Encoding::left_paren = new Leaf("(", 1) [static]
 

Ptree * Encoding::right_paren = new Leaf(")", 1) [static]
 

Ptree * Encoding::left_bracket = new Leaf("[", 1) [static]
 

Ptree * Encoding::right_bracket = new Leaf("]", 1) [static]
 

Ptree * Encoding::left_angle = new Leaf("<", 1) [static]
 

Ptree * Encoding::right_angle = new Leaf(">", 1) [static]
 


The documentation for this class was generated from the following files:
Generated on Wed Aug 11 22:35:27 2004 for IOPC by Doxygen 1.3.6