#include <Reflex/Any.h>
Public Member Functions | |
Any () | |
template<typename ValueType> | |
Any (const ValueType &value) | |
Any (const Any &other) | |
~Any () | |
void | Clear () |
operator bool () | |
Any & | Swap (Any &rhs) |
template<typename ValueType> | |
Any & | operator= (const ValueType &rhs) |
Any & | operator= (const Any &rhs) |
bool | Empty () const |
const std::type_info & | TypeInfo () const |
void * | Address () const |
Private Attributes | |
Placeholder * | fContent |
Friends | |
RFLX_API std::ostream & | operator<< (std::ostream &, const Any &) |
template<typename ValueType> | |
ValueType * | any_cast (Any *) |
Classes | |
class | Holder |
class | Placeholder |
Definition at line 34 of file Any.h.
Reflex::Any::Any | ( | const ValueType & | value | ) | [inline] |
Reflex::Any::Any | ( | const Any & | other | ) | [inline] |
Modifier
Definition at line 73 of file Any.h.
References fContent, and ROOT::Math::swap().
Referenced by operator=().
Any& Reflex::Any::operator= | ( | const ValueType & | rhs | ) | [inline] |
const std::type_info& Reflex::Any::TypeInfo | ( | ) | const [inline] |
Query
Definition at line 104 of file Any.h.
References TypeInfo(), and void.
Referenced by Reflex::any_cast(), Reflex::PluginService::CompareId(), and TypeInfo().
void* Reflex::Any::Address | ( | ) | const [inline] |
Adress
Definition at line 111 of file Any.h.
Referenced by Reflex::ValueObject::Assign(), and Reflex::ValueObject::ValueObject().
RFLX_API std::ostream& operator<< | ( | std::ostream & | , | |
const Any & | ||||
) | [friend] |
stream operator
ValueType* any_cast | ( | Any * | operand | ) | [friend] |
Placeholder* Reflex::Any::fContent [private] |