|
LRAUV
revA
|
Stores all of the associations as a list. More...
#include <LogAssociation.h>


Public Member Functions | |
| LoggerAssociationDeque () | |
| Constructor. More... | |
| ~LoggerAssociationDeque () | |
| Destructor. More... | |
| LogAssociation * | add (LogWriter *writerIn, Rule *ruleIn) |
| Add a new association to the deque. More... | |
| void | add (LogAssociation *association) |
| void | remove (LogWriter *writerOut) |
Public Member Functions inherited from FlexArray< LogAssociation * > | |
| FlexArray (const bool deleteOnCleanup, const unsigned int initialCapacity=32, const unsigned int maxCapacity=16384) | |
| ~FlexArray () | |
| void | freeItem (void *item) |
| void | set (const unsigned int index, const LogAssociation *&item) |
| const LogAssociation *& | get (int index=-1) const |
| LogAssociation *& | operator[] (const unsigned int index) |
| int | find (LogAssociation *item) |
| void | insert (const unsigned int index, LogAssociation *item) |
| void | push (LogAssociation *item) |
| LogAssociation * | peek (int index=-1) |
| LogAssociation * | pop (int index=-1) |
| LogAssociation * | pop (LogAssociation *item) |
| void | setArraySize (const unsigned int newSize) |
| LogAssociation ** | getArray () |
| void | setDoArrayDelete (bool doArrayDelete) |
Public Member Functions inherited from FlexArrayBase | |
| FlexArrayBase (const bool deleteOnCleanup, const unsigned int initialCapacity=32, const unsigned int maxCapacity=16384) | |
| virtual | ~FlexArrayBase () |
| void | clear () |
| int | getMinIndex () const |
| int | getMaxIndex () const |
| bool | isEmpty () const |
| unsigned int | size () const |
| void | set (const unsigned int index, const void *item) |
| int | find (void *item) const |
| void | insert (const unsigned int index, void *item) |
| void | push (void *item) |
| const void * | peek (int index=-1) |
| const void * | pop (int index=-1) |
Additional Inherited Members | |
Protected Member Functions inherited from FlexArrayBase | |
| int | getIndex (int index=-1) const |
| int | resolveIndex (const unsigned int index) |
| void | setArraySizeBase (const unsigned int newSize) |
Protected Attributes inherited from FlexArray< LogAssociation * > | |
| LogAssociation * | nullItem_ |
| LogAssociation ** | tArray_ |
| bool | doArrayDelete_ |
Protected Attributes inherited from FlexArrayBase | |
| const unsigned int | initialCapacity_ |
| unsigned int | size_ |
| const bool | deleteOnCleanup_ |
| const unsigned int | maxCapacity_ |
| int | minIndex_ |
| int | maxIndex_ |
| const void ** | array_ |
Stores all of the associations as a list.
| LoggerAssociationDeque::LoggerAssociationDeque | ( | void | ) |
Constructor.
| LoggerAssociationDeque::~LoggerAssociationDeque | ( | void | ) |
Destructor.
| LogAssociation * LoggerAssociationDeque::add | ( | LogWriter * | writerIn, |
| Rule * | ruleIn | ||
| ) |
Add a new association to the deque.
Referenced by LogEngine::addAssociation().
| void LoggerAssociationDeque::add | ( | LogAssociation * | association | ) |
References FlexArray< LogAssociation * >::push().
| void LoggerAssociationDeque::remove | ( | LogWriter * | writerOut | ) |
References LogAssociation::getWriter(), FlexArray< LogAssociation * >::pop(), and FlexArrayBase::size().
Referenced by LogEngine::removeAssociation().