
#include <pup.h>


Public Member Functions | |
| fromTextFile (FILE *f_) | |
| fromTextFile (const fromTextFile &p) | |
| void | operator= (const fromTextFile &p) |
| virtual void | comment (const char *message) |
| A descriptive (but entirely optional) human-readable comment field. | |
Protected Member Functions | |
| int | readInt (const char *fmt="%d") |
| unsigned int | readUint (const char *fmt="%u") |
| CMK_TYPEDEF_INT8 | readLongInt (const char *fmt="%lld") |
| double | readDouble (void) |
| virtual void | bytes (void *p, int n, size_t itemSize, dataType t) |
| virtual void | parseError (const char *what) |
Protected Attributes | |
| FILE * | f |
Definition at line 517 of file pup.h.
| PUP::fromTextFile::fromTextFile | ( | const fromTextFile & | p | ) |
| int PUP::fromTextFile::readInt | ( | const char * | fmt = "%d" |
) | [protected] |
| unsigned int PUP::fromTextFile::readUint | ( | const char * | fmt = "%u" |
) | [protected] |
| CMK_TYPEDEF_INT8 PUP::fromTextFile::readLongInt | ( | const char * | fmt = "%lld" |
) | [protected] |
| double PUP::fromTextFile::readDouble | ( | void | ) | [protected] |
Implements PUP::er.
Reimplemented in fromProjectionsFile.
Definition at line 668 of file pup_util.C.
References CmiAbort(), CmiFalse, CmiTrue, f, parseError(), readDouble(), readInt(), readUint(), PUP::Tbool, PUP::Tbyte, PUP::Tchar, PUP::Tdouble, PUP::Tfloat, PUP::Tint, PUP::Tlong, PUP::Tlongdouble, PUP::Tlonglong, PUP::Tpointer, PUP::Tshort, PUP::Tuchar, PUP::Tuint, PUP::Tulong, PUP::Tulonglong, and PUP::Tushort.
| void PUP::fromTextFile::parseError | ( | const char * | what | ) | [protected, virtual] |
Definition at line 622 of file pup_util.C.
References c, CmiAbort(), and f.
Referenced by bytes(), readDouble(), readInt(), readLongInt(), and readUint().
| void PUP::fromTextFile::operator= | ( | const fromTextFile & | p | ) |
| void PUP::fromTextFile::comment | ( | const char * | message | ) | [virtual] |
A descriptive (but entirely optional) human-readable comment field.
Reimplemented from PUP::er.
Definition at line 723 of file pup_util.C.
References c, CmiTmpAlloc(), CmiTmpFree(), and f.
FILE* PUP::fromTextFile::f [protected] |
Definition at line 519 of file pup.h.
Referenced by bytes(), comment(), parseError(), readDouble(), readInt(), readLongInt(), and readUint().
1.5.5