DataTpl< T, DataModel >::DataManipulator Class Reference

#include <source/ariba/utility/serialization/Data.hpp>

Collaboration diagram for DataTpl< T, DataModel >::DataManipulator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

finline DataManipulator (DataModel &_bits, size_t _index)
template<typename X>
finline operator X () const
template<typename X>
finline DataManipulatoroperator= (X value)
template<typename X>
finline void set (X value, size_t length=sizeof(X)*8, if_uint(X))
template<typename X>
finline void set (X value, size_t length=sizeof(X)*8, if_int(X))
template<typename X>
finline void get (X &value, size_t length=sizeof(X)*8, if_uint(X)) const
template<typename X>
finline void get (X &value, size_t length=sizeof(X)*8, if_int(X)) const
finline void get (bool &value) const

Private Attributes

DataModel bits
size_t index


Detailed Description

template<typename T, typename DataModel>
class DataTpl< T, DataModel >::DataManipulator

Definition at line 83 of file Data.hpp.


Constructor & Destructor Documentation

template<typename T, typename DataModel>
finline DataTpl< T, DataModel >::DataManipulator::DataManipulator ( DataModel &  _bits,
size_t  _index 
) [inline]

Definition at line 89 of file Data.hpp.


Member Function Documentation

template<typename T, typename DataModel>
template<typename X>
finline DataTpl< T, DataModel >::DataManipulator::operator X (  )  const [inline]

template<typename T, typename DataModel>
template<typename X>
finline DataManipulator& DataTpl< T, DataModel >::DataManipulator::operator= ( value  )  [inline]

template<typename T, typename DataModel>
template<typename X>
finline void DataTpl< T, DataModel >::DataManipulator::set ( value,
size_t  length = sizeof(X) * 8,
if_uint(X)   
) [inline]

template<typename T, typename DataModel>
template<typename X>
finline void DataTpl< T, DataModel >::DataManipulator::set ( value,
size_t  length = sizeof(X) * 8,
if_int(X)   
) [inline]

Definition at line 110 of file Data.hpp.

template<typename T, typename DataModel>
template<typename X>
finline void DataTpl< T, DataModel >::DataManipulator::get ( X &  value,
size_t  length = sizeof(X) * 8,
if_uint(X)   
) const [inline]

template<typename T, typename DataModel>
template<typename X>
finline void DataTpl< T, DataModel >::DataManipulator::get ( X &  value,
size_t  length = sizeof(X) * 8,
if_int(X)   
) const [inline]

template<typename T, typename DataModel>
finline void DataTpl< T, DataModel >::DataManipulator::get ( bool &  value  )  const [inline]


Member Data Documentation

template<typename T, typename DataModel>
DataModel DataTpl< T, DataModel >::DataManipulator::bits [private]

template<typename T, typename DataModel>
size_t DataTpl< T, DataModel >::DataManipulator::index [private]


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

Generated on Wed May 27 18:23:42 2009 for Ariba by  doxygen 1.5.6