OMNeT++ NEDXML  6.0.3
MsgTypeTable Class Reference

#include <msgtypetable.h>

Description

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)
 
ClassInfofindClassInfo (const std::string &classqname)
 
ClassInfogetClassInfo (const std::string &classqname)
 
const EnumInfogetEnumInfo (const std::string &qname)
 
const PropertiesgetGlobalProperties () 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)
 

Member Typedef Documentation

◆ StringVector

typedef std::vector<std::string> StringVector

Constructor & Destructor Documentation

◆ MsgTypeTable()

MsgTypeTable ( )
inline

◆ ~MsgTypeTable()

Member Function Documentation

◆ initDescriptors()

void initDescriptors ( )
protected

◆ prefixWithNamespace()

std::string prefixWithNamespace ( const std::string &  namespaceName,
const std::string &  name 
)
inlineprotected

◆ lookupExistingEnumName()

StringVector lookupExistingEnumName ( const std::string &  name,
const std::string &  contextNamespace 
)

◆ isClassDefined()

bool isClassDefined ( const std::string &  classqname)
inline

◆ isEnumDefined()

bool isEnumDefined ( const std::string &  enumqname)
inline

◆ findClassInfo()

ClassInfo* findClassInfo ( const std::string &  classqname)

◆ getClassInfo()

ClassInfo& getClassInfo ( const std::string &  classqname)

◆ getEnumInfo()

const EnumInfo& getEnumInfo ( const std::string &  qname)

◆ getGlobalProperties()

const Properties& getGlobalProperties ( ) const
inline

◆ storeMsgFile()

void storeMsgFile ( ASTNode tree)
inline

◆ addGlobalProperty()

void addGlobalProperty ( const Property p)
inline

◆ addClass()

void addClass ( const ClassInfo classInfo)
inline

◆ addEnum()

void addEnum ( const EnumInfo enumInfo)
inline

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