OSVR-Core
Namespaces | Functions
PathElementSerialization.h File Reference

Header containing the workings of turning PathElements to/from JSON (serialization). More...

#include <osvr/Common/PathElementTypes.h>
#include <osvr/Common/PathElementTools.h>
#include "PathElementSerializationDescriptions.h"
#include <json/value.h>
#include <json/reader.h>
#include <boost/variant.hpp>
#include <boost/mpl/for_each.hpp>
#include <boost/noncopyable.hpp>
#include <type_traits>
#include <stdexcept>

Go to the source code of this file.

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::common
 Handles spatial transformations.
 

Functions

template<typename T >
Json::Value osvr::common::pathElementToJson (T const &element)
 Returns a JSON object with any element-type-specific data for the given PathElement-holdable type.
 
elements::PathElement osvr::common::jsonToPathElement (Json::Value const &json)
 

Detailed Description

Header containing the workings of turning PathElements to/from JSON (serialization).

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr