7 #ifndef _DDLDATATYPE_H_INCLUDED_
8 #define _DDLDATATYPE_H_INCLUDED_
45 unsigned int const uiSize,
49 unsigned int const uiArraysize = 1,
50 int const nCreationLevel = 1,
52 bool const bMinValid = false,
54 bool const bMaxValid = false,
103 unsigned int const uiNumBits,
107 unsigned int const uiArraysize = 1,
108 int const nCreationLevel = 1,
110 bool const bMinValid = false,
112 bool const bMaxValid = false,
298 void UpdateSizesAndPositions();
304 unsigned int m_uiNumBits;
306 size_t m_szAlignedSize;
309 unsigned int m_uiArraysize;
320 bool m_bDefaultValid;
A common result class usable as return value throughout.
Common interface for DDL datatypes.
Interface for unit classes of the object representation for DDL descriptions.
Abstract base class/interface for Visitor design-pattern.
Abstract wrapper class for the alignment enumeration.
Representation for a (simple) data type inside a DDL description.
const A_UTILS_NS::cString & GetName() const
Getter for the name of the representation object.
tResult Create(const A_UTILS_NS::cString &strName, unsigned int const uiNumBits, IDDLUnit *poUnit, const A_UTILS_NS::cString &strDescription=A_UTILS_NS::cString::Empty, cDDLAlignment::tAlignment const eAlignment=cDDLAlignment::e1, unsigned int const uiArraysize=1, int const nCreationLevel=1, const A_UTILS_NS::cString &strArraySizeSource=A_UTILS_NS::cString::Empty, bool const bMinValid=false, const A_UTILS_NS::cString &strMinVal=A_UTILS_NS::cString::Empty, bool const bMaxValid=false, const A_UTILS_NS::cString &strMaxVal=A_UTILS_NS::cString::Empty)
Creation method to fill the object with data.
tResult SetMaxValue(const A_UTILS_NS::cString &strMaxVal)
Setter for the maximum value of the data type.
void SetArraySizeSource(const A_UTILS_NS::cString &strArraySizeSource)
Setter for the array size source.
cDDLAlignment::tAlignment GetAlignment() const
Getter for the alignment of the primitive data type.
A_UTILS_NS::cString GetUnit() const
Getter for the unit name.
void SetMinValidity(bool const bMinValid)
Setter for the validity flag for the minimum value.
double m_fLanguageVersion
The DDL Version this structure was created in.
void SetAlignment(cDDLAlignment::tAlignment const eAlignment)
Setter for the alignment.
A_UTILS_NS::cString GetDescription() const
Getter for the description.
void SetNumBits(unsigned int const uiNumBits)
Setter for the size of the primitive data type.
void SetArraysize(unsigned int const uiArraysize)
Setter for the array size.
double GetDDLVersion() const
Getter for the DDL version.
void SetUnit(IDDLUnit *poUnit)
Setter for the unit.
bool IsInitialized() const
Getter for the initialization flag.
tResult SetDDLVersion(double const fLanguageVersion)
Setter for the DDL version.
unsigned int GetNumBits() const
Getter for the size of the primitive data type.
int GetCreationLevel() const
Getter for the creation level.
unsigned int GetArraysize() const
Getter for the array size.
tResult SetMinValue(const A_UTILS_NS::cString &strMinVal)
Setter for the minimum value of the data type.
void SetMaxValidity(bool const bMaxValid)
Setter for the validity flag for the maximum value.
const A_UTILS_NS::cString & GetMinValue() const
Getter for the minimum value of the data type.
const A_UTILS_NS::cString & GetMaxValue() const
Getter for the maximum value of the data type.
const IDDLUnit * GetUnitObject() const
Getter for the unit object.
bool IsPredefined() const
Getter for the predefinition flag.
bool IsMinValid() const
Getter for the validity flag for the minimum value.
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 of the data type.
bool IsDynamic() const
Checks if element is dynamic.
bool IsOverwriteable() const
Getter for the predefinition flag.
bool IsMaxValid() const
Getter for the validity flag for the maximum value.
A_UTILS_NS::cString GetArraySizeSource() const
Getter for the array size source.
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.
datamodel::DataType DataType
Reuse of datamodel datatype class - ddl::dd::datamodel::DataType.
definition of the ddl namespace
Copyright © Audi Electronics Venture GmbH.
#define PKG_ADTF_DDL_DEPRECATED(_depr_message_)
Mark a function or variable as deprecated.