binary_in_file Class Reference

#include <binary_file.h>

Inheritance diagram for binary_in_file:

in_file_format

Detailed Description

Binary input file.

Definition at line 137 of file binary_file.h.


Public Member Functions

 binary_in_file (std::string file_name)
 Read an input file with name file_name.
virtual int bool_in (bool &dat, std::string name="")
 Input a bool variable.
virtual int char_in (char &dat, std::string name="")
 Input a char variable.
virtual int double_in (double &dat, std::string name="")
 Input a double variable.
virtual int float_in (float &dat, std::string name="")
 Input a float variable.
virtual int int_in (int &dat, std::string name="")
 Input an int variable.
virtual int long_in (unsigned long int &dat, std::string name="")
 Input an long variable.
virtual int string_in (std::string &dat, std::string name="")
 Input a string variable.
virtual int word_in (std::string &dat, std::string name="")
 Input a word variable.
virtual int init_file ()
 Read the initialization.
virtual int clean_up ()
 Clean up the file.
virtual int start_object (std::string &type, std::string &name)
 Begin reading an object.
virtual int skip_object ()
 Skip the present object for the next call to read_type().
virtual int end_object ()
 Finish reading an object.

Protected Attributes

std::ifstream ins
 The input stream.

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.