Lines Matching refs:std

70 typedef std::ostream CheckpointOut;
81 CheckpointIn(const std::string &cpt_dir, SimObjectResolver &resolver);
84 const std::string cptDir;
86 bool find(const std::string &section, const std::string &entry,
87 std::string &value);
89 bool findObj(const std::string &section, const std::string &entry,
93 bool entryExists(const std::string &section, const std::string &entry);
94 bool sectionExists(const std::string &section);
105 static std::string currentDirectory;
111 static std::string setDir(const std::string &base_name);
117 static std::string dir();
182 ScopedCheckpointSection(CP &cp, const std::string &name) {
237 void serializeSection(CheckpointOut &cp, const std::string &name) const {
253 void unserializeSection(CheckpointIn &cp, const std::string &name) {
258 static const std::string &currentSection();
263 static void serializeAll(const std::string &cpt_dir);
267 static std::stack<std::string> path;
276 parseParam(const std::string &s, T &value)
290 parseParam(const std::string &s, BitUnionType<T> &value)
336 parseParam(const std::string &s, float &value)
343 parseParam(const std::string &s, double &value)
350 parseParam(const std::string &s, bool &value)
366 parseParam(const std::string &s, std::string &value)
374 paramOut(CheckpointOut &os, const std::string &name, const T &param)
383 paramIn(CheckpointIn &cp, const std::string &name, T &param)
385 const std::string &section(Serializable::currentSection());
386 std::string str;
394 optParamIn(CheckpointIn &cp, const std::string &name,
397 const std::string &section(Serializable::currentSection());
398 std::string str;
410 arrayParamOut(CheckpointOut &os, const std::string &name,
411 const std::vector<T> &param)
413 typename std::vector<T>::size_type size = param.size();
417 for (typename std::vector<T>::size_type i = 1; i < size; ++i) {
426 arrayParamOut(CheckpointOut &os, const std::string &name,
427 const std::list<T> &param)
429 typename std::list<T>::const_iterator it = param.begin();
445 arrayParamOut(CheckpointOut &os, const std::string &name,
446 const std::set<T> &param)
448 typename std::set<T>::const_iterator it = param.begin();
464 arrayParamOut(CheckpointOut &os, const std::string &name,
488 arrayParamIn(CheckpointIn &cp, const std::string &name,
491 const std::string &section(Serializable::currentSection());
492 std::string str;
500 std::vector<std::string> tokens;
511 for (std::vector<std::string>::size_type i = 0; i < tokens.size(); i++) {
518 std::string err("could not parse \"");
533 arrayParamIn(CheckpointIn &cp, const std::string &name, std::vector<T> &param)
535 const std::string &section(Serializable::currentSection());
536 std::string str;
544 std::vector<std::string> tokens;
553 for (std::vector<std::string>::size_type i = 0; i < tokens.size(); i++) {
560 std::string err("could not parse \"");
575 arrayParamIn(CheckpointIn &cp, const std::string &name, std::list<T> &param)
577 const std::string &section(Serializable::currentSection());
578 std::string str;
584 std::vector<std::string> tokens;
587 for (std::vector<std::string>::size_type i = 0; i < tokens.size(); i++) {
590 std::string err("could not parse \"");
605 arrayParamIn(CheckpointIn &cp, const std::string &name, std::set<T> &param)
607 const std::string &section(Serializable::currentSection());
608 std::string str;
614 std::vector<std::string> tokens;
617 for (std::vector<std::string>::size_type i = 0; i < tokens.size(); i++) {
620 std::string err("could not parse \"");
634 debug_serialize(const std::string &cpt_dir);
637 objParamIn(CheckpointIn &cp, const std::string &name, SimObject * &param);