MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::Id< VoxelTag > Class Reference

#include <MRId.h>

Public Types

using ValueType = size_t
 

Public Member Functions

constexpr Id () noexcept
 
 Id (NoInit) noexcept
 
constexpr Id (ValueType i) noexcept
 
constexpr Id (int) noexcept=delete
 
constexpr operator ValueType () const
 
constexpr bool valid () const
 
constexpr operator bool () const
 
constexpr ValueTypeget () noexcept
 
constexpr bool operator== (Id b) const
 
constexpr bool operator!= (Id b) const
 
constexpr bool operator< (Id b) const
 
template<typename U >
bool operator== (Id< U > b) const =delete
 
template<typename U >
bool operator!= (Id< U > b) const =delete
 
template<typename U >
bool operator< (Id< U > b) const =delete
 
constexpr Idoperator-- ()
 
constexpr Idoperator++ ()
 
constexpr Id operator-- (int)
 
constexpr Id operator++ (int)
 
constexpr Idoperator-= (ValueType a)
 
constexpr Idoperator+= (ValueType a)
 

Member Typedef Documentation

◆ ValueType

using MR::Id< VoxelTag >::ValueType = size_t

Constructor & Destructor Documentation

◆ Id() [1/4]

MR::Id< VoxelTag >::Id ( )
inlineconstexprnoexcept

◆ Id() [2/4]

MR::Id< VoxelTag >::Id ( NoInit )
inlineexplicitnoexcept

◆ Id() [3/4]

MR::Id< VoxelTag >::Id ( ValueType i)
inlineexplicitconstexprnoexcept

◆ Id() [4/4]

MR::Id< VoxelTag >::Id ( int )
explicitconstexprdeletenoexcept

Member Function Documentation

◆ get()

ValueType & MR::Id< VoxelTag >::get ( )
inlineconstexprnoexcept

◆ operator bool()

MR::Id< VoxelTag >::operator bool ( ) const
inlineexplicitconstexpr

◆ operator ValueType()

MR::Id< VoxelTag >::operator ValueType ( ) const
inlineconstexpr

◆ operator!=() [1/2]

bool MR::Id< VoxelTag >::operator!= ( Id< VoxelTag > b) const
inlineconstexpr

◆ operator!=() [2/2]

template<typename U >
bool MR::Id< VoxelTag >::operator!= ( Id< U > b) const
delete

◆ operator++() [1/2]

Id & MR::Id< VoxelTag >::operator++ ( )
inlineconstexpr

◆ operator++() [2/2]

Id MR::Id< VoxelTag >::operator++ ( int )
inlineconstexpr

◆ operator+=()

Id & MR::Id< VoxelTag >::operator+= ( ValueType a)
inlineconstexpr

◆ operator--() [1/2]

Id & MR::Id< VoxelTag >::operator-- ( )
inlineconstexpr

◆ operator--() [2/2]

Id MR::Id< VoxelTag >::operator-- ( int )
inlineconstexpr

◆ operator-=()

Id & MR::Id< VoxelTag >::operator-= ( ValueType a)
inlineconstexpr

◆ operator<() [1/2]

bool MR::Id< VoxelTag >::operator< ( Id< VoxelTag > b) const
inlineconstexpr

◆ operator<() [2/2]

template<typename U >
bool MR::Id< VoxelTag >::operator< ( Id< U > b) const
delete

◆ operator==() [1/2]

bool MR::Id< VoxelTag >::operator== ( Id< VoxelTag > b) const
inlineconstexpr

◆ operator==() [2/2]

template<typename U >
bool MR::Id< VoxelTag >::operator== ( Id< U > b) const
delete

◆ valid()

bool MR::Id< VoxelTag >::valid ( ) const
inlineconstexpr

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