Chemical Data Processing Library Python API - Version 1.1.1
Public Member Functions | Properties | List of all members
CDPL.Util.GZipIOStream Class Reference
+ Inheritance diagram for CDPL.Util.GZipIOStream:

Public Member Functions

None __init__ ()
 Initializes the GZipIOStream instance.
 
None __init__ (Base.IOStream ios)
 Initializes the GZipIOStream instance. More...
 
str readline (int size=-1)
 
list readlines (int size=-1)
 
GZipIOStream xreadlines ()
 
str read (int size=-1)
 
int tell ()
 
int tellr ()
 
None seek (int offs, int whence=0)
 
None seekr (int offs, int whence=0)
 
str next ()
 
bool isClosed ()
 
str getOpenModeString ()
 
OpenMode getOpenModeFlags ()
 
None flush ()
 
None write (object string)
 
None writelines (object iterable)
 
int tellw ()
 
None seekw (int offs, int whence=0)
 
bool getSoftSpace ()
 
None setSoftSpace (bool value)
 
None close ()
 
None open (Base.IOStream ios)
 
GZipIOStream __iter__ ()
 
- Public Member Functions inherited from CDPL.Base.IStream
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 
- Public Member Functions inherited from CDPL.Base.OStream
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 

Properties

 closed = property(isClosed)
 
 mode = property(getOpenModeString)
 
 modeFlags = property(getOpenModeFlags)
 
 softspace = property(getSoftSpace, setSoftSpace)
 
- Properties inherited from CDPL.Base.IStream
 objectID = property(getObjectID)
 
- Properties inherited from CDPL.Base.OStream
 objectID = property(getObjectID)
 

Constructor & Destructor Documentation

◆ __init__()

None CDPL.Util.GZipIOStream.__init__ ( Base.IOStream  ios)

Initializes the GZipIOStream instance.

Parameters
ios

Member Function Documentation

◆ readline()

str CDPL.Util.GZipIOStream.readline ( int   size = -1)
Parameters
size
Returns

◆ readlines()

list CDPL.Util.GZipIOStream.readlines ( int   size = -1)
Parameters
size
Returns

◆ xreadlines()

GZipIOStream CDPL.Util.GZipIOStream.xreadlines ( )
Returns

◆ read()

str CDPL.Util.GZipIOStream.read ( int   size = -1)
Parameters
size
Returns

◆ tell()

int CDPL.Util.GZipIOStream.tell ( )
Returns

◆ tellr()

int CDPL.Util.GZipIOStream.tellr ( )
Returns

◆ seek()

None CDPL.Util.GZipIOStream.seek ( int  offs,
int   whence = 0 
)
Parameters
offs
whence

◆ seekr()

None CDPL.Util.GZipIOStream.seekr ( int  offs,
int   whence = 0 
)
Parameters
offs
whence

◆ next()

str CDPL.Util.GZipIOStream.next ( )
Returns

◆ isClosed()

bool CDPL.Util.GZipIOStream.isClosed ( )
Returns

◆ getOpenModeString()

str CDPL.Util.GZipIOStream.getOpenModeString ( )
Returns

◆ getOpenModeFlags()

OpenMode CDPL.Util.GZipIOStream.getOpenModeFlags ( )
Returns

◆ write()

None CDPL.Util.GZipIOStream.write ( object  string)
Parameters
string

◆ writelines()

None CDPL.Util.GZipIOStream.writelines ( object  iterable)
Parameters
iterable

◆ tellw()

int CDPL.Util.GZipIOStream.tellw ( )
Returns

◆ seekw()

None CDPL.Util.GZipIOStream.seekw ( int  offs,
int   whence = 0 
)
Parameters
offs
whence

◆ getSoftSpace()

bool CDPL.Util.GZipIOStream.getSoftSpace ( )
Returns

◆ setSoftSpace()

None CDPL.Util.GZipIOStream.setSoftSpace ( bool  value)
Parameters
value

◆ open()

None CDPL.Util.GZipIOStream.open ( Base.IOStream  ios)
Parameters
ios

◆ __iter__()

GZipIOStream CDPL.Util.GZipIOStream.__iter__ ( )
Returns