Defines function templates to handle types that do not map directly to a rapidjson type, and require some amount of converson/adaptation.
More...
|
template<typename W , typename ENUM_T > |
void | write_enum (W *w, ENUM_T enum_val, const char *key, size_t keysz) |
|
template<typename ENUM_T , typename GV > |
bool | read_enum (ENUM_T *ep, const GV &gv, const char *key) |
|
template<typename W > |
void | write_binary (dd::Sdi_wcontext *wctx, W *w, const binary_t &b, const char *key, size_t keysz) |
|
template<typename GV > |
bool | read_binary (dd::Sdi_rcontext *rctx, binary_t *b, const GV &gv, const char *key) |
|
template<typename W , typename PP > |
void | write_properties (W *w, const PP &p, const char *key, size_t keysz) |
|
template<typename PP , typename GV > |
bool | read_properties (PP *p, const GV &gv, const char *key) |
|
template<typename W , typename PP > |
void | write_opx_reference (W *w, const PP &p, const char *key, size_t keysz) |
|
template<typename PP , typename GV > |
bool | read_opx_reference (dd::Sdi_rcontext *rctx, PP *p, const GV &gv, const char *key) |
|
template<typename GV > |
bool | deserialize_schema_ref (dd::Sdi_rcontext *rctx, dd::Object_id *p, const GV &gv, const char *key) |
|
template<typename W > |
void | serialize_tablespace_ref (dd::Sdi_wcontext *wctx, W *w, dd::Object_id tablespace_id, const char *key, size_t keysz) |
|
template<typename GV > |
bool | deserialize_tablespace_ref (dd::Sdi_rcontext *rctx, dd::Object_id *p, const GV &gv, const char *key) |
|
template<typename W , typename C > |
void | serialize_each (dd::Sdi_wcontext *wctx, W *w, const dd::Collection< C * > &cp, const char *key, size_t keysz) |
|
template<typename ADD_BINDER , typename GV > |
bool | deserialize_each (dd::Sdi_rcontext *rctx, ADD_BINDER add_binder, const GV &obj_gv, const char *key) |
|
Defines function templates to handle types that do not map directly to a rapidjson type, and require some amount of converson/adaptation.