.TH "sc::StateOutText" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::StateOutText \- Writes out state information in an almost human readable format\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::StateOutFile\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBStateOutText\fP (std::ostream &s)" .br .ti -1c .RI "\fBStateOutText\fP (const char *)" .br .ti -1c .RI "int \fBputstring\fP (const char *)" .br .RI "This is like put except the length of the char array is determined by interpreting the character array as a character string\&. " .ti -1c .RI "int \fBput_array_char\fP (const char *, int)" .br .RI "Put arrays of data\&. " .ti -1c .RI "int \fBput_array_uint\fP (const unsigned int *, int)" .br .ti -1c .RI "int \fBput_array_int\fP (const int *, int)" .br .ti -1c .RI "int \fBput_array_float\fP (const float *, int)" .br .ti -1c .RI "int \fBput_array_double\fP (const double *, int)" .br .ti -1c .RI "int \fBput\fP (const \fBClassDesc\fP *)" .br .RI "Write out information about the given \fBClassDesc\fP\&. " .ti -1c .RI "int \fBput\fP (char r)" .br .RI "Write the given datum\&. " .ti -1c .RI "int \fBput\fP (unsigned int r)" .br .ti -1c .RI "int \fBput\fP (int r)" .br .ti -1c .RI "int \fBput\fP (float r)" .br .ti -1c .RI "int \fBput\fP (double r)" .br .ti -1c .RI "int \fBput\fP (const char *, int)" .br .RI "Write the given array data\&. " .ti -1c .RI "int \fBput\fP (const unsigned int *, int)" .br .ti -1c .RI "int \fBput\fP (const int *, int)" .br .ti -1c .RI "int \fBput\fP (const float *, int)" .br .ti -1c .RI "int \fBput\fP (const double *, int)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "void \fBno_newline\fP ()" .br .ti -1c .RI "void \fBno_array\fP ()" .br .ti -1c .RI "void \fBnewline\fP ()" .br .ti -1c .RI "void \fBstart_array\fP ()" .br .ti -1c .RI "void \fBend_array\fP ()" .br .ti -1c .RI "int \fBputobject\fP (const \fBRef\fP< \fBSavableState\fP > &)" .br .RI "This will prepare \fBStateOut\fP to output a pointer to data\&. " .ti -1c .RI "int \fBputparents\fP (const \fBClassDesc\fP *)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "int \fBno_newline_\fP" .br .ti -1c .RI "int \fBno_array_\fP" .br .in -1c .SH "Detailed Description" .PP Writes out state information in an almost human readable format\&. \fBStateOutText\fP is intended for debugging only\&. The state information can read in again with \fBStateInText\fP\&. .SH "Member Function Documentation" .PP .SS "int sc::StateOutText::put (const char *, int)\fC [virtual]\fP" .PP Write the given array data\&. Size information is also saved\&. The data is allocated and read by the get(T*&) routines\&. .PP Reimplemented from \fBsc::StateOut\fP\&. .SS "int sc::StateOutText::put_array_char (const char * p, int size)\fC [virtual]\fP" .PP Put arrays of data\&. No size information is stored\&. This data is read by the get_array_T routines\&. .PP Reimplemented from \fBsc::StateOut\fP\&. .SS "int sc::StateOutText::putobject (const \fBRef\fP< \fBSavableState\fP > &)\fC [protected]\fP, \fC [virtual]\fP" .PP This will prepare \fBStateOut\fP to output a pointer to data\&. It first checks to see if the data has already been saved\&. If it has, then a reference to this data is saved\&. Otherwise the object is written out\&. .PP Reimplemented from \fBsc::StateOut\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.