in_file_format Class Reference

Class for input file formats [abstract base]. More...

#include <file_format.h>

Inheritance diagram for in_file_format:

binary_in_file text_in_file

Detailed Description

Class for input file formats [abstract base].

This class is experimental.

Definition at line 111 of file file_format.h.


Public Member Functions

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

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.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page