OMNeT++ NEDXML  6.0.3
MsgTypeTable::Property Class Reference

#include <msgtypetable.h>

Public Member Functions

 Property ()
 
 Property (const std::string &name, const std::string &index, ASTNode *astNode)
 
 Property (const Property &other)=default
 
const std::string & getName () const
 
const std::string & getIndex () const
 
std::string getIndexedName () const
 
ASTNodegetASTNode () const
 
StringVector getValue (const std::string &key="") const
 
std::string getValueAsString () const
 
void addValue (const std::string &key, const std::string &value)
 

Protected Attributes

ASTNodeastNode = nullptr
 
std::string name
 
std::string index
 
std::map< std::string, StringVectorpropertyValue
 

Constructor & Destructor Documentation

◆ Property() [1/3]

Property ( )
inline

◆ Property() [2/3]

Property ( const std::string &  name,
const std::string &  index,
ASTNode astNode 
)
inline

◆ Property() [3/3]

Property ( const Property other)
default

Member Function Documentation

◆ getName()

const std::string& getName ( ) const
inline

◆ getIndex()

const std::string& getIndex ( ) const
inline

◆ getIndexedName()

std::string getIndexedName ( ) const

◆ getASTNode()

ASTNode* getASTNode ( ) const
inline

◆ getValue()

StringVector getValue ( const std::string &  key = "") const

◆ getValueAsString()

std::string getValueAsString ( ) const

◆ addValue()

void addValue ( const std::string &  key,
const std::string &  value 
)

Member Data Documentation

◆ astNode

ASTNode* astNode = nullptr
protected

◆ name

std::string name
protected

◆ index

std::string index
protected

◆ propertyValue

std::map<std::string, StringVector> propertyValue
protected

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