58 static std::string
escape(
const std::string& str);
74 static const bool debug =
false;
static std::string access_type_to_string(AccessType type)
Converts access types to a string.
static unsigned long long hexstr_to_uint(std::string str)
Converts a string containing a hexadecimal numer to unsigned.
static Type type_code_to_type(uint16_t code)
Maps type codes from an EDS file to a data type.
static std::string data_type_to_string(DataType type)
Converts CanOpen data types to a string.
static std::string escape(const std::string &str)
Converts entry names to lower case and replaces all spaces and '-' by underscores.
static AccessType string_to_access_type(std::string str)
Converts a string representation of AccessType from an EDS file to AccessType.
static std::string type_to_string(Type type)
Converts data types to a string.
This class provides various static utility functions.
static unsigned long long decstr_to_uint(std::string str)
Converts a string containing a decimal numer to unsigned.
static uint8_t get_type_size(Type type)
Returns the size of a data type in bytes.