ADTF  3.18.2
ddlrepair.h
Go to the documentation of this file.
1 
7 #ifndef _DDL_REPAIR_H_INCLUDED_
8 #define _DDL_REPAIR_H_INCLUDED_
9 
10 namespace adtf_ddl
11 {
16  class cDDLRepair : public IDDLVisitor
17  {
18  public:
23 
24  tResult VisitDDL(cDDLDescription* poDescription);
25  tResult Visit(cDDLHeader* poHeader);
26  tResult Visit(cDDLDataType* poDataType);
27  tResult Visit(cDDLComplex* poComplex);
28  tResult Visit(cDDLStream* poStream);
30  tResult Visit(cDDLBaseunit* poBaseunit);
31  tResult Visit(cDDLExtDeclaration* poExtDeclaration);
32  tResult Visit(cDDLElement* poElement);
33  tResult Visit(cDDLPrefix* poPrefix);
34  tResult Visit(cDDLRefUnit* poRefUnit);
35  tResult Visit(cDDLStreamStruct* poStreamStruct);
37  tResult Visit(cDDLStreamMetaType* poStreamMetaType);
38  tResult Visit(cDDLProperty* poProperty);
39 
40  private:
41  cDDLDescription* m_poRefDDL;
42  };
43 
44 } // namespace adtf_ddl
45 
46 #endif // _DDL_REPAIR_H_INCLUDED_
Abstract base class/interface for Visitor design-pattern.
Representation of a base unit inside a DDL description.
Definition: ddlbaseunit.h:16
Representation for a complex datatype inside a DDL specification.
Definition: ddlcomplex.h:35
Representation for a (simple) data type inside a DDL description.
Definition: ddldatatype.h:19
Main class representing a whole DDL description.
Representation of an element inside a struct in DDL a description.
Definition: ddlelement.h:19
Representation for an enum inside a DDL description.
Definition: ddlenum.h:20
Representation of an external declaration inside the header of a DDL description.
Representation of the header of a DDL description.
Definition: ddlheader.h:28
Representation of a prefix in a DDL description.
Definition: ddlprefix.h:17
Representation of a stream inside a DDL description.
Definition: ddlproperty.h:16
Decorator class for IDDLUnit objects to be used inside other cDDLUnit objects.
Definition: ddlrefunit.h:18
Implementation of IDDLVisitor that will repair and update references after deleting.
Definition: ddlrepair.h:17
cDDLRepair()
Default CTOR.
tResult Visit(cDDLUnit *poUnit)
Visitor for DDL unit objects.
tResult Visit(cDDLRefUnit *poRefUnit)
Visitor for DDL reference unit objects.
tResult Visit(cDDLElement *poElement)
Visitor for DDL element objects.
tResult Visit(cDDLComplex *poComplex)
Visitor for DDL struct objects.
tResult Visit(cDDLExtDeclaration *poExtDeclaration)
Visitor for external DDL declaration objects.
tResult Visit(cDDLDataType *poDataType)
Visitor for DDL datatype objects.
tResult Visit(cDDLStreamStruct *poStreamStruct)
Visitor for DDL streamstruct objects.
tResult VisitDDL(cDDLDescription *poDescription)
Visitor for a whole DDL description.
tResult Visit(cDDLBaseunit *poBaseunit)
Visitor for DDL baseunit objects.
tResult Visit(cDDLProperty *poProperty)
Visitor for DDL property objects.
tResult Visit(cDDLStream *poStream)
Visitor for DDL stream objects.
tResult Visit(cDDLEnum *poEnum)
Visitor for DDL enum objects.
tResult Visit(cDDLHeader *poHeader)
Visitor for DDL header objects.
tResult Visit(cDDLPrefix *poPrefix)
Visitor for DDL prefix objects.
tResult Visit(cDDLStreamMetaType *poStreamMetaType)
Visitor for DDL stream meta type objects.
Representation of a stream inside a DDL description.
Definition: ddlstream.h:28
Representation of a stream inside a DDL description.
Decorator class for cDDLComplex to be used inside cDDLStream objects.
Representation object of a unit.
Definition: ddlunit.h:28
Namespace for the mainpage_pkg_ddl.