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 
8 namespace armarx
9 {
10  void to_json(simox::json::json& j, const ObjectID& value);
11  void from_json(const simox::json::json& j, ObjectID& value);
12 }
13 
14 namespace armarx::objpose
15 {
16  void to_json(simox::json::json& j, const ObjectPose& op);
17  void from_json(const simox::json::json& j, ObjectPose& op);
18 }
19 
20 
21 namespace armarx::objects
22 {
23  void to_json(simox::json::json& j, const SceneObject& rhs);
24  void from_json(const simox::json::json& j, SceneObject& rhs);
25 
26  void to_json(simox::json::json& j, const Scene& rhs);
27  void from_json(const simox::json::json& j, Scene& rhs);
28 }
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:30
cxxopts::value
std::shared_ptr< Value > value()
Definition: cxxopts.hpp:926
armarx::objpose
This file is part of ArmarX.
Definition: objpose.h:7
armarx::objpose::from_json
void from_json(const simox::json::json &j, ObjectPose &op)
Definition: json_conversions.cpp:55
armarx::objpose::to_json
void to_json(simox::json::json &j, const ObjectPose &op)
Definition: json_conversions.cpp:30
armarx::objects::to_json
void to_json(simox::json::json &j, const SceneObject &rhs)
Definition: json_conversions.cpp:80
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:95
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28