JsonStream.hpp
Go to the documentation of this file.
1 
18 #pragma once
19 
20 #include <ostream>
21 #include "Serializable.hpp"
22 
23 namespace ISM {
24  class json {
25  public:
26  json(const Serializable* s) : s(s) {};
27  json(const SerializablePtr sp) {
28  s = sp.get();
29  };
30  const Serializable* s;
31  };
32  typedef boost::shared_ptr<json> jsonPtr;
33 
34  std::ostream& operator<<(std::ostream &strm, const ISM::json &p);
35  std::ostream& operator<<(std::ostream &strm, const ISM::jsonPtr &p);
36 }
boost::shared_ptr< Serializable > SerializablePtr
std::ostream & operator<<(std::ostream &strm, const ISM::ObjectRelation &r)
const Serializable * s
Definition: JsonStream.hpp:29
json(const SerializablePtr sp)
Definition: JsonStream.hpp:27
this namespace contains all generally usable classes.
json(const Serializable *s)
Definition: JsonStream.hpp:26
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