SG++-Doxygen-Documentation
|
The class provides the method, used by subclasses to work with gzip-compressed files. More...
Public Member Functions | |
def | deserialize (self, stream) |
def | deserializeFromFile (self, filename) |
def | gzOpen (self, filename, mode="r") |
Opens a file. More... | |
def | serialize (self, targetObj, stream) |
def | serializeToFile (self, targetObj, filename) |
The class provides the method, used by subclasses to work with gzip-compressed files.
def python.utils.GzipSerializer.GzipSerializer.deserialize | ( | self, | |
stream | |||
) |
def python.utils.GzipSerializer.GzipSerializer.deserializeFromFile | ( | self, | |
filename | |||
) |
References sgpp::combigrid::AbstractSerializationStrategy< T >.deserialize(), python.learner.formatter.GridImageFormatter.GridImageFormatter.deserialize(), python.learner.formatter.LearnerFormatter.LearnerFormatter.deserialize(), python.learner.formatter.GridFormatter.GridFormatter.deserialize(), sgpp::combigrid::DefaultSerializationStrategy< T >.deserialize(), json::JSON.deserialize(), python.utils.GzipSerializer.GzipSerializer.deserialize(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.deserialize(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.deserialize(), python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.deserialize(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.deserialize(), sgpp::combigrid::AbstractCombigridStorage.deserialize(), sgpp::combigrid::FloatSerializationStrategy< T >.deserialize(), sgpp::combigrid::CombigridTreeStorage.deserialize(), sgpp::combigrid::FunctionLookupTable.deserialize(), sgpp::combigrid::TreeStorageSerializationStrategy< T >.deserialize(), and python.utils.GzipSerializer.GzipSerializer.gzOpen().
def python.utils.GzipSerializer.GzipSerializer.gzOpen | ( | self, | |
filename, | |||
mode = "r" |
|||
) |
Opens a file.
If the file ends with ".gz", automatically gzip compression is used for the file. Returns the filedescriptor
filename | |
mode | access mode, default: "r" for read only |
Referenced by python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.deserializeFromFile(), python.learner.formatter.GridFormatter.GridFormatter.deserializeFromFile(), python.utils.GzipSerializer.GzipSerializer.deserializeFromFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.deserializeFromFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.deserializeFromFile(), python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.deserializeFromFile(), python.utils.GzipSerializer.GzipSerializer.serializeToFile(), python.learner.formatter.GridImageFormatter.GridImageFormatter.serializeToFile(), python.learner.formatter.LearnerFormatter.LearnerFormatter.serializeToFile(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.serializeToFile(), python.learner.formatter.GridFormatter.GridFormatter.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.utils.GzipSerializer.GzipSerializer.serialize | ( | self, | |
targetObj, | |||
stream | |||
) |
Referenced by python.utils.GzipSerializer.GzipSerializer.serializeToFile().
def python.utils.GzipSerializer.GzipSerializer.serializeToFile | ( | self, | |
targetObj, | |||
filename | |||
) |
References python.utils.GzipSerializer.GzipSerializer.gzOpen(), python.learner.formatter.GridImageFormatter.GridImageFormatter.serialize(), sgpp::combigrid::AbstractSerializationStrategy< T >.serialize(), sgpp::combigrid::DefaultSerializationStrategy< T >.serialize(), python.utils.GzipSerializer.GzipSerializer.serialize(), json::ListNode.serialize(), json::Node.serialize(), sgpp::combigrid::FloatSerializationStrategy< T >.serialize(), json::JSON.serialize(), json::DictNode.serialize(), sgpp::base::ModPolyGrid.serialize(), sgpp::base::PolyGrid.serialize(), json::TextNode.serialize(), python.learner.formatter.LearnerFormatter.LearnerFormatter.serialize(), json::IDNode.serialize(), sgpp::base::PolyBoundaryGrid.serialize(), sgpp::base::LinearClenshawCurtisBoundaryGrid.serialize(), sgpp::base::PolyClenshawCurtisBoundaryGrid.serialize(), sgpp::combigrid::TreeStorageSerializationStrategy< T >.serialize(), sgpp::combigrid::AbstractCombigridStorage.serialize(), python.learner.formatter.GridFormatter.GridFormatter.serialize(), sgpp::base::LinearBoundaryGrid.serialize(), sgpp::combigrid::CombigridTreeStorage.serialize(), sgpp::combigrid::FunctionLookupTable.serialize(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.serialize(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.serialize(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.serialize(), sgpp::base::LinearClenshawCurtisGrid.serialize(), sgpp::base::ModLinearClenshawCurtisGrid.serialize(), sgpp::base::PolyClenshawCurtisGrid.serialize(), sgpp::base::ModPolyClenshawCurtisGrid.serialize(), sgpp::base::ModBsplineClenshawCurtisGrid.serialize(), sgpp::base::FundamentalSplineGrid.serialize(), sgpp::base::ModFundamentalSplineGrid.serialize(), sgpp::base::BsplineGrid.serialize(), sgpp::base::ModBsplineGrid.serialize(), python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.serialize(), sgpp::base::NakBsplineBoundaryCombigridGrid.serialize(), sgpp::base::BsplineClenshawCurtisGrid.serialize(), sgpp::base::BsplineBoundaryGrid.serialize(), sgpp::base::HashGridPoint.serialize(), sgpp::base::HashGridStorage.serialize(), sgpp::base::BoundingBox.serialize(), sgpp::base::Stretching.serialize(), and sgpp::base::Grid.serialize().