7 #ifndef _DDLCOMPLEX_H_INCLUDED_
8 #define _DDLCOMPLEX_H_INCLUDED_
55 unsigned int const uiVersion,
59 int const nCreationLevel = 1,
104 unsigned int const uiVersion,
108 int const nCreationLevel = 1);
214 unsigned int m_uiVersion;
A common result class usable as return value throughout.
Common interface for DDL datatypes.
Abstract base class/interface for Visitor design-pattern.
Abstract wrapper class for the alignment enumeration.
Representation for a complex datatype inside a DDL specification.
void CloneElements(tDDLElementVec vecDDLElements)
Setter for the element vector.
const A_UTILS_NS::cString & GetName() const
Getter for the name of the representation object.
cDDLAlignment::tAlignment GetAlignment() const
Getter for the alignment of the complex datatype.
tResult RemoveElement(const A_UTILS_NS::cString &strElementName)
removal for an element.
double m_fLanguageVersion
The DDL Version this structure was created in.
void SetAlignment(cDDLAlignment::tAlignment const eAlignment)
Setter for the alignment.
void RefElements(tDDLElementVec vecDDLElements)
Setter for the element vector.
unsigned int GetVersion() const
Getter for the version.
A_UTILS_NS::cString GetComment() const
Getter for the comment.
double GetDDLVersion() const
Getter for the DDL version.
const tDDLElementVec & GetElements() const
Getter for the elements.
bool IsInitialized() const
Getter for the initialization flag.
tResult SetDDLVersion(double const fLanguageVersion)
Setter for the DDL version.
int GetCreationLevel() const
Getter for the creation level.
void SetVersion(unsigned int const uiVersion)
Setter for the version.
bool IsPredefined() const
Getter for the predefinition flag.
void SetComment(const A_UTILS_NS::cString &strComment)
Setter for the comment.
tResult Create(const A_UTILS_NS::cString &strName, unsigned int const uiVersion, const A_UTILS_NS::cString &strComment=A_UTILS_NS::cString::Empty, cDDLAlignment::tAlignment const eAlignment=cDDLAlignment::e1, tDDLElementVec vecDDLElements=tDDLElementVec(), int const nCreationLevel=1)
Creation method to fill the object with data.
tResult Accept(IDDLVisitor *poVisitor)
Acceptance method for Visitor design-pattern.
void SetName(const A_UTILS_NS::cString &strName)
Setter for the name of the complex datatype.
bool IsOverwriteable() const
Getter for the predefinition flag.
void AddElement(cDDLElement *poElement, int nPos=-1)
Adder for an element.
Representation of an element inside a struct in DDL a description.
ADTF A_UTIL Namespace - Within adtf this is used as adtf::util or adtf_util.
string_base< cStackString > cString
cString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAUL...
Namespace for the mainpage_pkg_ddl.
tDDLElementVec::iterator tDDLElementIt
Iterator type for tDDLElementVec.
std::vector< cDDLElement * > tDDLElementVec
Container type of cDDLElement objects.
tDDLElementVec::const_iterator tDDLElementItConst
Constant-iterator type for tDDLElementVec.
datamodel::StructType StructType
Reuse of datamodel structtype class - ddl::dd::datamodel::StructType.
definition of the ddl namespace
Copyright © Audi Electronics Venture GmbH.
#define PKG_ADTF_DDL_DEPRECATED(_depr_message_)
Mark a function or variable as deprecated.