Jimcpp 2.1.0
Jimcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
jpp::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 <jimcpp/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.

Jimcpp 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 & jpp::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 Jimcpp 1.7


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

Jimcpp    @cppfx.xyz

K