json_conversions.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <SimoxUtility/json/json.h>
4 
5 #include "forward_declarations.h"
6 
7 namespace armarx
8 {
9  void to_json(simox::json::json& j, const ObjectID& value);
10  void from_json(const simox::json::json& j, ObjectID& value);
11 } // namespace armarx
12 
13 namespace armarx::objpose
14 {
15  void to_json(simox::json::json& j, const ObjectPose& op);
16  void from_json(const simox::json::json& j, ObjectPose& op);
17 } // namespace armarx::objpose
18 
19 namespace armarx::objects
20 {
21  void to_json(simox::json::json& j, const SceneObject& rhs);
22  void from_json(const simox::json::json& j, SceneObject& rhs);
23 
24  void to_json(simox::json::json& j, const Scene& rhs);
25  void from_json(const simox::json::json& j, Scene& rhs);
26 } // namespace armarx::objects
armarx::to_json
void to_json(nlohmann::json &j, const Vector2f &value)
armarx::armem::attachment::ObjectID
armem::MemoryID ObjectID
Definition: types.h:79
armarx::objects
Definition: forward_declarations.h:31
cxxopts::value
std::shared_ptr< Value > value()
Definition: cxxopts.hpp:855
armarx::objpose
Definition: objpose.h:6
armarx::objpose::from_json
void from_json(const simox::json::json &j, ObjectPose &op)
Definition: json_conversions.cpp:54
armarx::objpose::to_json
void to_json(simox::json::json &j, const ObjectPose &op)
Definition: json_conversions.cpp:29
armarx::objects::to_json
void to_json(simox::json::json &j, const SceneObject &rhs)
Definition: json_conversions.cpp:79
armarx::from_json
void from_json(const nlohmann::json &j, Vector2f &value)
forward_declarations.h
armarx::objects::from_json
void from_json(const simox::json::json &j, SceneObject &rhs)
Definition: json_conversions.cpp:94
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:27