guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
Loading...
Searching...
No Matches
guillaume::systems::MeasureMeshCacheKey Struct Reference

Key of the size cache of MeasureMesh: the path of the model file. More...

#include <headers/guillaume/systems/measure_mesh.hpp>

Public Member Functions

bool operator== (const MeasureMeshCacheKey &other) const
 Compare two keys.
bool operator!= (const MeasureMeshCacheKey &other) const
 Negation of operator==.
bool operator< (const MeasureMeshCacheKey &other) const
 Order two keys by path.

Public Attributes

std::string meshPath
 Path of the model file that was measured.

Detailed Description

Key of the size cache of MeasureMesh: the path of the model file.

Two entities showing the same file share one measurement. The ordering operator exists so the key can be used in the ordered map of utility::Cache.

See also
MeasureMesh

Definition at line 53 of file measure_mesh.hpp.

Member Function Documentation

◆ operator!=()

bool guillaume::systems::MeasureMeshCacheKey::operator!= ( const MeasureMeshCacheKey & other) const
inline

Negation of operator==.

Parameters
otherThe key to compare with.
Returns
True when the paths differ.

Definition at line 74 of file measure_mesh.hpp.

◆ operator<()

bool guillaume::systems::MeasureMeshCacheKey::operator< ( const MeasureMeshCacheKey & other) const
inline

Order two keys by path.

Parameters
otherThe key to compare with.
Returns
True when this path sorts before the path of other.

Definition at line 84 of file measure_mesh.hpp.

◆ operator==()

bool guillaume::systems::MeasureMeshCacheKey::operator== ( const MeasureMeshCacheKey & other) const
inline

Compare two keys.

Parameters
otherThe key to compare with.
Returns
True when both keys hold the same path.

Definition at line 61 of file measure_mesh.hpp.

Member Data Documentation

◆ meshPath

std::string guillaume::systems::MeasureMeshCacheKey::meshPath

Path of the model file that was measured.

Definition at line 54 of file measure_mesh.hpp.


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