Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::CustomGCode::Info Struct Reference

#include <src/libslic3r/CustomGCode.hpp>

+ Collaboration diagram for Slic3r::CustomGCode::Info:

Public Member Functions

bool operator== (const Info &rhs) const
 
bool operator!= (const Info &rhs) const
 

Public Attributes

Mode mode = Undef
 
std::vector< Itemgcodes
 

Detailed Description

Member Function Documentation

◆ operator!=()

bool Slic3r::CustomGCode::Info::operator!= ( const Info rhs) const
inline
74{ return !(*this == rhs); }

◆ operator==()

bool Slic3r::CustomGCode::Info::operator== ( const Info rhs) const
inline
68 {
69 if (rhs.gcodes.empty() && this->gcodes.empty())
70 return true; // don't respect to the comparison of the mode, when g_codes are empty
71 return (rhs.mode == this->mode ) &&
72 (rhs.gcodes == this->gcodes );
73 }
std::vector< Item > gcodes
Definition CustomGCode.hpp:65

References gcodes, and mode.

Member Data Documentation

◆ gcodes

◆ mode


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