Used for transferring data from a sourcetype to source::data without loosing typesafety.
More...
#include <xdispatch/any.h>
List of all members.
Classes |
struct | holder |
struct | place_holder |
Public Member Functions |
| any () |
template<typename Type > |
| any (const Type &val) |
| any (const any &other) |
virtual | ~any () |
any & | swap (any &v) |
template<typename OtherType > |
any & | operator= (const OtherType &v) |
any & | operator= (any v) |
template<typename TargetType > |
TargetType | cast () const |
Detailed Description
Used for transferring data from a sourcetype to source::data without loosing typesafety.
Adapted from boost::any (http://www.boost.org/doc/libs/1_46_1/doc/html/any.html) (c) 2001 Kevlin Henney Distributed under the Boost Software License, Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt)
Definition at line 49 of file any.h.
Constructor & Destructor Documentation
Definition at line 51 of file any.h.
Definition at line 52 of file any.h.
Definition at line 53 of file any.h.
Definition at line 54 of file any.h.
Member Function Documentation
template<typename TargetType >
Definition at line 76 of file any.h.
template<typename OtherType >
any& xdispatch::any::operator= |
( |
const OtherType & |
v | ) |
[inline] |
Definition at line 63 of file any.h.
any& xdispatch::any::operator= |
( |
any |
v | ) |
[inline] |
Definition at line 69 of file any.h.
Definition at line 56 of file any.h.
The documentation for this struct was generated from the following file: