Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::ObjectID Class Reference

#include <src/libslic3r/ObjectID.hpp>

Public Member Functions

 ObjectID (size_t id)
 
 ObjectID ()
 
bool operator== (const ObjectID &rhs) const
 
bool operator!= (const ObjectID &rhs) const
 
bool operator< (const ObjectID &rhs) const
 
bool operator> (const ObjectID &rhs) const
 
bool operator<= (const ObjectID &rhs) const
 
bool operator>= (const ObjectID &rhs) const
 
bool valid () const
 
bool invalid () const
 

Public Attributes

size_t id
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar)
 

Friends

class cereal::access
 

Detailed Description

Constructor & Destructor Documentation

◆ ObjectID() [1/2]

Slic3r::ObjectID::ObjectID ( size_t  id)
inline
23: id(id) {}
size_t id
Definition ObjectID.hpp:37

◆ ObjectID() [2/2]

Slic3r::ObjectID::ObjectID ( )
inline
25: id(0) {}

Member Function Documentation

◆ invalid()

bool Slic3r::ObjectID::invalid ( ) const
inline

◆ operator!=()

bool Slic3r::ObjectID::operator!= ( const ObjectID rhs) const
inline
28{ return this->id != rhs.id; }

References id.

◆ operator<()

bool Slic3r::ObjectID::operator< ( const ObjectID rhs) const
inline
29{ return this->id < rhs.id; }

References id.

◆ operator<=()

bool Slic3r::ObjectID::operator<= ( const ObjectID rhs) const
inline
31{ return this->id <= rhs.id; }

References id.

◆ operator==()

bool Slic3r::ObjectID::operator== ( const ObjectID rhs) const
inline
27{ return this->id == rhs.id; }

References id.

◆ operator>()

bool Slic3r::ObjectID::operator> ( const ObjectID rhs) const
inline
30{ return this->id > rhs.id; }

References id.

◆ operator>=()

bool Slic3r::ObjectID::operator>= ( const ObjectID rhs) const
inline
32{ return this->id >= rhs.id; }

References id.

◆ serialize()

template<class Archive >
void Slic3r::ObjectID::serialize ( Archive &  ar)
inlineprivate
41{ ar(id); }

◆ valid()

Friends And Related Symbol Documentation

◆ cereal::access

friend class cereal::access
friend

Member Data Documentation

◆ id


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