CDPValueTypeConverter Class
(CDP::StudioAPI::CDPValueTypeConverter)The CDPValueTypeConverter is CDPValueType converter class. More...
Header: | #include <StudioAPI/CDPValueType.h> |
Static Public Members
CDPValueType | ConvertToValueType() |
CDPValueType | FromString(const std::string &type) |
std::string | ToString(CDPValueType type) |
Detailed Description
The CDPValueTypeConverter is CDPValueType converter class.
The class makes it possible to convert CDPValueType enum to string name of C++ value type.
Member Function Documentation
[static]
CDPValueType CDPValueTypeConverter::ConvertToValueType()
Returns CDP::StudioAPI::CDPValueType containing the calling type.
CDPValueType t = CDPValueTypeConverter::ConvertToValueType<int>();
[static]
CDPValueType CDPValueTypeConverter::FromString(const std::string &type)
Returns the CDPValueType matching the type string. Opposite of CDPValueTypeConverter::ToString(). The eUNDEFINED is returned when no value type matches the type string.
[static]
std::string CDPValueTypeConverter::ToString(CDPValueType type)
Returns name of the value type as string. "undefined" is returned when no value type has been set.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.