Representes an ID number ranging from 1..N including N.
More...
#include <index.hpp>
Representes an ID number ranging from 1..N including N.
This is interchangeable with the Index class.
◆ Id() [1/3]
constexpr microstrain::Id::Id |
( |
unsigned int |
id | ) |
|
|
inlineexplicitconstexpr |
◆ Id() [2/3]
constexpr microstrain::Id::Id |
( |
| ) |
|
|
inlineconstexpr |
◆ Id() [3/3]
constexpr microstrain::Id::Id |
( |
const Index & |
other | ) |
|
|
inlineconstexpr |
◆ clear()
constexpr void microstrain::Id::clear |
( |
| ) |
|
|
inlineconstexpr |
◆ id()
constexpr unsigned int microstrain::Id::id |
( |
| ) |
const |
|
inlineconstexpr |
◆ index()
constexpr unsigned int microstrain::Id::index |
( |
| ) |
const |
|
inlineconstexpr |
◆ isAssigned()
constexpr bool microstrain::Id::isAssigned |
( |
| ) |
const |
|
inlineconstexpr |
◆ isValid()
constexpr bool microstrain::Id::isValid |
( |
size_t |
max_count | ) |
const |
|
inlineconstexpr |
◆ operator!=()
constexpr bool microstrain::Id::operator!= |
( |
const Id & |
other | ) |
const |
|
inlineconstexpr |
◆ operator++() [1/2]
Id& microstrain::Id::operator++ |
( |
| ) |
|
|
inline |
◆ operator++() [2/2]
Id microstrain::Id::operator++ |
( |
int |
| ) |
|
|
inline |
◆ operator--() [1/2]
Id& microstrain::Id::operator-- |
( |
| ) |
|
|
inline |
◆ operator--() [2/2]
Id microstrain::Id::operator-- |
( |
int |
| ) |
|
|
inline |
◆ operator=()
constexpr Id& microstrain::Id::operator= |
( |
const Index & |
other | ) |
|
|
inlineconstexpr |
◆ operator==()
constexpr bool microstrain::Id::operator== |
( |
const Id & |
other | ) |
const |
|
inlineconstexpr |
◆ setFromId()
constexpr Id& microstrain::Id::setFromId |
( |
unsigned int |
id | ) |
|
|
inlineconstexpr |
◆ setFromIndex()
constexpr Id& microstrain::Id::setFromIndex |
( |
unsigned int |
index | ) |
|
|
inlineconstexpr |
The documentation for this class was generated from the following file: