Alignment Conversion utility.
More...
#include <dd_common_types.h>
Alignment Conversion utility.
◆ fromString()
| static Alignment ddl::dd::AlignmentConversion::fromString |
( |
const std::string & | alignment, |
|
|
const Alignment & | default_val = Alignment::e_invalid ) |
|
static |
convert a string to an alignment.
- Parameters
-
| alignment | the alignment string |
| default_val | if not set or invalid, the default alignment to return. |
- Returns
- Alignment
◆ toString()
| static std::string ddl::dd::AlignmentConversion::toString |
( |
Alignment | alignment | ) |
|
|
static |
convert alignment to a string.
- Parameters
-
| alignment | the alignment to convert |
- Returns
- std::string
The documentation for this class was generated from the following file: