JsonStream.cpp
Go to the documentation of this file.
1 
18 #include "JsonStream.hpp"
19 
20 namespace ISM {
21  std::ostream& operator<<(std::ostream &strm, const ISM::json &s) {
22  s.s->serialize(strm);
23  return strm;
24  }
25 
26  std::ostream& operator<<(std::ostream &strm, const ISM::jsonPtr &s) {
27  return strm<<(*s);
28  }
29 }
virtual void serialize(std::ostream &strm) const =0
std::ostream & operator<<(std::ostream &strm, const ISM::ObjectRelation &r)
const Serializable * s
Definition: JsonStream.hpp:29
this namespace contains all generally usable classes.
boost::shared_ptr< json > jsonPtr
Definition: JsonStream.hpp:32


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:40