framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members
framework::serializable::value_type< Name, Specification, Interface, Default > Struct Template Reference

#include <framework/serializable/value_type.hpp>

Detailed Description

template<typename Name, typename Specification, template< typename > class Interface, bool Default = true>
struct framework::serializable::value_type< Name, Specification, Interface, Default >

Provides a common interface used to define the types required to properly interpret a value type. Value types replace an object's member variables in serializable types - Implementation is inherited by the derived type and associated with the unique identifier Name - see serializable for more information.

The default serialization methods provided for this type serialize the field Name of the input/output object using the specification provided in Specification. Derived types may suppress this default by setting Default to false, forcing the generation of a compile time error if an appropriate read or write overload is not present.

Template Parameters
Nameunique identifying typename
Specificationspecification used to serialize the value
Implementationimplementation inherited by the derived class

The documentation for this struct was generated from the following file: