7 #ifndef _DDL_RESOLVER_H_INCLUDED_
8 #define _DDL_RESOLVER_H_INCLUDED_
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.
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.
Implementation of IDDLVisitor for resolving of a specified unit, datatype, struct,...
void SetTargetName(const A_UTILS_NS::cString &strName)
Setter for the name of the target to resolve.
tResult CreateBase(cDDLDescription *poDescription)
Create the base items.
std::stack< A_UTILS_NS::cDOMElement * > m_stackParents
stack of parents
std::set< A_UTILS_NS::cString > m_setResolvedTypes
set of the resolved types
A_UTILS_NS::cDOMElement * m_pUnits
DOM-Element of type Unit.
tResult VisitDDL(cDDLDescription *poDescription)
Visitor for a whole DDL description.
A_UTILS_NS::cDOMElement * m_pStructs
DOM-Element of type Struct.
A_UTILS_NS::cDOMElement * m_pDataTypes
DOM-Element of type DataType.
A_UTILS_NS::cString GetResolvedXML() const
Getter for a minimalistic DDL which only resolves the specified DDL object.
double m_fVersion
DDL version (needed for some conversions for compatibility with DDL1.0)
A_UTILS_NS::cString m_strTarget
Name of the resolving target.
A_UTILS_NS::cDOM m_oDOM
Internal DOM for XML handling.
tResult Visit(cDDLHeader *poHeader)
Visitor for DDL header objects.
A_UTILS_NS::cDOMElement * m_pStreams
DOM-Element of type Stream.
A_UTILS_NS::cDOMElement * m_pEnums
DOM-Element of type Enum.
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...
bool set(void *dest, std::size_t dest_size, std::uint8_t value, std::size_t bytes_to_set)
Portable safe memset.
Namespace for the mainpage_pkg_ddl.
std::string toXMLString(const DataDefinition &dd)
creates a XML from the DD datamodel.
definition of the ddl namespace
Copyright © Audi Electronics Venture GmbH.
#define PKG_ADTF_DDL_DEPRECATED(_depr_message_)
Mark a function or variable as deprecated.