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

#include <MRId.h>

Public Member Functions

 Id () noexcept
 
 Id (NoInit) noexcept
 
 Id (UndirectedEdgeId u) noexcept
 
constexpr Id (int i) noexcept
 
constexpr Id (size_t i) noexcept
 
 operator int () const
 
bool valid () const
 
 operator bool () const
 
constexpr int & get () noexcept
 
Id sym () const
 
bool even () const
 
bool odd () const
 
UndirectedEdgeId undirected () const
 
 operator UndirectedEdgeId () const
 
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]

MR::Id< EdgeTag >::Id ( )
inlinenoexcept

◆ Id() [2/5]

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

◆ Id() [3/5]

MR::Id< EdgeTag >::Id ( UndirectedEdgeId< EdgeTag > u)
inlinenoexcept

◆ Id() [4/5]

constexpr MR::Id< EdgeTag >::Id ( int i)
inlineexplicitconstexprnoexcept

◆ Id() [5/5]

constexpr MR::Id< EdgeTag >::Id ( size_t i)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ even()

bool MR::Id< EdgeTag >::even ( ) const
inline

◆ get()

constexpr int & MR::Id< EdgeTag >::get ( )
inlineconstexprnoexcept

◆ odd()

bool MR::Id< EdgeTag >::odd ( ) const
inline

◆ operator bool()

MR::Id< EdgeTag >::operator bool ( ) const
inlineexplicit

◆ operator int()

MR::Id< EdgeTag >::operator int ( ) const
inline

◆ operator UndirectedEdgeId()

MR::Id< EdgeTag >::operator UndirectedEdgeId ( ) const
inline

◆ operator!=() [1/2]

bool MR::Id< EdgeTag >::operator!= ( Id< EdgeTag > b) const
inline

◆ operator!=() [2/2]

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

◆ operator++() [1/2]

Id & MR::Id< EdgeTag >::operator++ ( )
inline

◆ operator++() [2/2]

Id MR::Id< EdgeTag >::operator++ ( int )
inline

◆ operator+=()

Id & MR::Id< EdgeTag >::operator+= ( int a)
inline

◆ operator--() [1/2]

Id & MR::Id< EdgeTag >::operator-- ( )
inline

◆ operator--() [2/2]

Id MR::Id< EdgeTag >::operator-- ( int )
inline

◆ operator-=()

Id & MR::Id< EdgeTag >::operator-= ( int a)
inline

◆ operator<() [1/2]

bool MR::Id< EdgeTag >::operator< ( Id< EdgeTag > b) const
inline

◆ operator<() [2/2]

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

◆ operator==() [1/2]

bool MR::Id< EdgeTag >::operator== ( Id< EdgeTag > b) const
inline

◆ operator==() [2/2]

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

◆ sym()

Id MR::Id< EdgeTag >::sym ( ) const
inline

◆ undirected()

UndirectedEdgeId MR::Id< EdgeTag >::undirected ( ) const
inline

◆ valid()

bool MR::Id< EdgeTag >::valid ( ) const
inline

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