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