Functions
contrib/mul/vpdfl/vpdfl_builder_base.cxx File Reference

Base for classes to build vpdfl_pdf_base objects. More...

#include "vpdfl_builder_base.h"
#include <vsl/vsl_indent.h>
#include <vsl/vsl_binary_loader.h>
#include <vpdfl/vpdfl_axis_gaussian_builder.h>
#include <vpdfl/vpdfl_gaussian_kernel_pdf_builder.h>
#include <vpdfl/vpdfl_gaussian_builder.h>
#include <mbl/mbl_read_props.h>
#include <mbl/mbl_cloneables_factory.h>
#include <mbl/mbl_parse_block.h>
#include <mbl/mbl_exception.h>

Go to the source code of this file.

Functions

void vsl_add_to_binary_loader (const vpdfl_builder_base &b)
 Allows derived class to be loaded by base-class pointer.
void vsl_b_write (vsl_b_ostream &bfs, const vpdfl_builder_base &b)
 Binary file stream output operator for class reference.
void vsl_b_read (vsl_b_istream &bfs, vpdfl_builder_base &b)
 Binary file stream input operator for class reference.
void vsl_print_summary (vcl_ostream &os, const vpdfl_builder_base &b)
 Stream output operator for class reference.
void vsl_print_summary (vcl_ostream &os, const vpdfl_builder_base *b)
 Stream output operator for class pointer.
vcl_ostream & operator<< (vcl_ostream &os, const vpdfl_builder_base &b)
 Stream output operator for class reference.
vcl_ostream & operator<< (vcl_ostream &os, const vpdfl_builder_base *b)
 Stream output operator for class pointer.

Detailed Description

Base for classes to build vpdfl_pdf_base objects.

Author:
Tim Cootes
Date:
12-Apr-2001

Definition in file vpdfl_builder_base.cxx.


Function Documentation

vcl_ostream& operator<< ( vcl_ostream &  os,
const vpdfl_builder_base b 
)

Stream output operator for class reference.

Definition at line 126 of file vpdfl_builder_base.cxx.

vcl_ostream& operator<< ( vcl_ostream &  os,
const vpdfl_builder_base b 
)

Stream output operator for class pointer.

Definition at line 135 of file vpdfl_builder_base.cxx.

void vsl_add_to_binary_loader ( const vpdfl_builder_base b)

Allows derived class to be loaded by base-class pointer.

A loader object exists which is invoked by calls of the form "bfs>>base_ptr;". This loads derived class objects from the disk, places them on the heap and returns a base class pointer. In order to work the loader object requires an instance of each derived class that might be found. This function gives the model class to the appropriate loader.

Definition at line 34 of file vpdfl_builder_base.cxx.

void vsl_b_read ( vsl_b_istream bfs,
vpdfl_builder_base b 
)

Binary file stream input operator for class reference.

Definition at line 98 of file vpdfl_builder_base.cxx.

void vsl_b_write ( vsl_b_ostream bfs,
const vpdfl_builder_base b 
)

Binary file stream output operator for class reference.

Definition at line 91 of file vpdfl_builder_base.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const vpdfl_builder_base b 
)

Stream output operator for class reference.

Definition at line 105 of file vpdfl_builder_base.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const vpdfl_builder_base b 
)

Stream output operator for class pointer.

Definition at line 115 of file vpdfl_builder_base.cxx.