SCIRun
5.0
|
#include <GZstream.h>
Public Member Functions | |
GZPiostream (const std::string &filename, Direction dir, const int &v=-1, ProgressReporter *pr=0) | |
GZPiostream (int fd, Direction dir, const int &v=-1, ProgressReporter *pr=0) | |
virtual | ~GZPiostream () |
virtual void | io (char &) |
virtual void | io (signed char &) |
virtual void | io (unsigned char &) |
virtual void | io (short &) |
virtual void | io (unsigned short &) |
virtual void | io (int &) |
virtual void | io (unsigned int &) |
virtual void | io (long &) |
virtual void | io (unsigned long &) |
virtual void | io (long long &) |
virtual void | io (unsigned long long &) |
virtual void | io (double &) |
virtual void | io (float &) |
virtual void | io (std::string &str) |
virtual bool | supports_block_io () |
virtual bool | block_io (void *, size_t, size_t) |
Public Member Functions inherited from Piostream | |
void | flag_error () |
virtual | ~Piostream () |
virtual std::string | peek_class () |
virtual int | begin_class (const std::string &name, int current_version) |
virtual void | end_class () |
virtual void | begin_cheap_delim () |
virtual void | end_cheap_delim () |
virtual void | io (bool &) |
virtual bool | eof () |
void | io (Persistent *&, const PersistentTypeID &) |
bool | reading () const |
bool | writing () const |
bool | error () const |
int | version () const |
bool | backwards_compat_id () const |
void | set_backwards_compat_id (bool p) |
void | disable_pointer_hashing () |
Protected Member Functions | |
virtual const char * | endianness () |
virtual void | reset_post_header () |
Protected Member Functions inherited from Piostream | |
Piostream (Direction, int, const std::string &, Core::Logging::LoggerHandle pr) | |
Piostream class implementation More... | |
virtual void | emit_pointer (int &have_data, int &pointer_id) |
Protected Attributes | |
gzFile | fp_ |
Protected Attributes inherited from Piostream | |
Direction | dir |
int | version_ |
bool | err |
int | file_endian |
MapPersistentInt * | outpointers |
MapIntPersistent * | inpointers |
int | current_pointer_id |
bool | have_peekname_ |
std::string | peekname_ |
Core::Logging::LoggerHandle | reporter_ |
bool | backwards_compat_id_ |
bool | disable_pointer_hashing_ |
Additional Inherited Members | |
Public Types inherited from Piostream | |
enum | Direction { Read, Write } |
enum | Endian { Big, Little } |
typedef std::map< Persistent *, int > | MapPersistentInt |
typedef std::map< int, Persistent * > | MapIntPersistent |
Static Public Member Functions inherited from Piostream | |
static bool | readHeader (Core::Logging::LoggerHandle pr, const std::string &filename, char *hdr, const char *type, int &version, int &endian) |
Public Attributes inherited from Piostream | |
std::string | file_name |
Static Public Attributes inherited from Piostream | |
static const int | PERSISTENT_VERSION = 2 |
GZPiostream | ( | const std::string & | filename, |
Direction | dir, | ||
const int & | v = -1 , |
||
ProgressReporter * | pr = 0 |
||
) |
GZPiostream | ( | int | fd, |
Direction | dir, | ||
const int & | v = -1 , |
||
ProgressReporter * | pr = 0 |
||
) |
|
virtual |
|
virtual |
Reimplemented from Piostream.
Reimplemented in GZSwapPiostream.
|
protectedvirtual |
Reimplemented in GZSwapPiostream.
|
virtual |
Implements Piostream.
|
virtual |
Implements Piostream.
|
virtual |
Implements Piostream.
|
virtual |
Implements Piostream.
Reimplemented in GZSwapPiostream.
|
virtual |
Implements Piostream.
Reimplemented in GZSwapPiostream.
|
virtual |
Implements Piostream.
Reimplemented in GZSwapPiostream.
|
virtual |
Implements Piostream.
Reimplemented in GZSwapPiostream.
|
virtual |
Implements Piostream.
Reimplemented in GZSwapPiostream.
|
virtual |
Implements Piostream.
Reimplemented in GZSwapPiostream.
|
virtual |
Implements Piostream.
Reimplemented in GZSwapPiostream.
|
virtual |
Implements Piostream.
Reimplemented in GZSwapPiostream.
|
virtual |
Implements Piostream.
Reimplemented in GZSwapPiostream.
|
virtual |
Implements Piostream.
Reimplemented in GZSwapPiostream.
|
virtual |
Implements Piostream.
|
protectedvirtual |
Implements Piostream.
|
inlinevirtual |
Reimplemented from Piostream.
Reimplemented in GZSwapPiostream.
|
protected |