Keyple Util C++ Library 2.3.0.5-SNAPSHOT
Reference Terminal Reader API for C++
Namespaces | Classes | Functions
keyple::core::util::cpp Namespace Reference

Namespaces

namespace  detail
 
namespace  exception
 

Classes

class  any
 
class  Arrays
 
class  bad_any_cast
 
class  Character
 
class  Logger
 
class  LoggerFactory
 
class  MapUtils
 
class  Matcher
 
class  Pattern
 
class  StringBuilder
 
class  StringUtils
 
class  System
 
class  Thread
 

Functions

template<typename ValueType >
ValueType any_cast (const any &operand)
 Performs *any_cast<add_const_t<remove_reference_t<ValueType>>>(&operand), or throws bad_any_cast on failure. More...
 
template<typename ValueType >
ValueType any_cast (any &operand)
 Performs *any_cast<remove_reference_t<ValueType>>(&operand), or throws bad_any_cast on failure. More...
 
template<typename ValueType >
ValueType any_cast (any &&operand)
 
template<typename ValueType >
const ValueType * any_cast (const any *operand) noexcept
 
template<typename ValueType >
ValueType * any_cast (any *operand) noexcept
 

Function Documentation

◆ any_cast() [1/5]

template<typename ValueType >
ValueType keyple::core::util::cpp::any_cast ( any &&  operand)
inline

If ValueType is MoveConstructible and isn't a lvalue reference, performs std::move(*any_cast<remove_reference_t<ValueType>>(&operand)), otherwise *any_cast<remove_reference_t<ValueType>>(&operand). Throws bad_any_cast on failure.

Definition at line 451 of file Any.h.

◆ any_cast() [2/5]

template<typename ValueType >
ValueType keyple::core::util::cpp::any_cast ( any operand)
inline

Performs *any_cast<remove_reference_t<ValueType>>(&operand), or throws bad_any_cast on failure.

Definition at line 436 of file Any.h.

◆ any_cast() [3/5]

template<typename ValueType >
ValueType * keyple::core::util::cpp::any_cast ( any operand)
inlinenoexcept

If operand != nullptr && operand->type() == typeid(ValueType), a pointer to the object contained by operand, otherwise nullptr.

Definition at line 484 of file Any.h.

◆ any_cast() [4/5]

template<typename ValueType >
ValueType keyple::core::util::cpp::any_cast ( const any operand)
inline

Performs *any_cast<add_const_t<remove_reference_t<ValueType>>>(&operand), or throws bad_any_cast on failure.

Definition at line 425 of file Any.h.

◆ any_cast() [5/5]

template<typename ValueType >
const ValueType * keyple::core::util::cpp::any_cast ( const any operand)
inlinenoexcept

If operand != nullptr && operand->type() == typeid(ValueType), a pointer to the object contained by operand, otherwise nullptr.

Definition at line 467 of file Any.h.