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

TAG_var< T, V > Class Template Reference

#include <jot_vars.H>

Inheritance diagram for TAG_var< T, V >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAG_var ()
 TAG_var (T *var, Cstr_ptr &field_name, value val, set_meth m)
STDdstreamformat (CDATA_ITEM *, STDdstream &d)
STDdstreamdecode (CDATA_ITEM *, STDdstream &d)
Cstr_ptr & name () const

Private Types

typedef V(T::* value )() const
typedef void(T::* set_meth )(V t)

Private Attributes

set_meth _smeth
value _value
TAGformat _delim
T * _var

Detailed Description

template<class T, class V>
class TAG_var< T, V >

Definition at line 46 of file jot_vars.H.


Member Typedef Documentation

template<class T, class V>
typedef void(T::* TAG_var< T, V >::set_meth)(V t) [private]
 

Definition at line 48 of file jot_vars.H.

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

Definition at line 47 of file jot_vars.H.


Constructor & Destructor Documentation

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

Definition at line 55 of file jot_vars.H.

template<class T, class V>
TAG_var< T, V >::TAG_var T *  var,
Cstr_ptr &  field_name,
value  val,
set_meth  m
[inline]
 

Definition at line 56 of file jot_vars.H.


Member Function Documentation

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

Implements TAG.

Definition at line 62 of file jot_vars.H.

References TAG_var< T, V >::_delim, TAG_var< T, V >::_smeth, TAG_var< T, V >::_var, TAGformat::read_id(), and TAGformat::set_stream().

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

Implements TAG.

Definition at line 58 of file jot_vars.H.

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

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

Implements TAG.

Definition at line 68 of file jot_vars.H.

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


Member Data Documentation

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

Definition at line 52 of file jot_vars.H.

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

template<class T, class V>
set_meth TAG_var< T, V >::_smeth [private]
 

Definition at line 50 of file jot_vars.H.

Referenced by TAG_var< T, V >::decode().

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

Definition at line 51 of file jot_vars.H.

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

template<class T, class V>
T* TAG_var< T, V >::_var [private]
 

Definition at line 53 of file jot_vars.H.

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


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