8 #ifndef _DDL_INSPECTOR_H_INCLUDED_
9 #define _DDL_INSPECTOR_H_INCLUDED_
16 #define DDL_MAX_DESC_HIERARCHY 100
125 size_t const szElementSize);
158 int nStructDepth = 1);
226 bool m_bHasDynamicArrays;
231 unsigned int nLastBytePosReal;
232 unsigned int nLastBytePos;
236 std::map<cDDLComplex*, tStructInfo> m_mapStructInfos;
A common result class usable as return value throughout.
Abstract base class/interface for Visitor design-pattern.
Representation of a base unit inside a DDL description.
Representation for a complex datatype inside a DDL specification.
Representation for a (simple) data type inside a DDL description.
Main class representing a whole DDL description.
Representation of an element inside a struct in DDL a description.
Representation for an enum inside a DDL description.
Representation of an external declaration inside the header of a DDL description.
Validation and correction class for ADTF DDL for use with the.
A_UTILS_NS::cStringList m_strLstEnumsValues
The list contains all names of the enum values.
A_UTILS_NS::cStringList m_strLstBaseunitName
The list contains all names of the base unit names.
A_UTILS_NS::cStringList m_strLstStreamsName
The list contains all names of the streams.
unsigned int GetLastBytePosOfAStructReal(const A_UTILS_NS::cString &strStructName)
Returns the actual last Bytepos inclusive the last Element size.
A_UTILS_NS::cStringList m_strLstPrefixName
The list contains all names of the prefixes.
A_UTILS_NS::cStringList m_strLstUnitName
The list contains all names of the unit names.
unsigned int GetLastBytePosOfAStructCorrected(const A_UTILS_NS::cString &strStructName)
Returns the last corrected Bytepos position inclusive the last Element size.
virtual tResult VisitDDL(cDDLDescription *poDescription)
Visitor for a whole DDL description.
A_UTILS_NS::cString GetLastErrorDesc() const
Getter for the most recent error description.
void SetAutoCorrect(bool bAutoCorrect)
Setter for the auto-correction flag.
bool GetAutoCorrect() const
Getter for the auto-correction flag.
static bool LessDDL(const A_UTILS_NS::cString &strLHS, const A_UTILS_NS::cString &strRHS, const cDDLDataType *poType)
Helper method which returns whether the left-hand-side argument compares less than the right-hand-sid...
tImporterMsgList GetSuggestions() const
Getter for the list of suggestions.
A_UTILS_NS::cStringList m_strLstEnumsName
The list contains all names of the enum.
tResult AddSuggestion(A_UTILS_NS::cString const &strDesc, tImporterMsgSeverity const eSeverity)
Method for derived classes to add an own suggestion.
tImporterMsgList m_lstSuggestions
The list contains all warnings and errors.
A_UTILS_NS::cStringList m_strLstComplexName
The list contains all names of the structs.
virtual bool IsAlignable(size_t const posBytePos, size_t const szElementSize)
Helper method to check if the element is alignable.
void InitNewCheck()
Init a new Check, clear all list and init all variables.
static tImporterMsgList CheckValidyOfNestedStructs(const cDDLDescription *poDescription)
Check the validy of nested structs.
virtual tResult Visit(cDDLHeader *poHeader)
Visitor for DDL header objects.
A_UTILS_NS::cStringList m_strLstDataTypesName
The list contains all names of the data types.
Representation of a prefix in a DDL description.
Representation of a stream inside a DDL description.
Decorator class for IDDLUnit objects to be used inside other cDDLUnit objects.
Representation of a stream inside a DDL description.
Decorator class for cDDLComplex to be used inside cDDLStream objects.
Representation object of a unit.
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.
std::list< tImporterMsg > tImporterMsgList
Container for error descriptions.
tImporterMsgSeverity
enumeration type for message severity
Copyright © Audi Electronics Venture GmbH.
#define PKG_ADTF_DDL_DEPRECATED(_depr_message_)
Mark a function or variable as deprecated.