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, packed_trait > Struct Template Reference

Packed Bits Specialization for the index and data field type definitions. More...

#include <basic_datum.h>

Inherits 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 
packed_type
 The packed-bit container type.
 
typedef packed_type::value_type value_type
 The value type used by the packed-bits.
 

Public Member Functions

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

Detailed Description

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

Packed Bits 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 334 of file basic_datum.h.

Member Function Documentation

template<typename FieldT >
value_type& Hg::detail::FieldTypes< FieldT, packed_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 353 of file basic_datum.h.


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