OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::gzstreambase Class Reference

#include <gzstream.hpp>

Inheritance diagram for OpenMD::gzstreambase:
OpenMD::igzstream OpenMD::ogzstream

Public Member Functions

 gzstreambase ()
 
 gzstreambase (const char *name, int open_mode)
 
 ~gzstreambase ()
 
void open (const char *name, int open_mode)
 
void close ()
 
gzstreambufrdbuf ()
 

Protected Attributes

gzstreambuf buf
 

Detailed Description

Definition at line 73 of file gzstream.hpp.

Constructor & Destructor Documentation

◆ gzstreambase() [1/2]

OpenMD::gzstreambase::gzstreambase ( )
inline

Definition at line 77 of file gzstream.hpp.

References OpenMD::gzstreambuf::close(), and OpenMD::gzstreambuf::open().

◆ gzstreambase() [2/2]

OpenMD::gzstreambase::gzstreambase ( const char *  name,
int  open_mode 
)

Definition at line 138 of file gzstream.cpp.

References OpenMD::gzstreambuf::open().

◆ ~gzstreambase()

OpenMD::gzstreambase::~gzstreambase ( )

Definition at line 143 of file gzstream.cpp.

Member Function Documentation

◆ close()

void OpenMD::gzstreambase::close ( )

Definition at line 152 of file gzstream.cpp.

◆ open()

void OpenMD::gzstreambase::open ( const char *  name,
int  open_mode 
)

Definition at line 147 of file gzstream.cpp.

Referenced by OpenMD::igzstream::open(), and OpenMD::ogzstream::open().

◆ rdbuf()

gzstreambuf* OpenMD::gzstreambase::rdbuf ( )
inline

Definition at line 82 of file gzstream.hpp.

Referenced by OpenMD::igzstream::rdbuf(), and OpenMD::ogzstream::rdbuf().

Member Data Documentation

◆ buf

gzstreambuf OpenMD::gzstreambase::buf
protected

Definition at line 75 of file gzstream.hpp.


The documentation for this class was generated from the following files: