![]() |
SG++-Doxygen-Documentation
|
The class provides the method, used by subclasses to work with gzip-compressed files. More...
Public Member Functions | |
deserialize (self, stream) | |
deserializeFromFile (self, filename) | |
gzOpen (self, filename, mode="r") | |
Opens a file. | |
serialize (self, targetObj, stream) | |
serializeToFile (self, targetObj, filename) | |
The class provides the method, used by subclasses to work with gzip-compressed files.
python.utils.GzipSerializer.GzipSerializer.deserialize | ( | self, | |
stream | |||
) |
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.utils.GzipSerializer.GzipSerializer.deserializeFromFile | ( | self, | |
filename | |||
) |
References python.learner.formatter.GridFormatter.GridFormatter.deserialize(), python.learner.formatter.GridImageFormatter.GridImageFormatter.deserialize(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.deserialize(), python.learner.formatter.LearnerFormatter.LearnerFormatter.deserialize(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.deserialize(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.deserialize(), python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.deserialize(), python.utils.GzipSerializer.GzipSerializer.deserialize(), json::JSON.deserialize(), and python.utils.GzipSerializer.GzipSerializer.gzOpen().
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.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(), python.utils.GzipSerializer.GzipSerializer.deserializeFromFile(), python.learner.formatter.GridFormatter.GridFormatter.serializeToFile(), python.learner.formatter.GridImageFormatter.GridImageFormatter.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.utils.GzipSerializer.GzipSerializer.serialize | ( | self, | |
targetObj, | |||
stream | |||
) |
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.utils.GzipSerializer.GzipSerializer.serializeToFile | ( | self, | |
targetObj, | |||
filename | |||
) |
References python.utils.GzipSerializer.GzipSerializer.gzOpen(), json::JSON.serialize(), sgpp::base::Grid.serialize(), sgpp::base::BoundingBox.serialize(), sgpp::base::HashGridStorage.serialize(), sgpp::base::Stretching.serialize(), python.learner.formatter.GridFormatter.GridFormatter.serialize(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.serialize(), python.learner.formatter.LearnerFormatter.LearnerFormatter.serialize(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.serialize(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.serialize(), python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.serialize(), python.learner.formatter.GridImageFormatter.GridImageFormatter.serialize(), python.utils.GzipSerializer.GzipSerializer.serialize(), sgpp::base::Grid.serialize(), sgpp::base::BsplineBoundaryGrid.serialize(), sgpp::base::BsplineClenshawCurtisGrid.serialize(), sgpp::base::BsplineGrid.serialize(), sgpp::base::FundamentalNakSplineBoundaryGrid.serialize(), sgpp::base::FundamentalSplineBoundaryGrid.serialize(), sgpp::base::FundamentalSplineGrid.serialize(), sgpp::base::LinearBoundaryGrid.serialize(), sgpp::base::LinearClenshawCurtisBoundaryGrid.serialize(), sgpp::base::LinearClenshawCurtisGrid.serialize(), sgpp::base::ModBsplineClenshawCurtisGrid.serialize(), sgpp::base::ModBsplineGrid.serialize(), sgpp::base::ModFundamentalSplineGrid.serialize(), sgpp::base::ModLinearClenshawCurtisGrid.serialize(), sgpp::base::ModNakBsplineGrid.serialize(), sgpp::base::ModPolyClenshawCurtisGrid.serialize(), sgpp::base::ModPolyGrid.serialize(), sgpp::base::ModWeaklyFundamentalNakSplineGrid.serialize(), sgpp::base::NakBsplineBoundaryGrid.serialize(), sgpp::base::NakBsplineExtendedGrid.serialize(), sgpp::base::NakBsplineGrid.serialize(), sgpp::base::NakPBsplineGrid.serialize(), sgpp::base::NaturalBsplineBoundaryGrid.serialize(), sgpp::base::PolyBoundaryGrid.serialize(), sgpp::base::PolyClenshawCurtisBoundaryGrid.serialize(), sgpp::base::PolyClenshawCurtisGrid.serialize(), sgpp::base::PolyGrid.serialize(), sgpp::base::WeaklyFundamentalNakSplineBoundaryGrid.serialize(), sgpp::base::WeaklyFundamentalSplineBoundaryGrid.serialize(), sgpp::base::HashGridPoint.serialize(), sgpp::base::BoundingBox.serialize(), sgpp::base::HashGridStorage.serialize(), sgpp::base::Stretching.serialize(), json::DictNode.serialize(), json::IDNode.serialize(), json::JSON.serialize(), json::ListNode.serialize(), json::TextNode.serialize(), json::Node.serialize(), and sgpp::base::Grid.serialize().