SketcherGui::MultiFieldId Class Reference

Helper class to store together a field index of a coin multifield object and the coin geometry layer to which it belongs. More...

#include <EditModeCoinManagerParameters.h>

Public Member Functions

 MultiFieldId (const MultiFieldId &)=default
 
constexpr MultiFieldId (int fieldindex=-1, int layerid=0)
 
 MultiFieldId (MultiFieldId &&)=default
 
bool operator!= (const MultiFieldId &obj) const
 
MultiFieldIdoperator= (const MultiFieldId &)=default
 
MultiFieldIdoperator= (MultiFieldId &&)=default
 
bool operator== (const MultiFieldId &obj) const
 

Public Attributes

int fieldIndex = -1
 
int layerId = 0
 

Static Public Attributes

static const MultiFieldId Invalid = MultiFieldId()
 

Detailed Description

Helper class to store together a field index of a coin multifield object and the coin geometry layer to which it belongs.

Warning
the layer is * not * the logical layer (the one of GeometryFacade), but the coin layer. See GeometryLayerParameters.

Overloaded operators and specialisation of std::less enable it to be used in containers including ordered containers.

Constructor & Destructor Documentation

◆ MultiFieldId() [1/3]

constexpr SketcherGui::MultiFieldId::MultiFieldId ( int  fieldindex = -1,
int  layerid = 0 
)
explicitconstexpr

◆ MultiFieldId() [2/3]

SketcherGui::MultiFieldId::MultiFieldId ( const MultiFieldId )
default

◆ MultiFieldId() [3/3]

SketcherGui::MultiFieldId::MultiFieldId ( MultiFieldId &&  )
default

Member Function Documentation

◆ operator!=()

bool SketcherGui::MultiFieldId::operator!= ( const MultiFieldId obj) const

References fieldIndex, and layerId.

◆ operator=() [1/2]

MultiFieldId & SketcherGui::MultiFieldId::operator= ( const MultiFieldId )
default

◆ operator=() [2/2]

MultiFieldId & SketcherGui::MultiFieldId::operator= ( MultiFieldId &&  )
default

◆ operator==()

bool SketcherGui::MultiFieldId::operator== ( const MultiFieldId obj) const

References fieldIndex, and layerId.

Member Data Documentation

◆ fieldIndex

◆ Invalid

◆ layerId


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