Back to index

nux  3.0.0
Classes | Namespaces | Defines
PropertyTraits.h File Reference
#include <string>
#include <boost/lexical_cast.hpp>
#include <boost/type_traits/is_enum.hpp>
#include "Color.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nux::type::PropertyTrait< T, bool >
 Here we want to have only explict type support, to avoid someone using the system with something we haven't though of and getting upset when if it doesn't work properly. More...
struct  nux::type::serializable_impl< T >
 The serializable_impl template has different signatures than the standard Serializable traits class to avoid the generalised template being used as a traits type when we really don't want it being used in that way, but we do want a generalized implementation for the types we do care about. More...
struct  nux::type::PropertyTrait< ENUM, true >
struct  nux::type::PropertyTrait< int >
struct  nux::type::PropertyTrait< unsigned >
struct  nux::type::PropertyTrait< float >
struct  nux::type::PropertyTrait< double >
struct  nux::type::PropertyTrait< bool >
struct  nux::type::PropertyTrait< std::string >

Namespaces

namespace  nux
 The Writer singleton is responsible for controlling where the logging message go.
namespace  nux::type

Defines

#define NUXCORE_PROPERTY_TRAITS_H

Class Documentation

struct nux::type::PropertyTrait

template<typename T, bool = boost::is_enum<T>::value>
struct nux::type::PropertyTrait< T, bool >

Here we want to have only explict type support, to avoid someone using the system with something we haven't though of and getting upset when if it doesn't work properly.

Definition at line 47 of file PropertyTraits.h.


Define Documentation

Definition at line 28 of file PropertyTraits.h.