OSVR-Core
Namespaces | Functions
PathTreeSerialization.h File Reference

Header. More...

#include <osvr/Common/Export.h>
#include <osvr/Common/PathNode_fwd.h>
#include <osvr/Common/PathTree_fwd.h>
#include <json/value.h>
#include <string>

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

OSVR_COMMON_EXPORT Json::Value osvr::common::pathNodeToJson (PathNode const &node)
 Serialize a path node to a JSON object.
 
OSVR_COMMON_EXPORT Json::Value osvr::common::pathTreeToJson (PathTree const &tree, bool keepNulls=false)
 Serialize a path tree to a JSON array of objects, one for each node.
 
OSVR_COMMON_EXPORT void osvr::common::jsonToPathTree (PathTree &tree, Json::Value nodes)
 Deserialize a path tree from a JSON array of objects.
 

Detailed Description

Header.

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