Alchemy  1.0
A framework to robustly process network messages and structured data
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | List of all members
Hg::detail::FieldTypes< FieldT, nested_trait > Struct Template Reference

Nested Specialization for the index and data field type definitions. More...

#include <basic_datum.h>

Inherits value_type< FieldT >.

Public Types

typedef FieldT index_type
 
        The type at the index of the

parent type container.

 
typedef field_data_t
< index_type >::value_type 
value_type
 
        The specified value type for 

the current Datum.

 

Public Member Functions

const value_typedata () const
 Returns the value of the data buffer.
 
void data (const value_type &value)
 Returns the value of the data buffer.
 
value_typereference ()
 Returns a reference to the internal data storage. More...
 

Detailed Description

template<typename FieldT>
struct Hg::detail::FieldTypes< FieldT, nested_trait >

Nested Specialization for the index and data field type definitions.

FieldT This parameterized type declares the type at the associated location in the parent type container.

Definition at line 287 of file basic_datum.h.

Member Function Documentation

template<typename FieldT >
value_type& Hg::detail::FieldTypes< FieldT, nested_trait >::reference ( )
inline

Returns a reference to the internal data storage.

Returns a reference to the internal data storage managed by this Datum. The reference to the data can be useful, and necessary for

Definition at line 304 of file basic_datum.h.


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