ADTF  3.18.2
cDDLByteorder

Abstract wrapper class for the byteorder enumeration. More...

Inheritance diagram for cDDLByteorder:
[legend]

Public Types

enum  tByteorder { eNOE = 0 , eLE = PLATFORM_LITTLE_ENDIAN_8 , eBE = PLATFORM_BIG_ENDIAN_8 }
 Representation of the byteorder enumeration.
 
- Public Types inherited from IDDL
enum  tag_MergeFlags { DDLMERGE_ForceOverwrite = 0x01 }
 Flags for Merging.
 

Static Public Member Functions

static A_UTILS_NS::cString ToString (tByteorder const eByteorder)
 Converts the given byteorder enumeration to a string. More...
 
static tByteorder FromString (const A_UTILS_NS::cString &strByteorder)
 Extracts the byteorder out of the given string. More...
 
- Static Public Member Functions inherited from cDDL
template<typename T >
static T * DeleteChild (T *pvObj)
 Functor for use with std::transform() to delete all objects where the elements of a vector point at. More...
 
template<typename T >
static tResult MoveChild (T *pvObj, const int nFrom, const int nTo)
 Method moves element within the list. More...
 
template<typename T >
static T * Clone (T *pvObj)
 Functor for use with std::transform() to clone the objects where the elements of a vector point at. More...
 
template<typename T >
static T * Ref (T *pvObj)
 Functor for use with std::transform() to ref the objects where the elements of a vector point at, this is for the Always_there. More...
 
static bool IsEqual (IDDL *poLHS, IDDL *poRHS)
 Predicate to compare 2 DDL representation objects (for use with std::unique()). More...
 
static bool IsSorted (IDDL *poLHS, IDDL *poRHS)
 Sort predicate to compare to 2 DDL representation objects (for use with std::sort()). More...
 

Additional Inherited Members

- Public Member Functions inherited from cDDL
virtual ~cDDL ()
 DTOR.
 
virtual bool IsInitialized () const
 Getter for the initialization flag. More...
 
virtual bool IsPredefined () const
 Getter for the predefinition flag. More...
 
virtual bool IsOverwriteable () const
 Getter for the predefinition flag. More...
 
virtual int GetCreationLevel () const
 Getter for the creation level. More...
 
- Public Member Functions inherited from IDDL
virtual ~IDDL ()
 Virtual DTOR.
 
virtual tResult Accept (IDDLVisitor *poVisitor)=0
 Acceptance method for Visitor design-pattern. More...
 
virtual const A_UTILS_NS::cStringGetName () const =0
 Getter for the name of the representation object. More...
 

Detailed Description

Abstract wrapper class for the byteorder enumeration.

Definition at line 15 of file ddlbyteorder.h.

Member Function Documentation

◆ FromString()

static tByteorder FromString ( const A_UTILS_NS::cString strByteorder)
static

Extracts the byteorder out of the given string.

Parameters
[in]strByteorder- String containing the byteorder
Returns
the extracted byteorder

◆ ToString()

static A_UTILS_NS::cString ToString ( tByteorder const  eByteorder)
static

Converts the given byteorder enumeration to a string.

Parameters
[in]eByteorder- Byteorder value to convert
Returns
the byteorder as string