ArResolvedPath Class Reference

Represents a resolved asset path. More...

Public Member Functions

 ArResolvedPath (const std::string &resolvedPath)
 Construct an ArResolvedPath holding the given resolvedPath. More...
 
 ArResolvedPath (std::string &&resolvedPath)
 
 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
 Return true if this object is holding a non-empty resolved path, false otherwise. More...
 
bool IsEmpty () const
 Return true if this object is holding an empty resolved path, false otherwise. More...
 
bool empty () const
 Equivalent to IsEmpty. More...
 
 operator const std::string & () const
 Return the resolved path held by this object as a string. More...
 
const std::string & GetPathString () 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() [1/2]

ArResolvedPath ( const std::string &  resolvedPath)
inlineexplicit

Construct an ArResolvedPath holding the given resolvedPath.

Definition at line 43 of file resolvedPath.h.

◆ ArResolvedPath() [2/2]

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.

Member Function Documentation

◆ empty()

bool empty ( ) const
inline

Equivalent to IsEmpty.

This exists primarily for backwards compatibility.

Definition at line 111 of file resolvedPath.h.

◆ GetHash()

size_t GetHash ( ) const
inline

Return hash value for this object.

Definition at line 99 of file resolvedPath.h.

◆ GetPathString()

const std::string& GetPathString ( ) const
inline

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

Definition at line 117 of file resolvedPath.h.

◆ IsEmpty()

bool IsEmpty ( ) const
inline

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

Definition at line 107 of file resolvedPath.h.

◆ operator bool()

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.

◆ operator const std::string &()

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.


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