Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
nirt::io::SNamedPath Class Reference

Used in places where we identify objects by a filename, but don't actually work with the real filename. More...

#include <nirtcpp/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 pathgetPath () const
 Get the path.
 
const pathgetInternalName () const
 
 operator core::stringc () const
 Implicit cast to io::path.
 
 operator core::stringw () const
 Implicit cast to io::path.
 

Protected Member Functions

path PathToName (const path &p) const
 

Detailed Description

Used in places where we identify objects by a filename, but don't actually work with the real filename.

Nirtcpp is internally not case-sensitive when it comes to names. Also this class is a first step towards support for correctly serializing renamed objects.

Member Function Documentation

◆ getInternalName()

const path & nirt::io::SNamedPath::getInternalName ( ) const
inline

Get the name which is used to identify the file. This string is similar to the names and filenames used before Nirtcpp 1.7


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

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print