ADTF  3.18.2
ddlalignment.h
Go to the documentation of this file.
1 
7 #ifndef _DDLALIGNMENT_H_INCLUDED_
8 #define _DDLALIGNMENT_H_INCLUDED_
9 
10 namespace adtf_ddl
11 {
16  {
17  public:
21  typedef enum eDDLAlignment
22  {
23  e0 = 1,
24  e1 = 1,
25  e2 = 2,
26  e4 = 4,
27  e8 = 8,
28  e16 = 16,
29  e32 = 32,
30  e64 = 64,
31  eInvalid = 255
32  } tAlignment;
33 
39  static A_UTILS_NS::cString ToString(tAlignment const eAlignment);
40 
46  static tAlignment FromString(const A_UTILS_NS::cString& strAlignment);
47 
48  };
49 
50 } // namespace adtf_ddl
51 
52 #endif // _DDLALIGNMENT_H_INCLUDED_
Abstract wrapper class for the alignment enumeration.
Definition: ddlalignment.h:16
static tAlignment FromString(const A_UTILS_NS::cString &strAlignment)
Extracts the alignment out of a given string.
static A_UTILS_NS::cString ToString(tAlignment const eAlignment)
Converts the given alignment to a string.
tAlignment
Representation of the alignment enumeration.
Definition: ddlalignment.h:22
@ e0
for backward compatibility
Definition: ddlalignment.h:23
@ e1
Default alignment.
Definition: ddlalignment.h:24
Namespace for the mainpage_pkg_ddl.