Classes | Functions
icl_core::config::impl Namespace Reference

Namespace for internal implementation details. More...

Classes

class  ConfigValueIface
 
class  MemberValueIface
 

Functions

template<typename U >
bool bool_cast (U input)
 
template<typename T , typename U >
hexical_cast (U input)
 
template<typename U >
bool strict_bool_cast (U input)
 

Detailed Description

Namespace for internal implementation details.

Function Documentation

template<typename U >
bool icl_core::config::impl::bool_cast ( input)

Lexical cast to bool. Handles hexadecimal and octal numbers correctly like other integer values.

  • The values 1, "yes" and "true" (in any capitalization) are interpreted as true.
  • Any other value is interpreted as false.

Definition at line 60 of file Util.h.

template<typename T , typename U >
T icl_core::config::impl::hexical_cast ( input)

Lexical cast which handles hexadecimal and octal numbers correctly.

Definition at line 43 of file Util.h.

template<typename U >
bool icl_core::config::impl::strict_bool_cast ( input)

Lexical cast to bool. Handles hexadecimal and octal numbers correctly like other integer values.

  • The values 1, "yes" and "true" (in any capitalization) are interpreted as true.
  • The values 0, "no" and "false" (in any capitalization) are interpreted as false.
  • For any other value, std::invalid_error is thrown.

Definition at line 87 of file Util.h.



fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59