helics
3.5.1
|
#include <helicsTypes.hpp>
Public Types | |
using | UnderlyingType = BaseType |
Public Member Functions | |
constexpr | IdentifierId () noexcept |
constexpr | IdentifierId (BaseType val) noexcept |
constexpr | IdentifierId (const IdentifierId &id) noexcept |
IdentifierId & | operator= (BaseType val) noexcept |
IdentifierId & | operator= (const IdentifierId &id)=default |
BaseType | value () const noexcept |
bool | operator== (IdentifierId id) const noexcept |
bool | operator!= (IdentifierId id) const noexcept |
bool | operator< (IdentifierId id) const noexcept |
bool | isValid () const noexcept |
Static Public Attributes | |
static const Identifiers | identity {ID} |
the type of the identifier | |
class defining an identifier type
the intent of this class is to limit the operations available on an identifier to those that are a actually required and make sense, and make it as low impact as possible. it also acts to limit any mistakes of on type of identifier for another
|
inlineconstexprnoexcept |
default constructor
|
inlineexplicitconstexprnoexcept |
value based constructor
|
inlineconstexprnoexcept |
copy constructor
|
inlinenoexcept |
inequality operator
|
inlinenoexcept |
less than operator for sorting
|
inlinenoexcept |
assignment from number
|
default |
copy assignment
|
inlinenoexcept |
equality operator
|
inlinenoexcept |
get the underlying value