ADTF
|
Implementation of IDDLFactorMethod for cloning of DDL representations. More...
Public Member Functions | |
cDDLCloner () | |
Default CTOR. | |
cDDLDescription * | GetDDL () const |
Getter for the DDL object. More... | |
tResult | CreateNew (double fVersion=0) |
Method to build up a new DDL hierarchy. More... | |
void | DestroyDDL () |
Method to destroy the DDL object and all contained objects. | |
tResult | BuildHeader () |
Method to build a header object. More... | |
tResult | BuildUnits () |
Method to build a units object hierarchy. More... | |
tResult | BuildDatatypes () |
Method to build a datatypes object hierarchy. More... | |
tResult | BuildEnums () |
Method to build a enums object hierarchy. More... | |
tResult | BuildStructs () |
Method to build a structs object hierarchy. More... | |
tResult | BuildStreams () |
Method to build a streams object hierarchy. More... | |
tResult | BuildStreamMetaTypes () |
Method to build a streams object hierarchy. More... | |
tResult | SetOriginal (const cDDLDescription *poOriginal) |
Setter method for the original DDL object. More... | |
![]() | |
virtual | ~IDDLFactoryMethod () |
DTOR. | |
Private Attributes | |
cDDLDescription * | m_poDDL |
const cDDLDescription * | m_poOriginal |
Implementation of IDDLFactorMethod for cloning of DDL representations.
Definition at line 15 of file ddlcloner.h.
|
virtual |
Method to build a datatypes object hierarchy.
ERR_UNKNOWN_FORMAT | Expected XML hierarchy not found |
ERR_NO_CLASS | Cross reference not resolvable (e.g. unit) |
Implements IDDLFactoryMethod.
|
virtual |
Method to build a enums object hierarchy.
ERR_UNKNOWN_FORMAT | Expected XML hierarchy not found |
ERR_NO_CLASS | Cross reference not resolvable (e.g. RefEnums) |
ERR_UNKNOWN | Not all firstly unknown structs have been resolved |
Implements IDDLFactoryMethod.
|
virtual |
Method to build a header object.
ERR_UNKNOWN_FORMAT | Expected XML hierarchy not found |
Implements IDDLFactoryMethod.
|
virtual |
Method to build a streams object hierarchy.
ERR_UNKNOWN_FORMAT | Expected XML hierarchy not found |
ERR_NO_CLASS | Cross reference not resolvable (e.g. struct) |
Implements IDDLFactoryMethod.
|
virtual |
Method to build a streams object hierarchy.
ERR_UNKNOWN_FORMAT | Expected XML hierarchy not found |
ERR_NO_CLASS | Cross reference not resolvable (e.g. struct) |
Implements IDDLFactoryMethod.
|
virtual |
Method to build a structs object hierarchy.
ERR_UNKNOWN_FORMAT | Expected XML hierarchy not found |
ERR_NO_CLASS | Cross reference not resolvable (e.g. datatype) |
ERR_UNKNOWN | Not all firstly unknown structs have been resolved |
Implements IDDLFactoryMethod.
|
virtual |
Method to build a units object hierarchy.
ERR_UNKNOWN_FORMAT | Expected XML hierarchy not found |
ERR_NO_CLASS | Cross reference not resolvable (e.g. refUnit) |
ERR_UNKNOWN | Not all firstly unknown units have been resolved |
Implements IDDLFactoryMethod.
|
virtual |
Method to build up a new DDL hierarchy.
[in] | fVersion | The version of the DDL hierarchy to be created. 0 Means newest version. |
ERR_NOT_INITIALIZED | Not yet initialized (see setter methods in concrete classes, e.g. cDDLImporter::SetFile() ) |
ERR_UNKNOWN_FORMAT | Expected XML hierarchy not found |
ERR_NO_CLASS | Cross reference not resolvable (e.g. refUnit) |
ERR_UNKNOWN | Cross reference has not been resolved |
ERR_NOT_FOUND | At least one mandatory element (e.g. header) was not found. |
Implements IDDLFactoryMethod.
|
virtual |
Getter for the DDL object.
Implements IDDLFactoryMethod.
tResult SetOriginal | ( | const cDDLDescription * | poOriginal | ) |
Setter method for the original DDL object.
[in] | poOriginal | - Pointer to the DDL object |
ERR_POINTER | Null-pointer committed |