Go to the source code of this file.
#define DeclareSerializable |
( |
|
... | ) |
|
#define ImplementSerializable |
( |
|
obj | ) |
|
Value:#define ImplementSerializableDefaultConstructor(obj)
Definition at line 77 of file serializable.h.
#define ImplementSerializableDefaultConstructor |
( |
|
obj | ) |
|
Value:public: \
virtual const char* \
cls_name() const { \
return #obj; \
} \
virtual uint32_t \
cls_id() const { \
return ::sprockit::serializable_builder_impl< obj >::static_cls_id(); \
} \
static obj* \
construct_deserialize_stub() { \
return new obj; \
} \
virtual obj* \
you_forgot_to_add_ImplementSerializable_to_this_class() { \
return 0; \
} \
Definition at line 58 of file serializable.h.
#define ImplementVirtualSerializable |
( |
|
obj | ) |
|
Value:protected: \
obj(cxn_flag_t flag){}
Definition at line 22 of file serializable.h.
#define NotSerializable |
( |
|
obj | ) |
|
Value:public: \
static void \
"type %s should not be serialized", \
#obj); \
} \
virtual void \
throw_exc(); \
} \
virtual uint32_t \
cls_id() const { \
throw_exc(); \
return -1; \
} \
static obj* \
construct_deserialize_stub() { \
throw_exc(); \
return 0; \
} \
virtual const char* \
cls_name() const { \
throw_exc(); \
return ""; \
} \
virtual obj* \
you_forgot_to_add_ImplementSerializable_to_this_class() { \
return 0; \
} \
This class is basically a wrapper for objects to declare the order in which their members should be s...
#define spkt_throw_printf(exc, template_str,...)
Definition at line 26 of file serializable.h.
Referenced by sstmac::hw::packetizer::packetizer().