#include <canopen_master/objdict.h>
#include <socketcan_interface/string.h>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/ini_parser.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string.hpp>
Go to the source code of this file.
Classes | |
struct | PrintValue |
struct | ReadAnyValue |
struct | WriteStringValue |
Namespaces | |
canopen | |
Functions | |
template<const ObjectDict::DataTypes dt, typename T > | |
std::string | formatValue (const T &value) |
template<> | |
std::string | formatValue< ObjectDict::DEFTYPE_DOMAIN > (const std::string &value) |
template<> | |
std::string | formatValue< ObjectDict::DEFTYPE_OCTET_STRING > (const std::string &value) |
std::size_t | canopen::hash_value (ObjectDict::Key const &k) |
template<typename T > | |
T | int_from_string (const std::string &s) |
template<> | |
int8_t | int_from_string (const std::string &s) |
std::ostream & | canopen::operator<< (std::ostream &stream, const ObjectDict::Key &k) |
template<typename T > | |
HoldAny | parse_int (boost::property_tree::iptree &pt, const std::string &key) |
void | parse_object (ObjectDictSharedPtr dict, boost::property_tree::iptree &pt, const std::string &name, const uint8_t *sub_index=0) |
void | parse_objects (ObjectDictSharedPtr dict, boost::property_tree::iptree &pt, const std::string &key) |
template<typename T > | |
HoldAny | parse_octets (boost::property_tree::iptree &pt, const std::string &key) |
template<typename T > | |
HoldAny | parse_typed_value (boost::property_tree::iptree &pt, const std::string &key) |
template<> | |
HoldAny | parse_typed_value< String > (boost::property_tree::iptree &pt, const std::string &key) |
template<typename T > | |
T | read_integer (boost::property_tree::iptree &pt, const std::string &key) |
template<typename T > | |
void | read_integer (T &var, boost::property_tree::iptree &pt, const std::string &key) |
template<typename T > | |
void | read_optional (T &var, boost::property_tree::iptree &pt, const std::string &key) |
void | read_var (ObjectDict::Entry &entry, boost::property_tree::iptree &object) |
template<> | |
HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_DOMAIN > (boost::property_tree::iptree &pt, const std::string &key) |
template<> | |
HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER16 > (boost::property_tree::iptree &pt, const std::string &key) |
template<> | |
HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER32 > (boost::property_tree::iptree &pt, const std::string &key) |
template<> | |
HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER64 > (boost::property_tree::iptree &pt, const std::string &key) |
template<> | |
HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER8 > (boost::property_tree::iptree &pt, const std::string &key) |
template<> | |
HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_OCTET_STRING > (boost::property_tree::iptree &pt, const std::string &key) |
template<> | |
HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED16 > (boost::property_tree::iptree &pt, const std::string &key) |
template<> | |
HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED32 > (boost::property_tree::iptree &pt, const std::string &key) |
template<> | |
HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED64 > (boost::property_tree::iptree &pt, const std::string &key) |
template<> | |
HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED8 > (boost::property_tree::iptree &pt, const std::string &key) |
void | set_access (ObjectDict::Entry &entry, std::string access) |
std::string formatValue | ( | const T & | value | ) |
Definition at line 426 of file objdict.cpp.
std::string formatValue< ObjectDict::DEFTYPE_DOMAIN > | ( | const std::string & | value | ) |
Definition at line 431 of file objdict.cpp.
std::string formatValue< ObjectDict::DEFTYPE_OCTET_STRING > | ( | const std::string & | value | ) |
Definition at line 434 of file objdict.cpp.
T int_from_string | ( | const std::string & | s | ) |
Definition at line 112 of file objdict.cpp.
uint64_t int_from_string | ( | const std::string & | s | ) |
Definition at line 112 of file objdict.cpp.
HoldAny parse_int | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 138 of file objdict.cpp.
void parse_object | ( | ObjectDictSharedPtr | dict, |
boost::property_tree::iptree & | pt, | ||
const std::string & | name, | ||
const uint8_t * | sub_index = 0 |
||
) |
Definition at line 215 of file objdict.cpp.
void parse_objects | ( | ObjectDictSharedPtr | dict, |
boost::property_tree::iptree & | pt, | ||
const std::string & | key | ||
) |
Definition at line 264 of file objdict.cpp.
HoldAny parse_octets | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 147 of file objdict.cpp.
HoldAny parse_typed_value | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 153 of file objdict.cpp.
HoldAny parse_typed_value< String > | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 157 of file objdict.cpp.
T read_integer | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 196 of file objdict.cpp.
void read_integer | ( | T & | var, |
boost::property_tree::iptree & | pt, | ||
const std::string & | key | ||
) |
Definition at line 192 of file objdict.cpp.
void read_optional | ( | T & | var, |
boost::property_tree::iptree & | pt, | ||
const std::string & | key | ||
) |
Definition at line 188 of file objdict.cpp.
void read_var | ( | ObjectDict::Entry & | entry, |
boost::property_tree::iptree & | object | ||
) |
Definition at line 201 of file objdict.cpp.
HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_DOMAIN > | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 178 of file objdict.cpp.
HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER16 > | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 169 of file objdict.cpp.
HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER32 > | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 170 of file objdict.cpp.
HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER64 > | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 171 of file objdict.cpp.
HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER8 > | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 168 of file objdict.cpp.
HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_OCTET_STRING > | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 181 of file objdict.cpp.
HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED16 > | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 174 of file objdict.cpp.
HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED32 > | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 175 of file objdict.cpp.
HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED64 > | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 176 of file objdict.cpp.
HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED8 > | ( | boost::property_tree::iptree & | pt, |
const std::string & | key | ||
) |
Definition at line 173 of file objdict.cpp.
void set_access | ( | ObjectDict::Entry & | entry, |
std::string | access | ||
) |
Definition at line 83 of file objdict.cpp.