ADTF  3.18.4
cDDLAlignment

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

Public Types

enum  tAlignment {
  e0 = 1 , e1 = 1 , e2 = 2 , e4 = 4 ,
  e8 = 8 , e16 = 16 , e32 = 32 , e64 = 64 ,
  eInvalid = 255
}
 Representation of the alignment enumeration. More...
 

Static Public Member Functions

static A_UTILS_NS::cString ToString (tAlignment const eAlignment)
 Converts the given alignment to a string. More...
 
static tAlignment FromString (const A_UTILS_NS::cString &strAlignment)
 Extracts the alignment out of a given string. More...
 

Detailed Description

Abstract wrapper class for the alignment enumeration.

Definition at line 15 of file ddlalignment.h.

Member Enumeration Documentation

◆ tAlignment

enum tAlignment

Representation of the alignment enumeration.

Enumerator
e0 

for backward compatibility

e1 

Default alignment.

Definition at line 21 of file ddlalignment.h.

Member Function Documentation

◆ FromString()

static tAlignment FromString ( const A_UTILS_NS::cString strAlignment)
static

Extracts the alignment out of a given string.

Parameters
[in]strAlignment- String containing the alignment
Returns
the extracted alignment

◆ ToString()

static A_UTILS_NS::cString ToString ( tAlignment const  eAlignment)
static

Converts the given alignment to a string.

Parameters
[in]eAlignment- The alignment to convert
Returns
the alignment as string