Functions
contrib/mul/mcal/mcal_single_basis_cost.cxx File Reference
#include "mcal_single_basis_cost.h"
#include <vcl_cstdlib.h>
#include <mbl/mbl_exception.h>
#include <mbl/mbl_cloneables_factory.h>
#include <mbl/mbl_parse_block.h>
#include <vsl/vsl_indent.h>
#include <vsl/vsl_binary_loader.h>

Go to the source code of this file.

Functions

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

Detailed Description

Definition in file mcal_single_basis_cost.cxx.


Function Documentation

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

Stream output operator for class reference.

Definition at line 105 of file mcal_single_basis_cost.cxx.

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

Stream output operator for class pointer.

Definition at line 118 of file mcal_single_basis_cost.cxx.

void vsl_add_to_binary_loader ( const mcal_single_basis_cost b)

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

A loader object exists which is invoked by calls of the form "vsl_b_read(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 33 of file mcal_single_basis_cost.cxx.

void vsl_b_read ( vsl_b_istream bfs,
mcal_single_basis_cost b 
)

Binary file stream input operator for class reference.

Definition at line 96 of file mcal_single_basis_cost.cxx.

void vsl_b_write ( vsl_b_ostream bfs,
const mcal_single_basis_cost b 
)

Binary file stream output operator for class reference.

Definition at line 87 of file mcal_single_basis_cost.cxx.