BasicTools.IO.WriterBase module

Base writer object from which all the writer of BasicTools inherit

BasicTools.IO.WriterBase.CheckIntegrity()[source]
class BasicTools.IO.WriterBase.WriterBase(fileName=None)[source]

Bases: BaseOutputObject

WriterBase class

Close()[source]
InAppendMode()[source]
IsMultidomainOutput()[source]
IsTemporalOutput()[source]
Open(filename=None)[source]
SetAppendMode(mode=True)[source]
SetBinary(val=True)[source]

Sets the binary status of the file to read

Parameters:

val (bool, optional) – if True, sets the file to read as binary, by default True

SetFileName(fileName)[source]

Sets the name of file to read

Parameters:

fileName (str) – file name to set

SetMultidomain(val=True)[source]
SetTemporal(val=True)[source]
isBinary()[source]
isOpen()[source]
writeText(text)[source]