|
#define | SERIALIZE_SCALAR(scalar) paramOut(cp, #scalar, scalar) |
|
#define | UNSERIALIZE_SCALAR(scalar) paramIn(cp, #scalar, scalar) |
|
#define | UNSERIALIZE_OPT_SCALAR(scalar) optParamIn(cp, #scalar, scalar) |
|
#define | SERIALIZE_ENUM(scalar) paramOut(cp, #scalar, (int)scalar) |
|
#define | UNSERIALIZE_ENUM(scalar) |
|
#define | SERIALIZE_ARRAY(member, size) arrayParamOut(cp, #member, member, size) |
|
#define | UNSERIALIZE_ARRAY(member, size) arrayParamIn(cp, #member, member, size) |
|
#define | SERIALIZE_CONTAINER(member) arrayParamOut(cp, #member, member) |
|
#define | UNSERIALIZE_CONTAINER(member) arrayParamIn(cp, #member, member) |
|
#define | SERIALIZE_EVENT(event) event.serializeSection(cp, #event); |
|
#define | UNSERIALIZE_EVENT(event) |
|
#define | SERIALIZE_OBJ(obj) obj.serializeSection(cp, #obj) |
|
#define | UNSERIALIZE_OBJ(obj) obj.unserializeSection(cp, #obj) |
|
#define | SERIALIZE_OBJPTR(objptr) paramOut(cp, #objptr, (objptr)->name()) |
|
#define | UNSERIALIZE_OBJPTR(objptr) |
|
|
template<class T > |
bool | parseParam (const std::string &s, T &value) |
|
template<class T > |
void | showParam (CheckpointOut &os, const T &value) |
|
template<class T > |
bool | parseParam (const std::string &s, BitUnionType< T > &value) |
|
template<class T > |
void | showParam (CheckpointOut &os, const BitUnionType< T > &value) |
|
template<> |
void | showParam (CheckpointOut &os, const char &value) |
|
template<> |
void | showParam (CheckpointOut &os, const signed char &value) |
|
template<> |
void | showParam (CheckpointOut &os, const unsigned char &value) |
|
template<> |
bool | parseParam (const std::string &s, float &value) |
|
template<> |
bool | parseParam (const std::string &s, double &value) |
|
template<> |
bool | parseParam (const std::string &s, bool &value) |
|
template<> |
void | showParam (CheckpointOut &os, const bool &value) |
|
template<> |
bool | parseParam (const std::string &s, std::string &value) |
|
template<class T > |
void | paramOut (CheckpointOut &os, const std::string &name, const T ¶m) |
| This function is used for writing parameters to a checkpoint. More...
|
|
template<class T > |
void | paramIn (CheckpointIn &cp, const std::string &name, T ¶m) |
| This function is used for restoring parameters from a checkpoint. More...
|
|
template<class T > |
bool | optParamIn (CheckpointIn &cp, const std::string &name, T ¶m, bool warn=true) |
| This function is used for restoring optional parameters from the checkpoint. More...
|
|
template<class T > |
void | arrayParamOut (CheckpointOut &os, const std::string &name, const std::vector< T > ¶m) |
|
template<class T > |
void | arrayParamOut (CheckpointOut &os, const std::string &name, const std::list< T > ¶m) |
|
template<class T > |
void | arrayParamOut (CheckpointOut &os, const std::string &name, const std::set< T > ¶m) |
|
template<class T > |
void | arrayParamOut (CheckpointOut &os, const std::string &name, const T *param, unsigned size) |
|
template<class T > |
void | arrayParamIn (CheckpointIn &cp, const std::string &name, T *param, unsigned size) |
| Extract values stored in the checkpoint, and assign them to the provided array container. More...
|
|
template<class T > |
void | arrayParamIn (CheckpointIn &cp, const std::string &name, std::vector< T > ¶m) |
|
template<class T > |
void | arrayParamIn (CheckpointIn &cp, const std::string &name, std::list< T > ¶m) |
|
template<class T > |
void | arrayParamIn (CheckpointIn &cp, const std::string &name, std::set< T > ¶m) |
|
void | debug_serialize (const std::string &cpt_dir) |
|
void | objParamIn (CheckpointIn &cp, const std::string &name, SimObject *¶m) |
|