LatticeHashForest
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lhf::Deduplicator< PropertyT, PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::Index Struct Reference

Index returned by an operation. The struct ensures type safety and possible future extensions. More...

#include <lhf.hpp>

Public Member Functions

 Index (IndexValue idx=EMPTY_SET_VALUE)
 
bool empty () const
 
bool operator== (const Index &b) const
 
bool operator!= (const Index &b) const
 
bool operator< (const Index &b) const
 
bool operator> (const Index &b) const
 

Public Attributes

IndexValue value
 

Detailed Description

template<typename PropertyT, typename PropertyLess = DefaultLess<PropertyT>, typename PropertyHash = DefaultHash<PropertyT>, typename PropertyEqual = DefaultEqual<PropertyT>, typename PropertyPrinter = DefaultPrinter<PropertyT>>
struct lhf::Deduplicator< PropertyT, PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::Index

Index returned by an operation. The struct ensures type safety and possible future extensions.

Definition at line 1898 of file lhf.hpp.

Constructor & Destructor Documentation

◆ Index()

template<typename PropertyT , typename PropertyLess = DefaultLess<PropertyT>, typename PropertyHash = DefaultHash<PropertyT>, typename PropertyEqual = DefaultEqual<PropertyT>, typename PropertyPrinter = DefaultPrinter<PropertyT>>
lhf::Deduplicator< PropertyT, PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::Index::Index ( IndexValue  idx = EMPTY_SET_VALUE)
inline

Definition at line 1901 of file lhf.hpp.

Member Function Documentation

◆ empty()

template<typename PropertyT , typename PropertyLess = DefaultLess<PropertyT>, typename PropertyHash = DefaultHash<PropertyT>, typename PropertyEqual = DefaultEqual<PropertyT>, typename PropertyPrinter = DefaultPrinter<PropertyT>>
bool lhf::Deduplicator< PropertyT, PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::Index::empty ( ) const
inline

Definition at line 1903 of file lhf.hpp.

◆ operator!=()

template<typename PropertyT , typename PropertyLess = DefaultLess<PropertyT>, typename PropertyHash = DefaultHash<PropertyT>, typename PropertyEqual = DefaultEqual<PropertyT>, typename PropertyPrinter = DefaultPrinter<PropertyT>>
bool lhf::Deduplicator< PropertyT, PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::Index::operator!= ( const Index b) const
inline

Definition at line 1911 of file lhf.hpp.

◆ operator<()

template<typename PropertyT , typename PropertyLess = DefaultLess<PropertyT>, typename PropertyHash = DefaultHash<PropertyT>, typename PropertyEqual = DefaultEqual<PropertyT>, typename PropertyPrinter = DefaultPrinter<PropertyT>>
bool lhf::Deduplicator< PropertyT, PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::Index::operator< ( const Index b) const
inline

Definition at line 1915 of file lhf.hpp.

◆ operator==()

template<typename PropertyT , typename PropertyLess = DefaultLess<PropertyT>, typename PropertyHash = DefaultHash<PropertyT>, typename PropertyEqual = DefaultEqual<PropertyT>, typename PropertyPrinter = DefaultPrinter<PropertyT>>
bool lhf::Deduplicator< PropertyT, PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::Index::operator== ( const Index b) const
inline

Definition at line 1907 of file lhf.hpp.

◆ operator>()

template<typename PropertyT , typename PropertyLess = DefaultLess<PropertyT>, typename PropertyHash = DefaultHash<PropertyT>, typename PropertyEqual = DefaultEqual<PropertyT>, typename PropertyPrinter = DefaultPrinter<PropertyT>>
bool lhf::Deduplicator< PropertyT, PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::Index::operator> ( const Index b) const
inline

Definition at line 1919 of file lhf.hpp.

Member Data Documentation

◆ value

template<typename PropertyT , typename PropertyLess = DefaultLess<PropertyT>, typename PropertyHash = DefaultHash<PropertyT>, typename PropertyEqual = DefaultEqual<PropertyT>, typename PropertyPrinter = DefaultPrinter<PropertyT>>
IndexValue lhf::Deduplicator< PropertyT, PropertyLess, PropertyHash, PropertyEqual, PropertyPrinter >::Index::value

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