HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ArResolvedPath Class Reference

#include <resolvedPath.h>

Public Member Functions

 ArResolvedPath (const std::string &resolvedPath)
 Construct an ArResolvedPath holding the given resolvedPath. More...
 
 ArResolvedPath (std::string &&resolvedPath)
 
 ArResolvedPath ()=default
 
 ArResolvedPath (const ArResolvedPath &rhs)=default
 
 ArResolvedPath (ArResolvedPath &&rhs)=default
 
ArResolvedPathoperator= (const ArResolvedPath &rhs)=default
 
ArResolvedPathoperator= (ArResolvedPath &&rhs)=default
 
bool operator== (const ArResolvedPath &rhs) const
 
bool operator!= (const ArResolvedPath &rhs) const
 
bool operator< (const ArResolvedPath &rhs) const
 
bool operator> (const ArResolvedPath &rhs) const
 
bool operator<= (const ArResolvedPath &rhs) const
 
bool operator>= (const ArResolvedPath &rhs) const
 
bool operator== (const std::string &rhs) const
 
bool operator!= (const std::string &rhs) const
 
bool operator< (const std::string &rhs) const
 
bool operator> (const std::string &rhs) const
 
bool operator<= (const std::string &rhs) const
 
bool operator>= (const std::string &rhs) const
 
size_t GetHash () const
 Return hash value for this object. More...
 
 operator bool () const
 
bool IsEmpty () const
 
bool empty () const
 
 operator const std::string & () const
 Return the resolved path held by this object as a string. More...
 
const std::stringGetPathString () const
 Return the resolved path held by this object as a string. More...
 

Detailed Description

Represents a resolved asset path.

Definition at line 39 of file resolvedPath.h.

Constructor & Destructor Documentation

ArResolvedPath::ArResolvedPath ( const std::string resolvedPath)
inlineexplicit

Construct an ArResolvedPath holding the given resolvedPath.

Definition at line 43 of file resolvedPath.h.

ArResolvedPath::ArResolvedPath ( std::string &&  resolvedPath)
inlineexplicit

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 49 of file resolvedPath.h.

ArResolvedPath::ArResolvedPath ( )
default
ArResolvedPath::ArResolvedPath ( const ArResolvedPath rhs)
default
ArResolvedPath::ArResolvedPath ( ArResolvedPath &&  rhs)
default

Member Function Documentation

bool ArResolvedPath::empty ( void  ) const
inline

Equivalent to IsEmpty. This exists primarily for backwards compatibility.

Definition at line 111 of file resolvedPath.h.

size_t ArResolvedPath::GetHash ( ) const
inline

Return hash value for this object.

Definition at line 99 of file resolvedPath.h.

const std::string& ArResolvedPath::GetPathString ( ) const
inline

Return the resolved path held by this object as a string.

Definition at line 117 of file resolvedPath.h.

bool ArResolvedPath::IsEmpty ( ) const
inline

Return true if this object is holding an empty resolved path, false otherwise.

Definition at line 107 of file resolvedPath.h.

ArResolvedPath::operator bool ( ) const
inlineexplicit

Return true if this object is holding a non-empty resolved path, false otherwise.

Definition at line 103 of file resolvedPath.h.

ArResolvedPath::operator const std::string & ( ) const
inline

Return the resolved path held by this object as a string.

Definition at line 114 of file resolvedPath.h.

bool ArResolvedPath::operator!= ( const ArResolvedPath rhs) const
inline

Definition at line 65 of file resolvedPath.h.

bool ArResolvedPath::operator!= ( const std::string rhs) const
inline

Definition at line 83 of file resolvedPath.h.

bool ArResolvedPath::operator< ( const ArResolvedPath rhs) const
inline

Definition at line 68 of file resolvedPath.h.

bool ArResolvedPath::operator< ( const std::string rhs) const
inline

Definition at line 86 of file resolvedPath.h.

bool ArResolvedPath::operator<= ( const ArResolvedPath rhs) const
inline

Definition at line 74 of file resolvedPath.h.

bool ArResolvedPath::operator<= ( const std::string rhs) const
inline

Definition at line 92 of file resolvedPath.h.

ArResolvedPath& ArResolvedPath::operator= ( const ArResolvedPath rhs)
default
ArResolvedPath& ArResolvedPath::operator= ( ArResolvedPath &&  rhs)
default
bool ArResolvedPath::operator== ( const ArResolvedPath rhs) const
inline

Definition at line 62 of file resolvedPath.h.

bool ArResolvedPath::operator== ( const std::string rhs) const
inline

Definition at line 80 of file resolvedPath.h.

bool ArResolvedPath::operator> ( const ArResolvedPath rhs) const
inline

Definition at line 71 of file resolvedPath.h.

bool ArResolvedPath::operator> ( const std::string rhs) const
inline

Definition at line 89 of file resolvedPath.h.

bool ArResolvedPath::operator>= ( const ArResolvedPath rhs) const
inline

Definition at line 77 of file resolvedPath.h.

bool ArResolvedPath::operator>= ( const std::string rhs) const
inline

Definition at line 95 of file resolvedPath.h.


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