25 #ifndef INCLUDED_Parameters_h_GUID_382472FF_8ED5_429E_6D51_0948F2F403D2 26 #define INCLUDED_Parameters_h_GUID_382472FF_8ED5_429E_6D51_0948F2F403D2 32 #include <boost/scoped_array.hpp> 52 boost::scoped_array<char> buf(
new char[len]);
54 ret.assign(buf.get());
60 #endif // INCLUDED_Parameters_h_GUID_382472FF_8ED5_429E_6D51_0948F2F403D2 The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode osvrClientGetStringParameter(OSVR_ClientContext ctx, const char path[], char *buf, size_t len)
Get a string parameter associated with the given path.
Definition: ParametersC.cpp:49
OSVR_CLIENTKIT_EXPORT OSVR_ReturnCode osvrClientGetStringParameterLength(OSVR_ClientContext ctx, const char path[], size_t *len)
Get the length of a string parameter associated with the given path.
Definition: ParametersC.cpp:35
Definition: ClientContext.h:50
std::string getStringParameter(OSVR_ClientContext ctx, const char path[])
Get a string parameter value from the given path.
Definition: Parameters.h:44