XDispatch 0.6.1
Classes | Public Member Functions
xdispatch::any Struct Reference

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

#include <xdispatch/source.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 ()
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)

Definition at line 45 of file source.h.


Constructor & Destructor Documentation

xdispatch::any::any ( ) [inline]

Definition at line 47 of file source.h.

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

Definition at line 48 of file source.h.

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

Definition at line 49 of file source.h.

virtual xdispatch::any::~any ( ) [inline, virtual]

Definition at line 50 of file source.h.


Member Function Documentation

template<typename TargetType >
TargetType xdispatch::any::cast ( ) const [inline]

Definition at line 72 of file source.h.

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

Definition at line 59 of file source.h.

any& xdispatch::any::operator= ( any  v) [inline]

Definition at line 65 of file source.h.

any& xdispatch::any::swap ( any v) [inline]

Definition at line 52 of file source.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Thu Apr 12 2012 09:50:43 for XDispatch by Doxygen 1.7.4
© 2010-2012 MLBA (about | privacy) All Rights reserved.