libXDispatch 0.6
Classes | Public Member Functions
xdispatch::any Struct Reference

Used for transferring data from a sourcetype to source::data without loosing typesafety. More...

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)
 ~any ()
anyswap (any &v)
template<typename OtherType >
anyoperator= (const OtherType &v)
anyoperator= (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)


Constructor & Destructor Documentation

xdispatch::any::any ( ) [inline]
template<typename Type >
xdispatch::any::any ( const Type &  val) [inline]
xdispatch::any::any ( const any other) [inline]
xdispatch::any::~any ( ) [inline]

Member Function Documentation

template<typename TargetType >
TargetType xdispatch::any::cast ( ) const [inline]
template<typename OtherType >
any& xdispatch::any::operator= ( const OtherType &  v) [inline]
any& xdispatch::any::operator= ( any  v) [inline]
any& xdispatch::any::swap ( any v) [inline]

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

Generated on Wed Feb 22 2012 19:57:00 for libXDispatch by Doxygen 1.7.4
Content © 2011-2012 MLBA (about | privacy) – Design © 2010-2012 Emzeat. All Rights reserved.