7 #ifndef _DDL_STREAM_H_INCLUDED_
8 #define _DDL_STREAM_H_INCLUDED_
12 class cDDLStreamStruct;
47 int const nCreationLevel = 4);
79 int const nCreationLevel = 4);
188 double m_fLanguageVersion;
A common result class usable as return value throughout.
static const _myType Empty
Internally used empty string.
Abstract base class/interface for Visitor design-pattern.
Representation for a complex datatype inside a DDL specification.
The abstract helper class for representation classes for DDL descriptions.
Representation of a stream inside a DDL description.
const A_UTILS_NS::cString & GetName() const
Getter for the name.
void AddStruct(cDDLStreamStruct *poStruct)
Adder for a struct.
tResult Create(cDDLComplex *poType, const A_UTILS_NS::cString &strName=A_UTILS_NS::cString::Empty, const A_UTILS_NS::cString &strDescription=A_UTILS_NS::cString::Empty, tDDLStreamStructVec vecStructs=tDDLStreamStructVec(), int const nCreationLevel=4)
Creation method to fill the object with data.
void SetType(cDDLComplex *const pType)
Setter for the object of the complex data type.
A_UTILS_NS::cString GetDescription() const
Getter for the description.
double GetDDLVersion() const
Getter for the DDL version.
bool IsInitialized() const
Getter for the initialization flag.
tResult SetDDLVersion(double const fLanguageVersion)
Setter for the DDL version.
virtual ~cDDLStream()
DTOR.
cDDLComplex * GetTypeObject() const
Getter for the complex data-type object.
int GetCreationLevel() const
Getter for the creation level.
void CloneStructs(tDDLStreamStructVec vecStructs)
Setter for the contained structs.
cDDLStream(cDDLComplex *poType, const A_UTILS_NS::cString &strName=A_UTILS_NS::cString::Empty, const A_UTILS_NS::cString &strDescription=A_UTILS_NS::cString::Empty, tDDLStreamStructVec vecStructs=tDDLStreamStructVec(), int const nCreationLevel=4)
CTOR.
A_UTILS_NS::cString GetType() const
Getter for the name of the complex data type.
tDDLStreamStructVec & GetStructs()
Getter for the contained structs.
tResult RemoveStruct(const A_UTILS_NS::cString &strStructName)
removal for a struct item.
void SetDescription(const A_UTILS_NS::cString &strDescription)
Setter for the description.
tResult Accept(IDDLVisitor *poVisitor)
Acceptance method for Visitor design-pattern.
void SetName(const A_UTILS_NS::cString &strName)
Setter for the name.
const tDDLStreamStructVec & GetStructs() const
Getter for the contained structs.
cDDLStream()
Default CTOR.
void RefStructs(tDDLStreamStructVec vecStructs)
Setter for the contained structs.
cDDLStream(cDDLStream &oStream)
Copy CTOR.
Decorator class for cDDLComplex to be used inside cDDLStream objects.
Namespace for the mainpage_pkg_ddl.
std::vector< cDDLStreamStruct * > tDDLStreamStructVec
Container type of cDDLStreamStruct objects.
tDDLStreamStructVec::iterator tDDLStreamStructIt
Iterator type for tDDLStreamStructVec.