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

#include <MRId.h>

Public Member Functions

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

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

◆ Id() [2/6]

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

◆ Id() [3/6]

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

◆ Id() [4/6]

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

◆ Id() [5/6]

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

◆ Id() [6/6]

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

Member Function Documentation

◆ even()

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

◆ get()

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

◆ odd()

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

◆ operator bool()

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

◆ operator int()

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

◆ operator UndirectedEdgeId()

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

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator+=()

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator-=()

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

◆ operator<() [1/2]

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

◆ operator<() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ sym()

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

◆ undirected()

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

◆ valid()

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

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