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

IOBlockMeth< T > Class Template Reference

#include <ioblock.H>

Inheritance diagram for IOBlockMeth< T >:

Inheritance graph
[legend]
Collaboration diagram for IOBlockMeth< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef int(T::* METH )(istream &is, str_list &leftover)

Public Member Functions

 IOBlockMeth (Cstr_ptr &name, METH meth, T *inst)
virtual int consume_block (istream &is, str_list &leftover)
void set_obj (T *inst)
Cstr_ptr & name () const
virtual int operator== (CIOBlock &b)

Static Public Member Functions

static int consume (istream &is, const IOBlockList &list, str_list &leftover)

Protected Attributes

METH _meth
T * _inst
str_ptr _name

Detailed Description

template<class T>
class IOBlockMeth< T >

Definition at line 29 of file ioblock.H.


Member Typedef Documentation

template<class T>
typedef int(T::* IOBlockMeth< T >::METH)(istream &is, str_list &leftover)
 

Definition at line 31 of file ioblock.H.


Constructor & Destructor Documentation

template<class T>
IOBlockMeth< T >::IOBlockMeth Cstr_ptr &  name,
METH  meth,
T *  inst
[inline]
 

Definition at line 36 of file ioblock.H.


Member Function Documentation

int IOBlock::consume istream &  is,
const IOBlockList &  list,
str_list leftover
[static, inherited]
 

Definition at line 27 of file ioblock.C.

References ARRAY< T >::clear(), Cstr_ptr, get_word(), IOBlock::name(), NULL_STR, and ARRAY< T >::num().

Referenced by BMESH::read_blocks(), and Patch::read_stream().

template<class T>
virtual int IOBlockMeth< T >::consume_block istream &  is,
str_list leftover
[inline, virtual]
 

Implements IOBlock.

Definition at line 38 of file ioblock.H.

References IOBlockMeth< T >::_inst, and IOBlockMeth< T >::_meth.

Cstr_ptr& IOBlock::name  )  const [inline, inherited]
 

Definition at line 22 of file ioblock.H.

References IOBlock::_name.

Referenced by IOBlock::consume().

virtual int IOBlock::operator== CIOBlock &  b  )  [inline, virtual, inherited]
 

Definition at line 23 of file ioblock.H.

References IOBlock::_name.

template<class T>
void IOBlockMeth< T >::set_obj T *  inst  )  [inline]
 

Definition at line 40 of file ioblock.H.

References IOBlockMeth< T >::_inst.


Member Data Documentation

template<class T>
T* IOBlockMeth< T >::_inst [protected]
 

Definition at line 34 of file ioblock.H.

Referenced by IOBlockMeth< T >::consume_block(), and IOBlockMeth< T >::set_obj().

template<class T>
METH IOBlockMeth< T >::_meth [protected]
 

Definition at line 33 of file ioblock.H.

Referenced by IOBlockMeth< T >::consume_block().

str_ptr IOBlock::_name [protected, inherited]
 

Definition at line 13 of file ioblock.H.

Referenced by IOBlock::name(), and IOBlock::operator==().


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