Used in places where we identify objects by a filename, but don't actually work with the real filename. More...
#include <path.h>
Public Member Functions | |
SNamedPath () | |
Constructor. More... | |
SNamedPath (const path &p) | |
Constructor. More... | |
const path & | getInternalName () const |
const path & | getPath () const |
Get the path. More... | |
operator core::stringc () const | |
Implicit cast to io::path. More... | |
operator core::stringw () const | |
Implicit cast to io::path. More... | |
bool | operator< (const SNamedPath &other) const |
Is smaller comparator. More... | |
void | setPath (const path &p) |
Set the path. More... | |
Protected Member Functions | |
path | PathToName (const path &p) const |
Used in places where we identify objects by a filename, but don't actually work with the real filename.
Irrlicht is internally not case-sensitive when it comes to names. Also this class is a first step towards support for correctly serializing renamed objects.
|
inline |
|
inline |
Get the name which is used to identify the file. This string is similar to the names and filenames used before Irrlicht 1.7
Definition at line 54 of file path.h.
Referenced by irr::scene::IMeshCache::getMeshFilename().
|
inline |
Get the path.
Definition at line 47 of file path.h.
Referenced by operator core::stringc(), and operator core::stringw().
|
inline |
|
inline |
|
inline |
Definition at line 72 of file path.h.
References irr::core::string< T, TAlloc >::make_lower(), and irr::core::string< T, TAlloc >::replace().
Referenced by setPath().
|
inline |