Chemical Data Processing Library Python API - Version 1.1.1
|
Public Member Functions | |
None | __init__ (str string='', str mode='r+') |
Initializes the StringIOStream instance. More... | |
None | __init__ (str string='', OpenMode mode=IOStream.OpenMode(24)) |
Initializes the StringIOStream instance. More... | |
str | readline (int size=-1) |
list | readlines (int size=-1) |
StringIOStream | 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) |
bool | isatty () |
None | truncate (int length=-1) |
str | getvalue () |
None | setvalue (str value) |
StringIOStream | __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) | |
value = property(getvalue, setvalue) | |
Properties inherited from CDPL.Base.IStream | |
objectID = property(getObjectID) | |
Properties inherited from CDPL.Base.OStream | |
objectID = property(getObjectID) | |
None CDPL.Base.StringIOStream.__init__ | ( | str | string = '' , |
str | mode = 'r+' |
||
) |
Initializes the StringIOStream instance.
string | |
mode |
None CDPL.Base.StringIOStream.__init__ | ( | str | string = '' , |
OpenMode | mode = IOStream.OpenMode(24) |
||
) |
Initializes the StringIOStream instance.
string | |
mode |
str CDPL.Base.StringIOStream.readline | ( | int | size = -1 | ) |
size |
list CDPL.Base.StringIOStream.readlines | ( | int | size = -1 | ) |
size |
StringIOStream CDPL.Base.StringIOStream.xreadlines | ( | ) |
str CDPL.Base.StringIOStream.read | ( | int | size = -1 | ) |
size |
int CDPL.Base.StringIOStream.tell | ( | ) |
int CDPL.Base.StringIOStream.tellr | ( | ) |
None CDPL.Base.StringIOStream.seek | ( | int | offs, |
int | whence = 0 |
||
) |
offs | |
whence |
None CDPL.Base.StringIOStream.seekr | ( | int | offs, |
int | whence = 0 |
||
) |
offs | |
whence |
str CDPL.Base.StringIOStream.next | ( | ) |
bool CDPL.Base.StringIOStream.isClosed | ( | ) |
str CDPL.Base.StringIOStream.getOpenModeString | ( | ) |
OpenMode CDPL.Base.StringIOStream.getOpenModeFlags | ( | ) |
None CDPL.Base.StringIOStream.write | ( | object | string | ) |
string |
None CDPL.Base.StringIOStream.writelines | ( | object | iterable | ) |
iterable |
int CDPL.Base.StringIOStream.tellw | ( | ) |
None CDPL.Base.StringIOStream.seekw | ( | int | offs, |
int | whence = 0 |
||
) |
offs | |
whence |
bool CDPL.Base.StringIOStream.getSoftSpace | ( | ) |
None CDPL.Base.StringIOStream.setSoftSpace | ( | bool | value | ) |
value |
bool CDPL.Base.StringIOStream.isatty | ( | ) |
None CDPL.Base.StringIOStream.truncate | ( | int | length = -1 | ) |
length |
str CDPL.Base.StringIOStream.getvalue | ( | ) |
None CDPL.Base.StringIOStream.setvalue | ( | str | value | ) |
value |
StringIOStream CDPL.Base.StringIOStream.__iter__ | ( | ) |