3 #ifndef GCP_IDL_IDLHANDLER_H
4 #define GCP_IDL_IDLHANDLER_H
20 #include "idl_export.h"
22 #include "gcp/util/common/DataType.h"
23 #include "gcp/util/common/MonitorDataType.h"
37 std::vector<unsigned> dims_;
93 std::vector<unsigned int>& dims);
96 gcp::util::DataType::Type dataType,
100 gcp::util::DataType::Type dataType,
101 std::vector<unsigned int>& dims);
105 std::vector<unsigned int>& dims);
111 std::vector<unsigned int>& dims);
140 friend std::ostream& operator<<(std::ostream& os,
IdlStructDef& def);
144 std::list<IdlStructTag> tags_;
148 std::vector<IdlStructDef*> structs_;
150 IDL_StructDefPtr sDefPtr_;
168 static IDL_VPTR
createArray(std::vector<unsigned>& dims,
169 gcp::util::DataType::Type dataType,
184 static int idlTypeOf(gcp::util::DataType::Type dataType);
186 static int idlTypeOf(gcp::util::MonitorDataType::FormatType formatType);
199 #endif // End #ifndef GCP_IDL_IDLHANDLER_H
Definition: IdlHandler.h:32
virtual ~IdlHandler()
Definition: IdlHandler.cc:24
IDL_STRUCT_TAG_DEF * createIdlTagArray()
Definition: IdlHandler.cc:413
Definition: MonitorDataType.h:16
static IDL_VPTR createStructure(IdlStructDef &def, std::vector< unsigned > &dims, char **data=0)
Definition: IdlHandler.cc:68
void operator=(const IdlStructDef &def)
Definition: IdlHandler.cc:212
static IDL_VPTR createString(std::string str)
Definition: IdlHandler.cc:50
IdlStructDef * getStructMember(std::string name, bool create=false)
Definition: IdlHandler.cc:334
IDL_StructDefPtr getStructDefPtr()
Definition: IdlHandler.cc:364
void deleteIdlTagArray(IDL_STRUCT_TAG_DEF *tags)
Definition: IdlHandler.cc:470
IDL_StructDefPtr makeStruct()
Definition: IdlHandler.cc:390
static IDL_VPTR createArray(std::vector< unsigned > &dims, gcp::util::DataType::Type dataType, char **data)
Definition: IdlHandler.cc:29
static int idlTypeOf(gcp::util::DataType::Type dataType)
Definition: IdlHandler.cc:97
Definition: IdlHandler.h:35
void addDataMember(std::string name, gcp::util::MonitorDataType &dataType, unsigned len=1)
Definition: IdlHandler.cc:236
IdlHandler(IDL_VPTR vptr)
Definition: IdlHandler.cc:18
Definition: IdlHandler.h:155