|
RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
|
Repository for hit counters used across the application. More...
#include <easylogging++.h>
Public Member Functions | |
| bool | validateEveryN (const char *filename, base::type::LineNumber lineNumber, std::size_t n) |
| Validates counter for every N, i.e, registers new if does not exist otherwise updates original one. More... | |
| bool | validateAfterN (const char *filename, base::type::LineNumber lineNumber, std::size_t n) |
| Validates counter for hits >= N, i.e, registers new if does not exist otherwise updates original one. More... | |
| bool | validateNTimes (const char *filename, base::type::LineNumber lineNumber, std::size_t n) |
| Validates counter for hits are <= n, i.e, registers new if does not exist otherwise updates original one. More... | |
| const base::HitCounter * | getCounter (const char *filename, base::type::LineNumber lineNumber) |
| Gets hit counter registered at specified position. | |
Public Member Functions inherited from el::base::utils::RegistryWithPred< base::HitCounter, base::HitCounter::Predicate > | |
| RegistryWithPred (const RegistryWithPred &sr) | |
| Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. | |
| RegistryWithPred & | operator= (const RegistryWithPred &sr) |
| Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More... | |
Public Member Functions inherited from el::base::utils::AbstractRegistry< base::HitCounter, std::vector< base::HitCounter * > > | |
| AbstractRegistry (void) | |
| Default constructor. | |
| AbstractRegistry (AbstractRegistry &&sr) | |
| Move constructor that is useful for base classes. | |
| bool | operator== (const AbstractRegistry< base::HitCounter, std::vector< base::HitCounter * > > &other) |
| bool | operator!= (const AbstractRegistry< base::HitCounter, std::vector< base::HitCounter * > > &other) |
| AbstractRegistry & | operator= (AbstractRegistry &&sr) |
| Assignment move operator. | |
| virtual iterator | begin (void) ELPP_FINAL |
| virtual iterator | end (void) ELPP_FINAL |
| virtual const_iterator | cbegin (void) const ELPP_FINAL |
| virtual const_iterator | cend (void) const ELPP_FINAL |
| virtual bool | empty (void) const ELPP_FINAL |
| virtual std::size_t | size (void) const ELPP_FINAL |
|
virtual std::vector < base::HitCounter * > & | list (void) ELPP_FINAL |
| Returns underlying container by reference. | |
|
virtual const std::vector < base::HitCounter * > & | list (void) const ELPP_FINAL |
| Returns underlying container by constant reference. | |
Public Member Functions inherited from el::base::threading::ThreadSafe | |
| virtual void | acquireLock (void) ELPP_FINAL |
| virtual void | releaseLock (void) ELPP_FINAL |
| virtual base::threading::Mutex & | lock (void) ELPP_FINAL |
Additional Inherited Members | |
Public Types inherited from el::base::utils::RegistryWithPred< base::HitCounter, base::HitCounter::Predicate > | |
|
typedef RegistryWithPred < base::HitCounter, base::HitCounter::Predicate > ::iterator | iterator |
|
typedef RegistryWithPred < base::HitCounter, base::HitCounter::Predicate > ::const_iterator | const_iterator |
Public Types inherited from el::base::utils::AbstractRegistry< base::HitCounter, std::vector< base::HitCounter * > > | |
|
typedef std::vector < base::HitCounter * > ::iterator | iterator |
|
typedef std::vector < base::HitCounter * > ::const_iterator | const_iterator |
Protected Member Functions inherited from el::base::utils::RegistryWithPred< base::HitCounter, base::HitCounter::Predicate > | |
| virtual void | unregisterAll (void) ELPP_FINAL |
| Unregisters all the pointers from current repository. | |
| virtual void | unregister (base::HitCounter *&ptr) ELPP_FINAL |
| virtual void | registerNew (base::HitCounter *ptr) ELPP_FINAL |
| base::HitCounter * | get (const T &arg1, const T2 arg2) |
| Gets pointer from repository with speicifed arguments. Arguments are passed to predicate in order to validate pointer. | |
Protected Member Functions inherited from el::base::utils::AbstractRegistry< base::HitCounter, std::vector< base::HitCounter * > > | |
| virtual void | deepCopy (const AbstractRegistry< base::HitCounter, std::vector< base::HitCounter * > > &)=0 |
| void | reinitDeepCopy (const AbstractRegistry< base::HitCounter, std::vector< base::HitCounter * > > &sr) |
Repository for hit counters used across the application.
| bool el::base::RegisteredHitCounters::validateAfterN | ( | const char * | filename, |
| base::type::LineNumber | lineNumber, | ||
| std::size_t | n | ||
| ) |
Validates counter for hits >= N, i.e, registers new if does not exist otherwise updates original one.
| bool el::base::RegisteredHitCounters::validateEveryN | ( | const char * | filename, |
| base::type::LineNumber | lineNumber, | ||
| std::size_t | n | ||
| ) |
Validates counter for every N, i.e, registers new if does not exist otherwise updates original one.
| bool el::base::RegisteredHitCounters::validateNTimes | ( | const char * | filename, |
| base::type::LineNumber | lineNumber, | ||
| std::size_t | n | ||
| ) |
Validates counter for hits are <= n, i.e, registers new if does not exist otherwise updates original one.
1.8.6