cinput Class Reference

#include <collection.h>


Detailed Description

Class to control object input.

Definition at line 854 of file collection.h.


Public Member Functions

int object_in (std::string type, in_file_format *ins, void *vp, std::string &name)
 Input an object.
int object_in (std::string type, in_file_format *ins, void *vp, int sz, std::string &name)
 Input an array of objects.
int object_in (std::string type, in_file_format *ins, void *vp, int sz, int sz2, std::string &name)
 Input a 2-d array of objects.
int object_in_mem (std::string type, in_file_format *ins, void *&vp, std::string &name)
 Input an object, allocating memory first.
int object_in_mem (std::string type, in_file_format *ins, void *&vp, int &sz, std::string &name)
 Input an array of objects, allocating memory first.
int object_in_mem (std::string type, in_file_format *ins, void *&vp, int &sz, int &sz2, std::string &name)
 Input a 2-d array of objects, allocating memory first.

Protected Types

typedef std::vector
< pointer_input >
::iterator 
ipiter
 An iterator for the input pointers.

Protected Member Functions

 cinput (collection *co)
 Create a new input object for a collection.
int assign_pointers (collection *co)
 Assign all of the pointers read with the appropriate objects.

Protected Attributes

std::vector
< pointer_input
input_ptrs
 The pointers that need to be set.
collectioncop
 The pointer to the collection stored in the constructor.

The documentation for this class was generated from the following file:
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.