ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
IDDLVisitorabstract

Abstract base class/interface for Visitor design-pattern. More...

#include <ddlvisitor_intf.h>

Inheritance diagram for IDDLVisitor:
[legend]

Public Member Functions

virtual ~IDDLVisitor ()
 DTOR.
 
virtual tResult VisitDDL (cDDLDescription *poDescription)=0
 Visitor for a whole DDL description.
 
virtual tResult Visit (cDDLHeader *poHeader)=0
 Visitor for DDL header objects.
 
virtual tResult Visit (cDDLDataType *poDataType)=0
 Visitor for DDL datatype objects.
 
virtual tResult Visit (cDDLComplex *poStruct)=0
 Visitor for DDL struct objects.
 
virtual tResult Visit (cDDLStream *poStream)=0
 Visitor for DDL stream objects.
 
virtual tResult Visit (cDDLUnit *poUnit)=0
 Visitor for DDL unit objects.
 
virtual tResult Visit (cDDLBaseunit *poBaseunit)=0
 Visitor for DDL baseunit objects.
 
virtual tResult Visit (cDDLExtDeclaration *poExtDeclaration)=0
 Visitor for external DDL declaration objects.
 
virtual tResult Visit (cDDLElement *poElement)=0
 Visitor for DDL element objects.
 
virtual tResult Visit (cDDLPrefix *poPrefix)=0
 Visitor for DDL prefix objects.
 
virtual tResult Visit (cDDLRefUnit *poRefUnit)=0
 Visitor for DDL reference unit objects.
 
virtual tResult Visit (cDDLStreamStruct *poStreamStruct)=0
 Visitor for DDL streamstruct objects.
 
virtual tResult Visit (cDDLEnum *poEnum)=0
 Visitor for DDL enum objects.
 
virtual tResult Visit (cDDLStreamMetaType *poStreamMetaType)=0
 Visitor for DDL stream meta type objects.
 
virtual tResult Visit (cDDLProperty *poProperty)=0
 Visitor for DDL property objects.
 

Detailed Description

Abstract base class/interface for Visitor design-pattern.

Definition at line 31 of file ddlvisitor_intf.h.

Constructor & Destructor Documentation

◆ ~IDDLVisitor()

virtual ~IDDLVisitor ( )
inlinevirtual

DTOR.

Definition at line 37 of file ddlvisitor_intf.h.

Member Function Documentation

◆ Visit() [1/14]

virtual tResult Visit ( cDDLBaseunit * poBaseunit)
pure virtual

Visitor for DDL baseunit objects.

Parameters
[in]poBaseunit- Pointer to the baseunit object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [2/14]

virtual tResult Visit ( cDDLComplex * poStruct)
pure virtual

Visitor for DDL struct objects.

Parameters
[in]poStruct- Pointer to the struct object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [3/14]

virtual tResult Visit ( cDDLDataType * poDataType)
pure virtual

Visitor for DDL datatype objects.

Parameters
[in]poDataType- Pointer to the datatype object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.
ERR_NOT_SUPPORTEDData type detected which is not supported.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [4/14]

virtual tResult Visit ( cDDLElement * poElement)
pure virtual

Visitor for DDL element objects.

Parameters
[in]poElement- Pointer to the element object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [5/14]

virtual tResult Visit ( cDDLEnum * poEnum)
pure virtual

Visitor for DDL enum objects.

Parameters
[in]poEnum- Pointer to the enum object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [6/14]

virtual tResult Visit ( cDDLExtDeclaration * poExtDeclaration)
pure virtual

Visitor for external DDL declaration objects.

Parameters
[in]poExtDeclaration- Pointer to the extdeclaration object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [7/14]

virtual tResult Visit ( cDDLHeader * poHeader)
pure virtual

Visitor for DDL header objects.

Parameters
[in]poHeader- Pointer to the header object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [8/14]

virtual tResult Visit ( cDDLPrefix * poPrefix)
pure virtual

Visitor for DDL prefix objects.

Parameters
[in]poPrefix- Pointer to the prefix object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [9/14]

virtual tResult Visit ( cDDLProperty * poProperty)
pure virtual

Visitor for DDL property objects.

Parameters
[in]poProperty- Pointer to the object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [10/14]

virtual tResult Visit ( cDDLRefUnit * poRefUnit)
pure virtual

Visitor for DDL reference unit objects.

Parameters
[in]poRefUnit- Pointer to the refunit object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [11/14]

virtual tResult Visit ( cDDLStream * poStream)
pure virtual

Visitor for DDL stream objects.

Parameters
[in]poStream- Pointer to the stream object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [12/14]

virtual tResult Visit ( cDDLStreamMetaType * poStreamMetaType)
pure virtual

Visitor for DDL stream meta type objects.

Parameters
[in]poStreamMetaType- Pointer to the object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [13/14]

virtual tResult Visit ( cDDLStreamStruct * poStreamStruct)
pure virtual

Visitor for DDL streamstruct objects.

Parameters
[in]poStreamStruct- Pointer to the streamstruct object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ Visit() [14/14]

virtual tResult Visit ( cDDLUnit * poUnit)
pure virtual

Visitor for DDL unit objects.

Parameters
[in]poUnit- Pointer to the unit object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.

◆ VisitDDL()

virtual tResult VisitDDL ( cDDLDescription * poDescription)
pure virtual

Visitor for a whole DDL description.

Parameters
[in]poDescription- Pointer to the description object
Return values
ERR_POINTERNull-pointer committed
ERR_NOT_FOUNDRequired node not found.
ERR_NOT_INITIALIZEDNot yet initialized

Implemented in cDDLInspector, cDDLPrinter, cDDLRepair, and cDDLResolver.