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

#include <MRId.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ Id() [1/5]

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

◆ Id() [2/5]

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

◆ Id() [3/5]

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

◆ Id() [4/5]

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

◆ Id() [5/5]

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

Member Function Documentation

◆ get()

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

◆ operator bool()

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

◆ operator int()

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

◆ operator!=() [1/2]

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

◆ 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++ ( )
inline

◆ operator++() [2/2]

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

◆ operator+=()

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator-=()

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

◆ operator<() [1/2]

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

◆ 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
inline

◆ 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
inline

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