OSVR-Core
Namespaces | Functions
JSONResolvePossibleRef.cpp File Reference

Implementation. More...

#include "JSONResolvePossibleRef.h"
#include <json/reader.h>
#include <boost/filesystem.hpp>
#include <fstream>
#include <string>
#include <utility>
#include <tuple>

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::server
 Server functionality.
 

Functions

ResolveRefResult osvr::server::resolvePossibleRefWithDetails (Json::Value const &input, bool stringAcceptableResult, std::vector< std::string > const &searchPath)
 
Json::Value osvr::server::resolvePossibleRef (Json::Value const &input, bool stringAcceptableResult=false, std::vector< std::string > const &searchPath=getConfigDirectories())
 Given an input that might be a filename, might be a JSON Pointer-style $ref object, and might just directly be an object, return the object desired. More...
 
const char * osvr::server::fileLoadStatusToString (FileLoadStatus status)
 

Detailed Description

Implementation.

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