|
SHAPER
9.15.0
|
Utilities class to convert types. More...
Static Public Member Functions | |
| static std::string | intToString (int value) |
| Converts an integer into a string. More... | |
| static int | stringToInt (const std::string &value) |
| Converts a string into an integer. More... | |
| static std::string | doubleToString (double value) |
| Converts a double into a string. More... | |
| static double | stringToDouble (const std::string &value) |
| Converts a string into a double. More... | |
| static std::string | booleanToString (bool value) |
| Converts a boolean into a string. More... | |
| static bool | stringToBoolean (const std::string &value) |
| Converts a string into a boolean. More... | |
| static std::string | dimensionToString (XAO::Dimension dimension) |
| Converts a Dimension to string. More... | |
| static XAO::Dimension | stringToDimension (const std::string &dimension) |
| Converts a string into a Dimension. More... | |
| static std::string | fieldTypeToString (XAO::Type type) |
| Converts a Type to string. More... | |
| static XAO::Type | stringToFieldType (const std::string &type) |
| Converts a string into a Type. More... | |
| static std::string | shapeFormatToString (XAO::Format format) |
| Converts a Format to string. More... | |
| static XAO::Format | stringToShapeFormat (const std::string &format) |
| Converts a string into a Format. More... | |
Utilities class to convert types.
|
static |
Converts an integer into a string.
| value | the integer to convert. |
|
static |
Converts a string into an integer.
| value | the string to convert. |
| XAO_Exception | if value cannot be converted to string. |
|
static |
Converts a double into a string.
| value | the double to convert. |
|
static |
Converts a string into a double.
| value | the string to convert. |
| XAO_Exception | if value cannot be converted to string. |
|
static |
Converts a boolean into a string.
| value | the boolean to convert. |
|
static |
Converts a string into a boolean.
| value | the string to convert. |
| XAO_Exception | if value cannot be converted to boolean. |
|
static |
Converts a Dimension to string.
| dimension | the Dimension to convert. |
| XAO_Exception |
|
static |
Converts a string into a Dimension.
| dimension | the dimension as a string. |
| XAO_Exception | if dimension cannot be converted. |
|
static |
Converts a Type to string.
| type | the Type to convert. |
| XAO_Exception |
|
static |
Converts a string into a Type.
| type | the Type as a string. |
| XAO_Exception | if type cannot be converted. |
|
static |
Converts a Format to string.
| format | the Format to convert. |
| XAO_Exception |
|
static |
Converts a string into a Format.
| format | the Format as a string. |
| XAO_Exception | if format cannot be converted. |