Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TAG_val< T, V > Class Template Reference

#include <data_item.H>

Inheritance diagram for TAG_val< T, V >:

Inheritance graph
[legend]
Collaboration diagram for TAG_val< T, V >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAG_val ()
 TAG_val (Cstr_ptr &field_name, value val, testval test=0)
virtual ~TAG_val ()
STDdstreamformat (CDATA_ITEM *me, STDdstream &d)
STDdstreamdecode (CDATA_ITEM *me, STDdstream &d)
Cstr_ptr & name () const

Private Types

typedef V &(T::* value )()
typedef bool(T::* testval )() const

Private Attributes

TAGformat _delim
value _value
testval _test

Detailed Description

template<class T, class V>
class TAG_val< T, V >

Definition at line 129 of file data_item.H.


Member Typedef Documentation

template<class T, class V>
typedef bool(T::* TAG_val< T, V >::testval)() const [private]
 

Definition at line 131 of file data_item.H.

template<class T, class V>
typedef V&(T::* TAG_val< T, V >::value)() [private]
 

Definition at line 130 of file data_item.H.


Constructor & Destructor Documentation

template<class T, class V>
TAG_val< T, V >::TAG_val  )  [inline]
 

Definition at line 136 of file data_item.H.

template<class T, class V>
TAG_val< T, V >::TAG_val Cstr_ptr &  field_name,
value  val,
testval  test = 0
[inline]
 

Definition at line 137 of file data_item.H.

template<class T, class V>
virtual TAG_val< T, V >::~TAG_val  )  [inline, virtual]
 

Definition at line 139 of file data_item.H.


Member Function Documentation

template<class T, class V>
STDdstream& TAG_val< T, V >::decode CDATA_ITEM *  me,
STDdstream d
[inline, virtual]
 

Implements TAG.

Definition at line 153 of file data_item.H.

References TAG_val< T, V >::_delim, TAG_val< T, V >::_value, TAGformat::read_id(), and TAGformat::set_stream().

template<class T, class V>
STDdstream& TAG_val< T, V >::format CDATA_ITEM *  me,
STDdstream d
[inline, virtual]
 

Implements TAG.

Definition at line 140 of file data_item.H.

References TAG_val< T, V >::_delim, TAG_val< T, V >::_test, TAG_val< T, V >::_value, TAGformat::id(), and TAGformat::set_stream().

template<class T, class V>
Cstr_ptr& TAG_val< T, V >::name  )  const [inline, virtual]
 

Implements TAG.

Definition at line 157 of file data_item.H.

References TAG_val< T, V >::_delim, and TAGformat::name().


Member Data Documentation

template<class T, class V>
TAGformat TAG_val< T, V >::_delim [private]
 

Definition at line 132 of file data_item.H.

Referenced by TAG_val< T, V >::decode(), TAG_val< T, V >::format(), and TAG_val< T, V >::name().

template<class T, class V>
testval TAG_val< T, V >::_test [private]
 

Definition at line 134 of file data_item.H.

Referenced by TAG_val< T, V >::format().

template<class T, class V>
value TAG_val< T, V >::_value [private]
 

Definition at line 133 of file data_item.H.

Referenced by TAG_val< T, V >::decode(), and TAG_val< T, V >::format().


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 11:47:30 2006 for jot by  doxygen 1.4.4