OSVR-Core
Public Member Functions | List of all members
osvr::common::ParsedAlias Class Reference

Public Member Functions

OSVR_COMMON_EXPORT ParsedAlias (std::string const &src)
 Constructor - performs parse and normalization of format.
 
 ParsedAlias (Json::Value src)
 Constructor - performs normalization of format.
 
OSVR_COMMON_EXPORT bool isValid () const
 Did the alias parse in a valid way?
 
OSVR_COMMON_EXPORT bool isSimple () const
 Is this a simple (string-only, no transform) alias?
 
OSVR_COMMON_EXPORT std::string getLeaf () const
 Get the ultimate source/leaf of the alias.
 
void setLeaf (std::string const &leaf)
 Set the leaf of the alias: should be an absolute path.
 
OSVR_COMMON_EXPORT std::string getAlias () const
 Get the normalized, cleaned, compacted version of the alias.
 
OSVR_COMMON_EXPORT Json::Value getAliasValue () const
 Gets a copy of the normalized version of the alias as a Json::Value.
 

The documentation for this class was generated from the following files: