My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::idl::IdlStructDef Class Reference

Classes

struct  IdlStructTag
 

Public Member Functions

 IdlStructDef (const IdlStructDef &def)
 
 IdlStructDef (IdlStructDef &def)
 
void operator= (const IdlStructDef &def)
 
void operator= (IdlStructDef &def)
 
void addDataMember (std::string name, gcp::util::MonitorDataType &dataType, unsigned len=1)
 
void addDataMember (std::string name, gcp::util::MonitorDataType &dataType, std::vector< unsigned int > &dims)
 
void addDataMember (std::string name, gcp::util::DataType::Type dataType, unsigned len=1)
 
void addDataMember (std::string name, gcp::util::DataType::Type dataType, std::vector< unsigned int > &dims)
 
void addDataMember (std::string name, int idlType, std::vector< unsigned int > &dims)
 
IdlStructDefaddStructMember (std::string name, IdlStructDef &def, std::vector< unsigned int > &dims)
 
IdlStructDefaddStructMember (std::string name, IdlStructDef &def, unsigned len=1)
 
IdlStructDefaddStructMember (std::string name)
 
IdlStructDefgetStructMember (std::string name, bool create=false)
 
IDL_StructDefPtr getStructDefPtr ()
 
IDL_STRUCT_TAG_DEF * createIdlTagArray ()
 
void deleteIdlTagArray (IDL_STRUCT_TAG_DEF *tags)
 
IDL_StructDefPtr makeStruct ()
 
void printTags ()
 

Public Attributes

std::list< IdlStructTagtags_
 

Friends

std::ostream & operator<< (std::ostream &os, IdlStructDef &def)
 

Constructor & Destructor Documentation

IdlStructDef::IdlStructDef ( const IdlStructDef def)

....................................................................... Const copy constructor

IdlStructDef::IdlStructDef ( IdlStructDef def)

....................................................................... Copy constructor

Member Function Documentation

void IdlStructDef::addDataMember ( std::string  name,
gcp::util::MonitorDataType dataType,
unsigned  len = 1 
)

....................................................................... Add a simple data member to a structure

void IdlStructDef::addDataMember ( std::string  name,
gcp::util::DataType::Type  dataType,
unsigned  len = 1 
)

....................................................................... Add a simple data member to a structure

IdlStructDef * IdlStructDef::addStructMember ( std::string  name,
IdlStructDef def,
unsigned  len = 1 
)

....................................................................... Add a substructure member to this structure

IdlStructDef * IdlStructDef::addStructMember ( std::string  name)

....................................................................... Add a blank substructure member to this structure

IDL_STRUCT_TAG_DEF * IdlStructDef::createIdlTagArray ( )

....................................................................... Convert from our internal tag representation to the array required by IDL

void IdlStructDef::deleteIdlTagArray ( IDL_STRUCT_TAG_DEF *  tags)

....................................................................... Free a tag array previously allocated by createIdlTagArray()

IDL_StructDefPtr IdlStructDef::getStructDefPtr ( )

....................................................................... Convert a list of tags into a structure definition

IdlStructDef * IdlStructDef::getStructMember ( std::string  name,
bool  create = false 
)

....................................................................... Return the descriptor for the matching structure member. If create=true, this call will create the structure member if it doesn't exist already.

IDL_StructDefPtr IdlStructDef::makeStruct ( )

....................................................................... Create an IDL struct definition

void IdlStructDef::operator= ( const IdlStructDef def)

....................................................................... Assignment operator

void IdlStructDef::operator= ( IdlStructDef def)

....................................................................... Assignment operator


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