SG++-Doxygen-Documentation
|
This is an abstract base class for strategies converting between an object of type T (template parameter) and std::string for serialization and deserialization. More...
#include <AbstractSerializationStrategy.hpp>
Public Member Functions | |
virtual T | deserialize (std::string const &input)=0 |
virtual std::string | serialize (T const &value)=0 |
virtual | ~AbstractSerializationStrategy () |
This is an abstract base class for strategies converting between an object of type T (template parameter) and std::string for serialization and deserialization.
|
inlinevirtual |
|
pure virtual |
Implemented in sgpp::combigrid::TreeStorageSerializationStrategy< T >, sgpp::combigrid::FloatSerializationStrategy< T >, and sgpp::combigrid::DefaultSerializationStrategy< T >.
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(), and sgpp::combigrid::AbstractSerializationStrategy< std::shared_ptr< TreeStorage< T > > >::~AbstractSerializationStrategy().
|
pure virtual |
Implemented in sgpp::combigrid::FloatSerializationStrategy< T >, and sgpp::combigrid::DefaultSerializationStrategy< T >.
Referenced by python.utils.GzipSerializer.GzipSerializer::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(), python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter::serializeToFile(), and sgpp::combigrid::AbstractSerializationStrategy< std::shared_ptr< TreeStorage< T > > >::~AbstractSerializationStrategy().