DUNE: Uniform Navigational Environment
2019.02.0
|
DUNE: Uniform Navigational Environment.
ISO C++ headers.
Classes | |
class | Daemon |
class | Exception |
class | NotImplemented |
class | I18N |
class | Memory |
Functions | |
template<typename T , long vmin, long vmax> | |
bool | castLongSigned (const std::string &str, T &var) |
template<typename T , unsigned long vmax> | |
bool | castLongUnsigned (const std::string &str, T &var) |
template<typename T > | |
bool | castLexical (const std::string &str, T &var) |
template<typename T > | |
T | castLexical (const std::string &str) |
template<> | |
bool | castLexical (const std::string &str, int8_t &var) |
template<> | |
bool | castLexical (const std::string &str, uint8_t &var) |
template<> | |
bool | castLexical (const std::string &str, int16_t &var) |
template<> | |
bool | castLexical (const std::string &str, uint16_t &var) |
template<> | |
bool | castLexical (const std::string &str, int32_t &var) |
template<> | |
bool | castLexical (const std::string &str, uint32_t &var) |
template<> | |
bool | castLexical (const std::string &str, std::string &var) |
template<> | |
bool | castLexical (const std::string &str, bool &var) |
template<> | |
bool | castLexical (const std::string &str, std::vector< std::string > &var) |
template<typename T > | |
bool | castLexical (const std::string &str, std::vector< T > &var) |
template<typename T > | |
std::string | uncastLexical (T &var) |
std::string | uncastLexical (int8_t var) |
std::string | uncastLexical (uint8_t var) |
template<> | |
std::string | uncastLexical (std::vector< std::string > &var) |
const char * | getFullVersion (void) |
const char * | getCompileDate (void) |
Variables | |
class DUNE_DLL_SYM | Daemon |
class DUNE_DLL_SYM | Exception |
class DUNE_DLL_SYM | NotImplemented |
|
inline |
Convert a string to a value of a generic type.
str | string to convert. |
var | variable to hold the result. |
Referenced by castLexical(), DUNE::Parsers::Config::get(), DUNE::Tasks::BasicParameterParser< T >::maximumValue(), DUNE::Tasks::BasicParameterParser< T >::minimumValue(), DUNE::Parsers::BasicStringReader< T >::read(), DUNE::Tasks::BasicParameterParser< T >::read(), DUNE::Tasks::BasicParameterParser< std::vector< T > >::read(), DUNE::Tasks::BasicParameterParser< Math::Matrix >::read(), and DUNE::Tasks::BasicParameterParser< T >::values().
|
inline |
Convert a string to a value of a generic type without reporting conversion errors.
str | string to convert. |
References castLexical().
|
inline |
Convert a string to a 8 bit signed integer.
str | string to convert. |
var | variable to hold the result. |
References castLongSigned().
|
inline |
Convert a string to a 8 bit unsigned integer.
str | string to convert. |
var | variable to hold the result. |
|
inline |
Convert a string to a 16 bit signed integer.
str | string to convert. |
var | variable to hold the result. |
References castLongSigned().
|
inline |
Convert a string to a 16 bit unsigned integer.
str | string to convert. |
var | variable to hold the result. |
|
inline |
Convert a string to a 32 bit signed integer.
str | string to convert. |
var | variable to hold the result. |
References castLongSigned().
|
inline |
Convert a string to a 32 bit unsigned integer.
str | string to convert. |
var | variable to hold the result. |
|
inline |
Convert a string to another string.
This function circumvents the problem of extract strings with spaces from stringstreams (used by the general template).
str | string to convert. |
var | variable to hold the result. |
|
inline |
Convert a string to a boolean.
str | string to convert. |
var | variable to hold the result. |
|
inline |
Convert a string of elements separated by c_string_list_separator to a vector of strings.
The destination vector is cleared before conversion.
str | string to convert. |
var | variable to hold the result. |
References DUNE::Utils::String::split().
|
inline |
Convert a string of elements separated by c_string_list_separator to a vector with elements of generic type.
The destination vector is cleared before conversion.
str | string to convert. |
var | variable to hold the result. |
References castLexical(), and DUNE::Utils::String::split().
|
inline |
Convert a string to a long signed integer, checking limits in the process.
str | string to convert. |
var | variable to hold the result. |
Referenced by castLexical().
|
inline |
Convert a string to a long unsigned integer, checking top limit.
str | string to convert. |
var | variable to hold the result. |
const char* DUNE::getCompileDate | ( | void | ) |
Retrieve the compilation date as a string.
const char* DUNE::getFullVersion | ( | void | ) |
Retrieve the full version as a string.
Referenced by DUNE::Parsers::operator<<(), and DUNE::Daemon::writeParamsXML().
|
inline |
|
inline |
|
inline |
|
inline |
class DUNE_DLL_SYM DUNE::Daemon |
class DUNE_DLL_SYM DUNE::Exception |
class DUNE_DLL_SYM DUNE::NotImplemented |
Referenced by DUNE::Hardware::I2C::I2C(), and DUNE::Network::UDPSocket::UDPSocket().