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

Classes

struct  IdlStructTag
 

Public Member Functions

 IdlParser ()
 
 IdlParser (IDL_VPTR vPtr)
 
void setTo (IDL_VPTR vPtr)
 
void printSomething ()
 
virtual ~IdlParser ()
 
std::vector< unsigned > getDimensions ()
 
unsigned getDimension (unsigned iDim)
 
int getNumberOfDimensions ()
 
void printDimensions ()
 
double * getDoubleData ()
 
bool isStruct ()
 
bool isArray ()
 
bool isDouble ()
 
bool isString ()
 
std::string getString (unsigned index=0)
 
unsigned getNumberOfElements ()
 
unsigned getDataSizeOfElement ()
 
unsigned getSizeOf (unsigned idlFlag)
 
unsigned getNumberOfTags ()
 
std::vector< IdlParsergetTagList ()
 
IdlParser getTag (std::string tagName)
 
unsigned dataOffsetOfTag (std::string tagName)
 
char * getPtrToDataForTag (std::string tagName)
 
std::string name ()
 
char * getPtrToData ()
 

Constructor & Destructor Documentation

IdlParser::IdlParser ( )

Constructor.

IdlParser::IdlParser ( IDL_VPTR  vPtr)

....................................................................... Constructor.

IdlParser::~IdlParser ( )
virtual

Destructor.

....................................................................... Destructor.

Member Function Documentation

unsigned IdlParser::getDimension ( unsigned  iDim)

....................................................................... Return the number of elements in a dimension

std::vector< unsigned > IdlParser::getDimensions ( )

....................................................................... Return the vector of dimensions for this vPtr

double * IdlParser::getDoubleData ( )

....................................................................... Get a pointer to double data

int IdlParser::getNumberOfDimensions ( )

....................................................................... Return the dimensionality of an mxVPtr

unsigned IdlParser::getNumberOfTags ( )

....................................................................... Get the number of tags in this structure

IdlParser IdlParser::getTag ( std::string  tagName)

....................................................................... Get info about a structure tag

std::vector< IdlParser > IdlParser::getTagList ( )

....................................................................... Get a list of all tags in this structure

bool IdlParser::isArray ( )

....................................................................... Return true if this variable is an array

bool IdlParser::isDouble ( )

....................................................................... Return true if this variable is of type double

bool IdlParser::isString ( )

....................................................................... Return true if this variable is of type string

bool IdlParser::isStruct ( )

....................................................................... Return true if this variable is of type struct

void IdlParser::printDimensions ( )

....................................................................... Print the dimensionality of this vPtr


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