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

#include <MRId.h>

Public Member Functions

constexpr Id () noexcept
 
 Id (NoInit) noexcept
 
constexpr Id (size_t i) noexcept
 
constexpr Id (int) noexcept=delete
 
constexpr operator size_t () const
 
constexpr bool valid () const
 
constexpr operator bool () const
 
constexpr size_t & get () 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-= (size_t a)
 
constexpr Idoperator+= (size_t a)
 

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 ( size_t i)
inlineexplicitconstexprnoexcept

◆ Id() [4/4]

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

Member Function Documentation

◆ get()

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

◆ operator bool()

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

◆ operator size_t()

MR::Id< VoxelTag >::operator size_t ( ) 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+= ( size_t 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-= ( size_t 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: