CppUnit project page CppUnit home page

any.h File Reference

#include <typeinfo>
#include <cpptl/typeinfo.h>
#include <string>

Include dependency graph for any.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CppTL

Classes

class  CppTL::AnyBadCast
class  CppTL::Any

Functions

template<class ValueType>
Any CppTL::makeAny (const ValueType &newValue)
template<class ValueType>
CppTL::Anyset (CppTL::Any &value, const ValueType &newValue)
template<class ValueType>
const ValueType & any_cast (const CppTL::Any &value, CppTL::Type< ValueType >)
template<class ValueType>
const ValueType * get (const CppTL::Any *value, CppTL::Type< ValueType >)


Function Documentation

template<class ValueType>
const ValueType& any_cast ( const CppTL::Any value,
CppTL::Type< ValueType >   
) [inline]

template<class ValueType>
const ValueType* get ( const CppTL::Any value,
CppTL::Type< ValueType >   
) [inline]

template<class ValueType>
CppTL::Any& set ( CppTL::Any value,
const ValueType &  newValue 
) [inline]


SourceForge Logo hosts this site. Send comments to:
CppUnit Developers