contrib/brl/bbas/bgrl/bgrl_vertex.cxx File Reference


Detailed Description

Definition in file bgrl_vertex.cxx.

#include "bgrl_vertex.h"
#include "bgrl_edge.h"
#include <vsl/vsl_binary_io.h>
#include <vsl/vsl_binary_loader.h>
#include <vsl/vsl_set_io.h>
#include <vbl/io/vbl_io_smart_ptr.h>

Go to the source code of this file.


Functions

void vsl_add_to_binary_loader (const bgrl_vertex &v)
 Allows derived class to be loaded by base-class pointer.
void vsl_print_summary (vcl_ostream &os, const bgrl_vertex *v)
 Print an ASCII summary to the stream.

Function Documentation

void vsl_add_to_binary_loader ( const bgrl_vertex v  ) 

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(os,base_ptr);". This loads derived class objects from the stream, 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 269 of file bgrl_vertex.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const bgrl_vertex v 
)

Print an ASCII summary to the stream.

Definition at line 277 of file bgrl_vertex.cxx.


Generated on Sun Sep 7 05:19:59 2008 for contrib/brl/bbas/bgrl by  doxygen 1.5.1