26 #ifndef INCLUDED_ResourcePath_h_GUID_00432A94_11D2_47B4_7493_4F66E635FBE2 27 #define INCLUDED_ResourcePath_h_GUID_00432A94_11D2_47B4_7493_4F66E635FBE2 91 std::string GetString()
const;
105 std::size_t GetDepth()
const;
118 typedef std::vector<std::size_t> IndexArray;
119 IndexArray m_components;
124 #endif // INCLUDED_ResourcePath_h_GUID_00432A94_11D2_47B4_7493_4F66E635FBE2 Definition: RunLoopManager.h:42
std::string GetComponent(std::size_t i) const
Gets the identified component, where 0 is the name of the component immediately under the root...
std::string GetPathString() const
Gets the path following the hostname as a string, starting with a leading slash.
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
ResourcePath GetChild(std::string const &childName) const
Go to the named child.
Class representing a host and resource path in the OSVR logical system.
Definition: ResourcePath.h:61
std::string GetHostString() const
Gets the host portion of the path as a string.
ResourcePath()
Default constructor - initializes to osvr://localhost/ (root)
ResourcePath GetParent() const
Go to parent path.