Go to the documentation of this file. 1 #ifndef GEOLIB_SERIALIZATION_H_
2 #define GEOLIB_SERIALIZATION_H_
std::shared_ptr< Shape > ShapePtr
static deserializer_map deserializers_
static ShapePtr fromFile(const std::string &filename)
ShapePtr(* deserialization_method)(std::istream &)
static bool serialize(ShapeConstPtr shape, std::ostream &output)
static void toFile(ShapeConstPtr shape, const std::string &filename)
std::map< std::string, deserialization_method > deserializer_map
static ShapePtr deserialize(std::istream &input)
static void registerDeserializer()
A geometric description of a shape.