#include <ioblock.H>
Inheritance diagram for IOBlockMeth< T >:
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 |
Definition at line 29 of file ioblock.H.
|
|
|
|
|
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(). |
|
Implements IOBlock. Definition at line 38 of file ioblock.H. References IOBlockMeth< T >::_inst, and IOBlockMeth< T >::_meth. |
|
Definition at line 22 of file ioblock.H. References IOBlock::_name. Referenced by IOBlock::consume(). |
|
Definition at line 23 of file ioblock.H. References IOBlock::_name. |
|
Definition at line 40 of file ioblock.H. References IOBlockMeth< T >::_inst. |
|
Definition at line 34 of file ioblock.H. Referenced by IOBlockMeth< T >::consume_block(), and IOBlockMeth< T >::set_obj(). |
|
Definition at line 33 of file ioblock.H. Referenced by IOBlockMeth< T >::consume_block(). |
|
Definition at line 13 of file ioblock.H. Referenced by IOBlock::name(), and IOBlock::operator==(). |