28 #ifndef _util_state_state_text_h
29 #define _util_state_state_text_h
35 #include <util/state/state_file.h>
66 int put_array_uint(
const unsigned int*,
int);
67 int put_array_int(
const int*,
int);
68 int put_array_float(
const float*,
int);
69 int put_array_double(
const double*,
int);
72 int put(
unsigned int r);
76 int put(
const char*,
int);
77 int put(
const unsigned int*,
int);
78 int put(
const int*,
int);
79 int put(
const float*,
int);
80 int put(
const double*,
int);
98 int read(
unsigned int&);
116 int get_array_uint(
unsigned int*,
int);
117 int get_array_int(
int*,
int);
118 int get_array_float(
float*,
int);
119 int get_array_double(
double*,
int);
121 int get(
char&r,
const char *key = 0);
122 int get(
unsigned int&r,
const char *key = 0);
123 int get(
int&r,
const char *key = 0);
124 int get(
float&r,
const char *key = 0);
125 int get(
double&r,
const char *key = 0);
127 int get(
unsigned int*&);
Reads state information from a file.
Definition: state_file.h:75
int get_array_char(char *, int)
These restore data saved with StateOut's put.
int getstring(char *&)
This restores strings saved with StateOut::putstring.
A template class that maintains references counts.
Definition: ref.h:332
int getobject(Ref< SavableState > &)
This is used to restore an object.
Writes out state information in an almost human readable format.
Definition: state_text.h:44
int put(const ClassDesc *)
Write out information about the given ClassDesc.
This class is used to contain information about classes.
Definition: class.h:158
int get(char *&)
These restore data saved with StateOut's put.
int get(char &r, const char *key=0)
These restore data saved with StateOut's put. members.
int put(const char *, int)
Write the given array data.
int putobject(const Ref< SavableState > &)
This will prepare StateOut to output a pointer to data.
int get(const ClassDesc **)
This restores ClassDesc's.
Reads state information written with StateOutText.
Definition: state_text.h:85
Writes state information to files.
Definition: state_file.h:47
int putstring(const char *)
This is like put except the length of the char array is determined by interpreting the character arra...
int put(char r)
Write the given datum.
int put_array_char(const char *, int)
Put arrays of data.
Generated at Sun Oct 4 2020 19:59:52 for MPQC
2.3.1 using the documentation package Doxygen
1.8.18.