#include <sstream>
#include "bbtkRTTI.h"
#include "bbtkMessageManager.h"
#include "bbtkException.h"
#include <boost/type_traits/is_pointer.hpp>
Go to the source code of this file.
Classes | |
class | bbtk::anyplaceholder |
Abstract class used by the any class to store values. More... | |
class | bbtk::anyholder< ValueType > |
class | bbtk::anyholder< ValueType * > |
specialization of anyholder for pointer types More... | |
class | bbtk::any< TypeTraits > |
struct | bbtk::thing< T > |
The TypeTraits which validates any type. More... | |
struct | bbtk::integer< T > |
The TypeTraits which validates all integer types. More... | |
struct | bbtk::floating_point< T > |
The TypeTraits which validates all floating point number types. More... | |
struct | bbtk::number< T > |
The TypeTraits which validates all numerical types. More... | |
Namespaces | |
namespace | bbtk |
Defines | |
#define | BBTK_DECLARE_TYPE_TRAITS(NAME) |
#define | BBTK_ADD_TO_TYPE_TRAITS(NAME, TYPE) template <> bool NAME<TYPE>::value = true; |
Functions | |
template<> | |
std::string | bbtk::HumanTypeName< bbtk::any< bbtk::thing > > () |
template<> | |
std::string | bbtk::HumanTypeName< bbtk::any< bbtk::thing > > (const bbtk::any< bbtk::thing > &) |
Definition in file bbtkAny.h.
#define BBTK_ADD_TO_TYPE_TRAITS | ( | NAME, | |||
TYPE | ) | template <> bool NAME<TYPE>::value = true; |
#define BBTK_DECLARE_TYPE_TRAITS | ( | NAME | ) |
Value:
template <typename T> struct NAME { static const bool value; }; \ template <class T> const bool NAME<T>::value = false;