MeshLib Documentation
Loading...
Searching...
No Matches
MR::Id< T > Class Template Reference

#include <MRId.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ Id() [1/6]

template<typename T >
MR::Id< T >::Id ( )
inlineconstexprnoexcept

◆ Id() [2/6]

template<typename T >
MR::Id< T >::Id ( NoInit )
inlineexplicitnoexcept

◆ Id() [3/6]

template<typename T >
MR::Id< T >::Id ( int i)
inlineexplicitconstexprnoexcept

◆ Id() [4/6]

template<typename T >
MR::Id< T >::Id ( unsigned int i)
inlineexplicitconstexprnoexcept

◆ Id() [5/6]

template<typename T >
MR::Id< T >::Id ( size_t i)
inlineexplicitconstexprnoexcept

◆ Id() [6/6]

template<typename T >
template<typename U >
MR::Id< T >::Id ( Id< U > )
delete

Member Function Documentation

◆ get()

template<typename T >
int & MR::Id< T >::get ( )
inlineconstexprnoexcept

◆ operator bool()

template<typename T >
MR::Id< T >::operator bool ( ) const
inlineexplicitconstexpr

◆ operator int()

template<typename T >
MR::Id< T >::operator int ( ) const
inlineconstexpr

◆ operator!=() [1/2]

template<typename T >
bool MR::Id< T >::operator!= ( Id< T > b) const
inlineconstexpr

◆ operator!=() [2/2]

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

◆ operator++() [1/2]

template<typename T >
Id & MR::Id< T >::operator++ ( )
inlineconstexpr

◆ operator++() [2/2]

template<typename T >
Id MR::Id< T >::operator++ ( int )
inlineconstexpr

◆ operator+=()

template<typename T >
Id & MR::Id< T >::operator+= ( int a)
inlineconstexpr

◆ operator--() [1/2]

template<typename T >
Id & MR::Id< T >::operator-- ( )
inlineconstexpr

◆ operator--() [2/2]

template<typename T >
Id MR::Id< T >::operator-- ( int )
inlineconstexpr

◆ operator-=()

template<typename T >
Id & MR::Id< T >::operator-= ( int a)
inlineconstexpr

◆ operator<() [1/2]

template<typename T >
bool MR::Id< T >::operator< ( Id< T > b) const
inlineconstexpr

◆ operator<() [2/2]

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

◆ operator==() [1/2]

template<typename T >
bool MR::Id< T >::operator== ( Id< T > b) const
inlineconstexpr

◆ operator==() [2/2]

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

◆ valid()

template<typename T >
bool MR::Id< T >::valid ( ) const
inlineconstexpr

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