Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
common_type
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
}
ISM::Serializable
Definition:
Serializable.hpp:24
Serializable.hpp
ISM::SerializablePtr
boost::shared_ptr< Serializable > SerializablePtr
Definition:
Serializable.hpp:29
ISM::operator<<
std::ostream & operator<<(std::ostream &strm, const ISM::ObjectRelation &r)
Definition:
ObjectRelation.cpp:167
ISM::json::s
const Serializable * s
Definition:
JsonStream.hpp:29
ISM::json
Definition:
JsonStream.hpp:24
ISM::json::json
json(const SerializablePtr sp)
Definition:
JsonStream.hpp:27
ISM
this namespace contains all generally usable classes.
Definition:
AcceptanceFunction.hpp:22
ISM::json::json
json(const Serializable *s)
Definition:
JsonStream.hpp:26
ISM::jsonPtr
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