#include "vsol_spatial_object_2d.h"
#include <vcl_iostream.h>
#include <vsol/vsol_box_2d.h>
#include <vsl/vsl_binary_loader.h>
Go to the source code of this file.
Functions | |
void | vsl_add_to_binary_loader (vsol_spatial_object_2d const &b) |
Allows derived class to be loaded by base-class pointer. |
Definition in file vsol_spatial_object_2d.cxx.
void vsl_add_to_binary_loader | ( | vsol_spatial_object_2d const & | 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(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 175 of file vsol_spatial_object_2d.cxx.