![]() |
Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
|
Used in places where we identify objects by a filename, but don't actually work with the real filename. More...
#include <duckcpp/core/engine/path.hpp>
Public Member Functions | |
SNamedPath () | |
Constructor. | |
SNamedPath (const path &p) | |
Constructor. | |
bool | operator< (const SNamedPath &other) const |
Is smaller comparator. | |
void | setPath (const path &p) |
Set the path. | |
const path & | getPath () const |
Get the path. | |
const path & | getInternalName () const |
operator nub::string () const | |
Implicit cast to io::path. | |
operator nub::wstring () const | |
Implicit cast to io::path. | |
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.
Duckcpp 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 |
Get the name which is used to identify the file. This string is similar to the names and filenames used before Duckcpp 1.7