Reflex::Any Class Reference

#include <Reflex/Any.h>

List of all members.

Public Member Functions

 Any ()
template<typename ValueType>
 Any (const ValueType &value)
 Any (const Any &other)
 ~Any ()
void Clear ()
 operator bool ()
AnySwap (Any &rhs)
template<typename ValueType>
Anyoperator= (const ValueType &rhs)
Anyoperator= (const Any &rhs)
bool Empty () const
const std::type_info & TypeInfo () const
void * Address () const

Private Attributes

PlaceholderfContent

Friends

RFLX_API std::ostream & operator<< (std::ostream &, const Any &)
template<typename ValueType>
ValueType * any_cast (Any *)

Classes

class  Holder
class  Placeholder


Detailed Description

Author:
K. Henney

Definition at line 34 of file Any.h.


Constructor & Destructor Documentation

Reflex::Any::Any (  )  [inline]

Constructor

Definition at line 40 of file Any.h.

template<typename ValueType>
Reflex::Any::Any ( const ValueType &  value  )  [inline]

Constructor

Definition at line 44 of file Any.h.

Reflex::Any::Any ( const Any other  )  [inline]

Copy Constructor

Definition at line 48 of file Any.h.

Reflex::Any::~Any (  )  [inline]

Dtor

Definition at line 52 of file Any.h.


Member Function Documentation

void Reflex::Any::Clear (  )  [inline]

Clear the content

Definition at line 58 of file Any.h.

Reflex::Any::operator bool (  )  [inline]

bool operator

Definition at line 67 of file Any.h.

Any& Reflex::Any::Swap ( Any rhs  )  [inline]

Modifier

Definition at line 73 of file Any.h.

References fContent, and ROOT::Math::swap().

Referenced by operator=().

template<typename ValueType>
Any& Reflex::Any::operator= ( const ValueType &  rhs  )  [inline]

Modifier

Definition at line 81 of file Any.h.

References Reflex::Dummy::Any(), and Swap().

Any& Reflex::Any::operator= ( const Any rhs  )  [inline]

Modifier

Definition at line 89 of file Any.h.

References Reflex::Dummy::Any(), and Swap().

bool Reflex::Any::Empty (  )  const [inline]

Query

Definition at line 97 of file Any.h.

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().


Friends And Related Function Documentation

RFLX_API std::ostream& operator<< ( std::ostream &  ,
const Any  
) [friend]

stream operator

template<typename ValueType>
ValueType* any_cast ( Any operand  )  [friend]

value

Definition at line 216 of file Any.h.


Member Data Documentation

Placeholder* Reflex::Any::fContent [private]

representation

Definition at line 184 of file Any.h.

Referenced by Reflex::any_cast(), and Swap().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:56:44 2011 for ROOT_528-00b_version by  doxygen 1.5.1