![]() |
SG++-Doxygen-Documentation
|
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. | |
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.GridFormatter.GridFormatter.deserializeFromFile(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.deserializeFromFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.deserializeFromFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.deserializeFromFile(), python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.deserializeFromFile(), and python.utils.GzipSerializer.GzipSerializer.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.
filename | The name of file with serialized Grid. |
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.learner.formatter.GridFormatter.GridFormatter.serializeToFile(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.serializeToFile(), python.learner.formatter.LearnerFormatter.LearnerFormatter.serializeToFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.serializeToFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.serializeToFile(), python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.serializeToFile(), and python.utils.GzipSerializer.GzipSerializer.serializeToFile().
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().