Rebel Fork Framework
|
Typed resource reference. More...
#include <Urho3D/Core/Variant.h>
Public Member Functions | |
ResourceRef ()=default | |
Construct. | |
ResourceRef (StringHash type) | |
Construct with type only and empty id. | |
ResourceRef (StringHash type, const ea::string &name) | |
Construct with type and resource name. | |
ResourceRef (const ea::string &type, const ea::string &name) | |
Construct with type and resource name. | |
ResourceRef (const char *type, const char *name) | |
Construct with type and resource name. | |
ResourceRef (const ResourceRef &rhs)=default | |
Construct from another ResourceRef. | |
unsigned | ToHash () const |
Return hash value for HashSet & HashMap. | |
bool | operator== (const ResourceRef &rhs) const |
Test for equality with another reference. | |
bool | operator!= (const ResourceRef &rhs) const |
Test for inequality with another reference. | |
ea::string | ToString (const Context *context) const |
Convert resource reference to string. | |
Public Attributes | |
StringHash | type_ |
Object type. | |
ea::string | name_ |
Object name. | |
Typed resource reference.