ModbusSMA  v1.0.0
modbusSMA::enum2Str Namespace Reference

Connvert enums to strings. More...

Functions

std::string toStr (State _state)
 Converts the State enum to a std::string.
 
std::string toStr (ErrorCode _errocCode)
 Converts the ErrorCode enum to a std::string.
 
std::string toStr (ConnectionType _type)
 Converts the ConnectionType enum to a std::string.
 
std::string toStr (DataType _type)
 Converts the DataType enum to a std::string.
 
std::string toStr (DataFormat _type)
 Converts the DataFormat enum to a std::string.
 
std::string toStr (DataAccess _type)
 Converts the DataAccess enum to a std::string.
 
DataType typeFromStr (std::string _type)
 Converts a string to the corresponding DataType.
 
DataFormat formatFromStr (std::string _type)
 Converts a string to the corresponding DataFormat.
 
DataAccess accessFromStr (std::string _type)
 Converts a string to the corresponding DataAccess.
 

Detailed Description

Connvert enums to strings.