BehaviorTree
Core Library to create and execute Behavior Trees
Loading...
Searching...
No Matches
BT::Any Class Reference

Public Member Functions

 Any (const Any &other)
 
 Any (Any &&other) noexcept
 
 Any (const double &value)
 
 Any (const uint64_t &value)
 
 Any (const float &value)
 
 Any (const std::string &str)
 
 Any (const char *str)
 
 Any (const SafeAny::SimpleString &str)
 
 Any (const std::string_view &str)
 
template<typename T >
 Any (const T &value, EnableIntegral< T >=0)
 
 Any (const std::type_index &type)
 
template<typename T >
 Any (const T &value, EnableNonIntegral< T >=0)
 
Anyoperator= (const Any &other)
 
Anyoperator= (Any &&other) noexcept
 
bool isNumber () const
 
bool isIntegral () const
 
bool isString () const
 
template<typename T >
bool isType () const
 
void copyInto (Any &dst) const
 
template<typename T >
nonstd::expected< T, std::string > tryCast () const
 
template<typename T >
nonstd::expected< T, std::string > tryCastWithRegistry (const PolymorphicCastRegistry &registry) const
 
template<typename T >
cast () const
 
template<typename T >
T * castPtr ()
 
const std::type_index & type () const noexcept
 
const std::type_info & castedType () const noexcept
 
bool empty () const noexcept
 

The documentation for this class was generated from the following file: