CppUnit project page CppUnit home page

value.h File Reference

#include "forwards.h"
#include "typetraits.h"

Include dependency graph for value.h:

Go to the source code of this file.

Namespaces

namespace  CppTL
namespace  CppTL::ValueTypeHelper

Classes

class  CppTL::ValueType
union  CppTL::ValueData
struct  CppTL::NoneValueTypeTag
class  CppTL::ValueException
class  CppTL::Value
class  CppTL::ValueTypeHelper::LargeTypeStorageHelper< DataType >
 Allocate DataType dynamically. More...
class  CppTL::ValueTypeHelper::SmallTypeStorageHelper< DataType >
 Store DataType in string buffer if it fit in. More...
class  CppTL::ValueTypeHelper::StoragePolicySelector< DataType >
 Select storage strategy depending on size of DataType. More...
class  CppTL::ValueTypeHelper::CommonLifeCycle< DataType >
class  CppTL::ValueTypeHelper::Compare< DataType >
 Comparison helper. More...
class  CppTL::ValueTypeHelper::LessCompare< DataType >
 Comparison helper. More...
class  CppTL::ValueTypeHelper::CommonValueType< DataType >
class  CppTL::ValueTypeHelper::ComparableValueType< DataType >
struct  CppTL::NoneValueType

Defines

#define CPPTL_GET_VALUE_TYPE(AType)   ::CppTL::getValueType( ::CppTL::Type<AType>() )

Typedefs

typedef LargestInt CppTL::ValueInt
typedef LargestUnsignedInt CppTL::ValueUInt
typedef char CppTL::ValueDataBuffer [24]

Functions

template<typename TargetValueType>
void CppTL::initialize (Value &value, Type< TargetValueType >)
template<typename TargetValueType>
Value CppTL::initialize (Type< TargetValueType >)
template<typename TargetValueType>
Value CppTL::makeValue (const TargetValueType &value)
template<typename TargetValueType>
void CppTL::makeValue (Value &value, const TargetValueType &initialValue)
template<typename TargetValueType>
const TargetValueType & CppTL::any_cast (const Value &value, Type< TargetValueType >)
template<typename TargetValueType>
TargetValueType & CppTL::any_cast (Value &value, Type< TargetValueType >)
template<typename TargetValueType>
const TargetValueType * CppTL::any_cast (const Value *value, Type< TargetValueType >)
template<typename TargetValueType>
TargetValueType * CppTL::any_cast (Value *value, Type< TargetValueType >)
template<class DataType>
const ValueType & CppTL::getValueType (const Type< DataType > &)
const ValueType & CppTL::getValueType (Type< NoneValueTypeTag >)
const ValueType & CppTL::getValueType (Type< int >)


Define Documentation

#define CPPTL_GET_VALUE_TYPE ( AType   )     ::CppTL::getValueType( ::CppTL::Type<AType>() )


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