Public Member Functions
mbl_data_collector_base Class Reference

Non-templated base class for mbl_data_collector<T>. More...

#include <mbl_data_collector_base.h>

Inheritance diagram for mbl_data_collector_base:
Inheritance graph
[legend]

List of all members.

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.

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 19 of file mbl_data_collector_base.h.


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

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

Load class from binary file stream.

Implemented in mbl_stochastic_data_collector< T >, mbl_file_data_collector< T >, and mbl_data_collector_list< 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_stochastic_data_collector< T >, mbl_file_data_collector< T >, and mbl_data_collector_list< T >.

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_stochastic_data_collector< T >, mbl_file_data_collector< T >, and mbl_data_collector_list< T >.

vcl_string mbl_data_collector_base::is_a ( ) const [virtual]
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_stochastic_data_collector< T >, mbl_file_data_collector< T >, and mbl_data_collector_list< T >.

Definition at line 43 of file mbl_data_collector_base.cxx.

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

The documentation for this class was generated from the following files: