OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::ItemForDelete Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/GUI_ObjectList.hpp>

Public Member Functions

 ItemForDelete (ItemType type, int obj_idx, int sub_obj_idx)
bool operator== (const ItemForDelete &r) const
bool operator< (const ItemForDelete &r) const

Public Attributes

ItemType type
int obj_idx
int sub_obj_idx

Detailed Description

Constructor & Destructor Documentation

◆ ItemForDelete()

Slic3r::GUI::ItemForDelete::ItemForDelete ( ItemType type,
int obj_idx,
int sub_obj_idx )
inline
75 {}
ItemType type
Definition GUI_ObjectList.hpp:69
int obj_idx
Definition GUI_ObjectList.hpp:70
int sub_obj_idx
Definition GUI_ObjectList.hpp:71

References obj_idx, sub_obj_idx, and type.

Referenced by operator<(), and operator==().

Here is the caller graph for this function:

Member Function Documentation

◆ operator<()

bool Slic3r::GUI::ItemForDelete::operator< ( const ItemForDelete & r) const
inline
83 {
84 if (obj_idx != r.obj_idx)
85 return (obj_idx < r.obj_idx);
86 return (sub_obj_idx < r.sub_obj_idx);
87 }

References ItemForDelete(), obj_idx, and sub_obj_idx.

Here is the call graph for this function:

◆ operator==()

bool Slic3r::GUI::ItemForDelete::operator== ( const ItemForDelete & r) const
inline
78 {
79 return (type == r.type && obj_idx == r.obj_idx && sub_obj_idx == r.sub_obj_idx);
80 }

References ItemForDelete(), obj_idx, sub_obj_idx, and type.

Here is the call graph for this function:

Member Data Documentation

◆ obj_idx

int Slic3r::GUI::ItemForDelete::obj_idx

◆ sub_obj_idx

int Slic3r::GUI::ItemForDelete::sub_obj_idx

◆ type

ItemType Slic3r::GUI::ItemForDelete::type

Referenced by ItemForDelete(), and operator==().


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