Functions | |
OT_SERVICEFOUNDATION_API_EXPORT std::string | toString (ot::ItemCheckedState _flag) |
Will return a string representation of the provided flag. | |
OT_SERVICEFOUNDATION_API_EXPORT std::string | toString (ot::ItemFlag _flag) |
Will return a string representation of the provided flag. | |
OT_SERVICEFOUNDATION_API_EXPORT std::list< std::string > | toString (ItemCheckedStateFlags _flags) |
Will return a list with all flags that are set as a string. | |
OT_SERVICEFOUNDATION_API_EXPORT std::list< std::string > | toString (ItemFlags _flags) |
Will return a list with all flags that are set as a string. | |
OT_SERVICEFOUNDATION_API_EXPORT ot::ItemCheckedState | toItemCheckedState (const std::string &_flags) |
Will return a flags object containing all set flags that are provided in the list. | |
OT_SERVICEFOUNDATION_API_EXPORT ot::ItemFlag | toItemFlag (const std::string &_flags) |
Will return a flags object containing all set flags that are provided in the list. | |
OT_SERVICEFOUNDATION_API_EXPORT ItemCheckedStateFlags | toItemCheckedStateFlags (const std::list< std::string > &_flags) |
Will return a flags object containing all set flags that are provided in the list. | |
OT_SERVICEFOUNDATION_API_EXPORT ItemFlags | toItemFlags (const std::list< std::string > &_flags) |
Will return a flags object containing all set flags that are provided in the list. | |
template<class T > | |
T | toNumber (const std::string &_string, bool &_failed) |
Will convert and return the number specified in the string. | |
ot::ItemCheckedState ot::convert::toItemCheckedState | ( | const std::string & | _flags | ) |
Will return a flags object containing all set flags that are provided in the list.
_flags | The list containing all flags that should be set |
ot::ItemCheckedStateFlags ot::convert::toItemCheckedStateFlags | ( | const std::list< std::string > & | _flags | ) |
Will return a flags object containing all set flags that are provided in the list.
_flags | The list containing all flags that should be set |
ot::ItemFlag ot::convert::toItemFlag | ( | const std::string & | _flags | ) |
Will return a flags object containing all set flags that are provided in the list.
_flags | The list containing all flags that should be set |
ot::ItemFlags ot::convert::toItemFlags | ( | const std::list< std::string > & | _flags | ) |
Will return a flags object containing all set flags that are provided in the list.
_flags | The list containing all flags that should be set |
T ot::convert::toNumber | ( | const std::string & | _string, |
bool & | _failed ) |
Will convert and return the number specified in the string.
_string | The string containing the number |
_failed | Reference to a flag where the failed state will be written to |
std::list< std::string > ot::convert::toString | ( | ItemCheckedStateFlags | _flags | ) |
Will return a list with all flags that are set as a string.
_flags | The flags |
std::list< std::string > ot::convert::toString | ( | ItemFlags | _flags | ) |
Will return a list with all flags that are set as a string.
_flags | The flags |
std::string ot::convert::toString | ( | ot::ItemCheckedState | _flag | ) |
Will return a string representation of the provided flag.
_flag | The flag, must be only one flag |
std::string ot::convert::toString | ( | ot::ItemFlag | _flag | ) |
Will return a string representation of the provided flag.
_flag | The flag, must be only one flag |