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 |
| MultiFieldId & | operator= (const MultiFieldId &)=default |
| MultiFieldId & | operator= (MultiFieldId &&)=default |
| bool | operator== (const MultiFieldId &obj) const |
Public Attributes | |
| int | fieldIndex = -1 |
| int | layerId = 0 |
Static Public Attributes | |
| static const MultiFieldId | Invalid = MultiFieldId() |
Helper class to store together a field index of a coin multifield object and the coin geometry layer to which it belongs.
Overloaded operators and specialisation of std::less enable it to be used in containers including ordered containers.
|
explicitconstexpr |
|
default |
|
default |
| bool SketcherGui::MultiFieldId::operator!= | ( | const MultiFieldId & | obj | ) | const |
References fieldIndex, and layerId.
|
default |
|
default |
| bool SketcherGui::MultiFieldId::operator== | ( | const MultiFieldId & | obj | ) | const |
References fieldIndex, and layerId.
| int SketcherGui::MultiFieldId::fieldIndex = -1 |
|
static |
| int SketcherGui::MultiFieldId::layerId = 0 |