lean_graph
 
Loading...
Searching...
No Matches
lean_graph::Counter< Aspect, CounterType, H > Class Template Reference

INFO: A counter class. More...

#include <lean_graph.h>

Public Member Functions

 Counter (CounterType start_from)
 
bool exist (const Aspect &aspect) const
 
bool counter_exceeds (CounterType ct) const
 
CounterType get_counter (const Aspect &aspect)
 
CounterType get_counter () const
 

Detailed Description

template<class Aspect, class CounterType, class H>
class lean_graph::Counter< Aspect, CounterType, H >

INFO: A counter class.

Constructor & Destructor Documentation

◆ Counter()

template<class Aspect, class CounterType, class H>
lean_graph::Counter< Aspect, CounterType, H >::Counter ( CounterType start_from)
inlineexplicit

Member Function Documentation

◆ counter_exceeds()

template<class Aspect, class CounterType, class H>
bool lean_graph::Counter< Aspect, CounterType, H >::counter_exceeds ( CounterType ct) const
inline

◆ exist()

template<class Aspect, class CounterType, class H>
bool lean_graph::Counter< Aspect, CounterType, H >::exist ( const Aspect & aspect) const
inline

◆ get_counter() [1/2]

template<class Aspect, class CounterType, class H>
CounterType lean_graph::Counter< Aspect, CounterType, H >::get_counter ( ) const
inline

◆ get_counter() [2/2]

template<class Aspect, class CounterType, class H>
CounterType lean_graph::Counter< Aspect, CounterType, H >::get_counter ( const Aspect & aspect)
inline

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