ed
property_info.h
Go to the documentation of this file.
1 #ifndef ED_PROPERTY_INFO_H_
2 #define ED_PROPERTY_INFO_H_
3 
4 #include "ed/types.h"
5 #include "ed/variant.h"
6 #include "ed/io/writer.h"
7 #include "ed/io/reader.h"
8 
9 namespace ed
10 {
11 
13 {
14 
15 public:
16 
18 
19  virtual ~PropertyInfo() {}
20 
21  virtual void serialize(const Variant& /*v*/, io::Writer& /*out*/) const { }
22 
23  virtual bool deserialize(io::Reader& /*in*/, Variant& /*v*/) const { return false; }
24 
25  virtual bool serializable() const { return false; }
26 
27 private:
28 
29 
30 
31 };
32 
33 } // end namespace
34 
35 #endif
types.h
ed::PropertyInfo::~PropertyInfo
virtual ~PropertyInfo()
Definition: property_info.h:19
ed::PropertyInfo::PropertyInfo
PropertyInfo()
Definition: property_info.h:17
ed::PropertyInfo::deserialize
virtual bool deserialize(io::Reader &, Variant &) const
Definition: property_info.h:23
ed::io::Reader
Definition: reader.h:14
reader.h
ed::Variant
Definition: variant.h:49
ed::io::Writer
Definition: writer.h:17
variant.h
ed::PropertyInfo::serialize
virtual void serialize(const Variant &, io::Writer &) const
Definition: property_info.h:21
ed::PropertyInfo
Definition: property_info.h:12
ed
Definition: convex_hull.h:8
ed::PropertyInfo::serializable
virtual bool serializable() const
Definition: property_info.h:25
writer.h