#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/GCode.hpp>
|
| template<class Lookup> |
| size_t | get (int filament, size_t layer, size_t gen, Lookup &&lookup) |
◆ get()
template<class Lookup>
| size_t Slic3r::GCode::ConfigIndexCache::get |
( |
int | filament, |
|
|
size_t | layer, |
|
|
size_t | gen, |
|
|
Lookup && | lookup ) |
|
inline |
349 {
351 *
this = {
true, filament,
layer, gen, size_t(lookup())};
353 }
const Layer * layer() const
Definition GCode.hpp:286
size_t index
Definition GCode.hpp:346
size_t generation
Definition GCode.hpp:345
bool valid
Definition GCode.hpp:342
int filament_id
Definition GCode.hpp:343
size_t layer_idx
Definition GCode.hpp:344
References filament_id, generation, index, Slic3r::GCode::layer(), layer_idx, and valid.
◆ filament_id
| int Slic3r::GCode::ConfigIndexCache::filament_id {0} |
◆ generation
| size_t Slic3r::GCode::ConfigIndexCache::generation {0} |
◆ index
| size_t Slic3r::GCode::ConfigIndexCache::index {0} |
◆ layer_idx
| size_t Slic3r::GCode::ConfigIndexCache::layer_idx {0} |
◆ valid
| bool Slic3r::GCode::ConfigIndexCache::valid {false} |
The documentation for this struct was generated from the following file:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/GCode.hpp