SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
python.learner.formatter.GridImageFormatter.GridImageFormatter Class Reference
Inheritance diagram for python.learner.formatter.GridImageFormatter.GridImageFormatter:

Public Member Functions

 deserialize (self, serializationStream)
 Deserializes the Grid memento object from the stream.
 
 deserializeFromFile (self, filename)
 Deserializes the Grid object from the file.
 
 serialize (self, memento, streamserializationStream)
 Serializes grid to the stream.
 
 serializeToFile (self, memento, filename)
 Serializes grid to the file.
 

Member Function Documentation

◆ deserialize()

◆ deserializeFromFile()

python.learner.formatter.GridImageFormatter.GridImageFormatter.deserializeFromFile (   self,
  filename 
)

Deserializes the Grid object from the file.

The file may or may be not gzip compressed.

Parameters
filenameThe name of file with serialized Grid.
Returns
The Grid memento object.

◆ serialize()

◆ serializeToFile()

python.learner.formatter.GridImageFormatter.GridImageFormatter.serializeToFile (   self,
  memento,
  filename 
)

Serializes grid to the file.

Parameters
mementothe Grid memento object
filenameThe name of file where the Grid object should be serialized to.

References python.utils.GzipSerializer.GzipSerializer.gzOpen().


The documentation for this class was generated from the following file: