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

Public Member Functions

None __init__ ()
 Initializes the BZip2IOStream instance.
 
None __init__ (Base.IOStream ios)
 Initializes the BZip2IOStream instance. More...
 
str readline (int size=-1)
 
list readlines (int size=-1)
 
BZip2IOStream 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)
 
BZip2IOStream __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.BZip2IOStream.__init__ ( Base.IOStream  ios)

Initializes the BZip2IOStream instance.

Parameters
ios

Member Function Documentation

◆ readline()

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

◆ readlines()

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

◆ xreadlines()

BZip2IOStream CDPL.Util.BZip2IOStream.xreadlines ( )
Returns

◆ read()

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

◆ tell()

int CDPL.Util.BZip2IOStream.tell ( )
Returns

◆ tellr()

int CDPL.Util.BZip2IOStream.tellr ( )
Returns

◆ seek()

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

◆ seekr()

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

◆ next()

str CDPL.Util.BZip2IOStream.next ( )
Returns

◆ isClosed()

bool CDPL.Util.BZip2IOStream.isClosed ( )
Returns

◆ getOpenModeString()

str CDPL.Util.BZip2IOStream.getOpenModeString ( )
Returns

◆ getOpenModeFlags()

OpenMode CDPL.Util.BZip2IOStream.getOpenModeFlags ( )
Returns

◆ write()

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

◆ writelines()

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

◆ tellw()

int CDPL.Util.BZip2IOStream.tellw ( )
Returns

◆ seekw()

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

◆ getSoftSpace()

bool CDPL.Util.BZip2IOStream.getSoftSpace ( )
Returns

◆ setSoftSpace()

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

◆ open()

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

◆ __iter__()

BZip2IOStream CDPL.Util.BZip2IOStream.__iter__ ( )
Returns