Classes | Functions
contrib/mul/pdf1d/pdf1d_compare_to_pdf.h File Reference

Base for classes with test whether data could come from a given pdf. More...

#include <pdf1d/pdf1d_pdf.h>
#include <pdf1d/pdf1d_builder.h>
#include <vnl/vnl_fwd.h>
#include <mbl/mbl_cloneable_ptr.h>
#include <vsl/vsl_binary_io.h>
#include <vcl_string.h>
#include <vcl_iosfwd.h>

Go to the source code of this file.

Classes

class  pdf1d_compare_to_pdf
 Base for classes with test whether data could come from a given pdf. More...

Functions

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

Detailed Description

Base for classes with test whether data could come from a given pdf.

Author:
Tim Cootes

Definition in file pdf1d_compare_to_pdf.h.


Function Documentation

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

Stream output operator for class reference.

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

Stream output operator for class pointer.

void vsl_add_to_binary_loader ( const pdf1d_compare_to_pdf 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.

void vsl_b_read ( vsl_b_istream bfs,
pdf1d_compare_to_pdf b 
)

Binary file stream input operator for class reference.

void vsl_b_write ( vsl_b_ostream bfs,
const pdf1d_compare_to_pdf b 
)

Binary file stream output operator for class reference.

void vsl_print_summary ( vcl_ostream &  os,
const pdf1d_compare_to_pdf b 
)

Stream output operator for class reference.

Definition at line 128 of file pdf1d_compare_to_pdf.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const pdf1d_compare_to_pdf b 
)

Stream output operator for class pointer.

Definition at line 138 of file pdf1d_compare_to_pdf.cxx.