mbl_data_collector_base Class Reference

#include <mbl_data_collector_base.h>

Inheritance diagram for mbl_data_collector_base:

mbl_data_collector< T > mbl_data_collector_list< T > mbl_file_data_collector< T > mbl_stochastic_data_collector< T > List of all members.

Detailed Description

Non-templated base class for mbl_data_collector<T>.

Provided mainly because the Visual C++ compiler can't cope with the double template instantiation for the binary IO

Definition at line 18 of file mbl_data_collector_base.h.


Public Member Functions

 mbl_data_collector_base ()
 Dflt ctor.
virtual ~mbl_data_collector_base ()
 Destructor.
virtual vcl_string is_a () const
 Name of the class.
virtual bool is_class (vcl_string const &s) const
 Does the name of the class match the argument?.
virtual mbl_data_collector_baseclone () const=0
 Create a copy on the heap and return base class pointer.
virtual void print_summary (vcl_ostream &os) const=0
 Print class to os.
virtual void b_write (vsl_b_ostream &bfs) const=0
 Save class to binary file stream.
virtual void b_read (vsl_b_istream &bfs)=0
 Load class from binary file stream.

Constructor & Destructor Documentation

mbl_data_collector_base::mbl_data_collector_base (  ) 

Dflt ctor.

Definition at line 17 of file mbl_data_collector_base.cxx.

mbl_data_collector_base::~mbl_data_collector_base (  )  [virtual]

Destructor.

Definition at line 23 of file mbl_data_collector_base.cxx.


Member Function Documentation

vcl_string mbl_data_collector_base::is_a (  )  const [virtual]

Name of the class.

Reimplemented in mbl_data_collector_list< T >, mbl_file_data_collector< T >, and mbl_stochastic_data_collector< T >.

Definition at line 36 of file mbl_data_collector_base.cxx.

bool mbl_data_collector_base::is_class ( vcl_string const &  s  )  const [virtual]

Does the name of the class match the argument?.

Reimplemented in mbl_data_collector_list< T >, mbl_file_data_collector< T >, and mbl_stochastic_data_collector< T >.

Definition at line 43 of file mbl_data_collector_base.cxx.

virtual mbl_data_collector_base* mbl_data_collector_base::clone (  )  const [pure virtual]

Create a copy on the heap and return base class pointer.

Implemented in mbl_data_collector_list< T >, mbl_file_data_collector< T >, and mbl_stochastic_data_collector< T >.

virtual void mbl_data_collector_base::print_summary ( vcl_ostream &  os  )  const [pure virtual]

Print class to os.

Implemented in mbl_data_collector_list< T >, mbl_file_data_collector< T >, and mbl_stochastic_data_collector< T >.

virtual void mbl_data_collector_base::b_write ( vsl_b_ostream bfs  )  const [pure virtual]

Save class to binary file stream.

Implemented in mbl_data_collector_list< T >, mbl_file_data_collector< T >, and mbl_stochastic_data_collector< T >.

virtual void mbl_data_collector_base::b_read ( vsl_b_istream bfs  )  [pure virtual]

Load class from binary file stream.

Implemented in mbl_data_collector_list< T >, mbl_file_data_collector< T >, and mbl_stochastic_data_collector< T >.


The documentation for this class was generated from the following files:
Generated on Sun Oct 12 05:10:35 2008 for contrib/mul/mbl by  doxygen 1.5.1