2 #include <score/model/path/Path.hpp>
4 #include <score/serialization/JSONVisitor.hpp>
6 template <
typename Object>
7 QDataStream& operator<<(QDataStream& stream,
const Path<Object>& obj)
10 reader.readFrom(obj.unsafePath());
14 template <
typename Object>
15 QDataStream& operator>>(QDataStream& stream,
Path<Object>& obj)
18 writer.writeTo(obj.unsafePath());
28 s.readFrom(path.unsafePath());
33 s.writeTo(path.unsafePath());
42 s.readFrom(path.unsafePath());
47 s.writeTo(path.unsafePath());
Definition: VisitorInterface.hpp:53
Definition: DataStreamVisitor.hpp:27
Definition: DataStreamVisitor.hpp:202
Definition: VisitorInterface.hpp:61
Definition: JSONVisitor.hpp:52
Definition: JSONVisitor.hpp:423
The Path class is a typesafe wrapper around ObjectPath.
Definition: Path.hpp:52
Definition: VisitorInterface.hpp:13