SG++-Doxygen-Documentation
|
Public Member Functions | |
def | deserialize (self, serializationStream) |
Deserializes the Grid memento object from the stream. More... | |
def | deserializeFromFile (self, filename) |
Deserializes the Grid object from the file. More... | |
def | serialize (self, memento, streamserializationStream) |
Serializes grid to the stream. More... | |
def | serializeToFile (self, memento, filename) |
Serializes grid to the file. More... | |
def python.learner.formatter.GridImageFormatter.GridImageFormatter.deserialize | ( | self, | |
serializationStream | |||
) |
Deserializes the Grid memento object from the stream.
serializationStream | The stream to deserialize. |
Referenced by python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.deserializeFromFile(), python.utils.GzipSerializer.GzipSerializer.deserializeFromFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.deserializeFromFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.deserializeFromFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.deserializeFromFile().
def python.learner.formatter.GridImageFormatter.GridImageFormatter.deserializeFromFile | ( | self, | |
filename | |||
) |
Deserializes the Grid object from the file.
The file may or may be not gzip compressed.
filename | The name of file with serialized Grid. |
def python.learner.formatter.GridImageFormatter.GridImageFormatter.serialize | ( | self, | |
memento, | |||
streamserializationStream | |||
) |
Serializes grid to the stream.
memento | the Grid memento object |
streamserializationStream | output stream where grid should be serialized to |
Referenced by python.utils.GzipSerializer.GzipSerializer.serializeToFile(), python.learner.formatter.LearnerFormatter.LearnerFormatter.serializeToFile(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.serializeToFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.serializeToFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.serializeToFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.serializeToFile().
def python.learner.formatter.GridImageFormatter.GridImageFormatter.serializeToFile | ( | self, | |
memento, | |||
filename | |||
) |
Serializes grid to the file.
memento | the Grid memento object |
filename | The name of file where the Grid object should be serialized to. |
References python.utils.GzipSerializer.GzipSerializer.gzOpen().