boost::any Class Reference

#include <any.h>

Collaboration diagram for boost::any:
[legend]

List of all members.

Classes

class  holder
class  placeholder

Public Member Functions

 any ()
template<typename ValueType >
 any (const ValueType &value)
 any (const any &other)
 ~any ()
anyswap (any &rhs)
template<typename ValueType >
anyoperator= (const ValueType &rhs)
anyoperator= (const any &rhs)
bool empty () const
const std::type_info & type () const

Private Attributes

placeholdercontent

Friends

template<typename ValueType >
ValueType * any_cast (any *)


Detailed Description

Definition at line 21 of file any.h.


Constructor & Destructor Documentation

boost::any::any (  )  [inline]

Definition at line 25 of file any.h.

template<typename ValueType >
boost::any::any ( const ValueType &  value  )  [inline]

Definition at line 31 of file any.h.

boost::any::any ( const any other  )  [inline]

Definition at line 36 of file any.h.

boost::any::~any (  )  [inline]

Definition at line 41 of file any.h.


Member Function Documentation

bool boost::any::empty (  )  const [inline]

Definition at line 69 of file any.h.

any& boost::any::operator= ( const any rhs  )  [inline]

Definition at line 61 of file any.h.

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

Definition at line 55 of file any.h.

any& boost::any::swap ( any rhs  )  [inline]

Definition at line 48 of file any.h.

const std::type_info& boost::any::type (  )  const [inline]

Definition at line 74 of file any.h.


Friends And Related Function Documentation

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

Definition at line 157 of file any.h.


Member Data Documentation

Definition at line 142 of file any.h.


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

Generated on Fri Feb 6 13:30:19 2009 for CorAL by  doxygen 1.5.8