ADTF  3.18.2
ddlcloner.h
Go to the documentation of this file.
1 
7 #ifndef _DDL_CLONER_H_INCLUDED_
8 #define _DDL_CLONER_H_INCLUDED_
9 
10 namespace adtf_ddl
11 {
16  {
17  public:
22 
23  public: // implements IDDLFactoryMethod
24 
25  virtual ~cDDLCloner();
26 
28 
29  tResult CreateNew(double fVersion = 0);
30 
31  void DestroyDDL();
32 
34 
36 
38 
40 
42 
44 
46  public:
52  tResult SetOriginal(const cDDLDescription* poOriginal);
53 
54  private: // members
55  cDDLDescription* m_poDDL;
56  const cDDLDescription* m_poOriginal;
57  };
58 } // namespace adtf_ddl
59 
60 #endif // _DDL_CLONER_H_INCLUDED_
Abstract base class/interface for Factory Method design-pattern.
Implementation of IDDLFactorMethod for cloning of DDL representations.
Definition: ddlcloner.h:16
tResult BuildStreams()
Method to build a streams object hierarchy.
tResult BuildStructs()
Method to build a structs object hierarchy.
void DestroyDDL()
Method to destroy the DDL object and all contained objects.
cDDLCloner()
Default CTOR.
tResult BuildHeader()
Method to build a header object.
tResult SetOriginal(const cDDLDescription *poOriginal)
Setter method for the original DDL object.
cDDLDescription * GetDDL() const
Getter for the DDL object.
tResult CreateNew(double fVersion=0)
Method to build up a new DDL hierarchy.
tResult BuildStreamMetaTypes()
Method to build a streams object hierarchy.
tResult BuildEnums()
Method to build a enums object hierarchy.
tResult BuildDatatypes()
Method to build a datatypes object hierarchy.
tResult BuildUnits()
Method to build a units object hierarchy.
Main class representing a whole DDL description.
Namespace for the mainpage_pkg_ddl.