|
geolib2
|
#include <serialization.h>
Static Public Member Functions | |
| static ShapePtr | deserialize (std::istream &input) |
| static ShapePtr | fromFile (const std::string &filename) |
| template<typename T > | |
| static void | registerDeserializer () |
| static bool | serialize (const Shape &shape, std::ostream &output) |
| static bool | serialize (ShapeConstPtr shape, std::ostream &output) |
| static void | toFile (const Shape &shape, const std::string &filename) |
| static void | toFile (ShapeConstPtr shape, const std::string &filename) |
Protected Member Functions | |
| serialization () | |
| virtual | ~serialization () |
Static Protected Member Functions | |
| static void | registerDeserializer (const std::string &shape_type, deserialization_method method) |
Static Protected Attributes | |
| static deserializer_map | deserializers_ |
Private Types | |
| typedef ShapePtr(* | deserialization_method) (std::istream &) |
| typedef std::map< std::string, deserialization_method > | deserializer_map |
Definition at line 11 of file serialization.h.
|
private |
Definition at line 13 of file serialization.h.
|
private |
Definition at line 15 of file serialization.h.
|
protected |
Definition at line 11 of file serialization.cpp.
|
protectedvirtual |
Definition at line 15 of file serialization.cpp.
|
static |
Definition at line 26 of file serialization.cpp.
|
static |
Definition at line 46 of file serialization.cpp.
|
inlinestatic |
Definition at line 33 of file serialization.h.
|
staticprotected |
Definition at line 38 of file serialization.cpp.
|
static |
Definition at line 22 of file serialization.cpp.
|
static |
Definition at line 18 of file serialization.cpp.
|
static |
Definition at line 61 of file serialization.cpp.
|
static |
Definition at line 54 of file serialization.cpp.
|
staticprotected |
Definition at line 43 of file serialization.h.
1.8.17