gensrc.utilities.buffer.Buffer Class Reference
Inheritance diagram for gensrc.utilities.buffer.Buffer:
Collaboration diagram for gensrc.utilities.buffer.Buffer:
Public Member Functions | |
def | set (self, dict) |
public interface More... | |
def | append (self, text) |
def | text (self) |
def | stubFileName (self) |
def | serialize (self, serializer) |
serializer interface More... | |
def | postSerialize (self) |
Public Attributes | |
buffer_ | |
fullFileName_ | |
relativeFileName_ | |
text_ | |
Static Public Attributes | |
string | groupName_ = 'Buffers' |
class variables | |
Detailed Description
Class to encapsulate state and behavior for a named file buffer.
Member Function Documentation
◆ append()
def gensrc.utilities.buffer.Buffer.append | ( | self, | |
text | |||
) |
Append text to this buffer.
◆ postSerialize()
def gensrc.utilities.buffer.Buffer.postSerialize | ( | self | ) |
Load the named buffer.
◆ serialize()
def gensrc.utilities.buffer.Buffer.serialize | ( | self, | |
serializer | |||
) |
serializer interface
Load/unload class state to/from serializer object.
◆ set()
def gensrc.utilities.buffer.Buffer.set | ( | self, | |
dict | |||
) |
public interface
Set and return the text of this buffer.
◆ stubFileName()
def gensrc.utilities.buffer.Buffer.stubFileName | ( | self | ) |
Return the name of the stub file for this buffer.
◆ text()
def gensrc.utilities.buffer.Buffer.text | ( | self | ) |
Return the text of this buffer.
The documentation for this class was generated from the following file:
- buffer.py