Holds types from msg files.
Classes | |
class | ClassInfo |
class | EnumInfo |
class | EnumItem |
class | FieldInfo |
class | Properties |
class | Property |
Public Types | |
typedef std::vector< std::string > | StringVector |
Public Member Functions | |
MsgTypeTable () | |
~MsgTypeTable () | |
StringVector | lookupExistingEnumName (const std::string &name, const std::string &contextNamespace) |
bool | isClassDefined (const std::string &classqname) |
bool | isEnumDefined (const std::string &enumqname) |
ClassInfo * | findClassInfo (const std::string &classqname) |
ClassInfo & | getClassInfo (const std::string &classqname) |
const EnumInfo & | getEnumInfo (const std::string &qname) |
const Properties & | getGlobalProperties () const |
void | storeMsgFile (ASTNode *tree) |
void | addGlobalProperty (const Property &p) |
void | addClass (const ClassInfo &classInfo) |
void | addEnum (const EnumInfo &enumInfo) |
Protected Member Functions | |
void | initDescriptors () |
std::string | prefixWithNamespace (const std::string &namespaceName, const std::string &name) |
typedef std::vector<std::string> StringVector |
|
inline |
~MsgTypeTable | ( | ) |
|
protected |
|
inlineprotected |
StringVector lookupExistingEnumName | ( | const std::string & | name, |
const std::string & | contextNamespace | ||
) |
|
inline |
|
inline |
ClassInfo* findClassInfo | ( | const std::string & | classqname | ) |
ClassInfo& getClassInfo | ( | const std::string & | classqname | ) |
const EnumInfo& getEnumInfo | ( | const std::string & | qname | ) |
|
inline |
|
inline |
|
inline |
References MsgTypeTable::Properties::add().
|
inline |
References MsgTypeTable::ClassInfo::qname.
|
inline |
References MsgTypeTable::EnumInfo::enumQName.