#include <OutputHandlerInteractionList.h>
|
| typedef StorageContainer::const_iterator | const_iterator |
| | const iterator on stored interactions
|
| |
| typedef StorageContainer::iterator | iterator |
| | iterator on stored interactions
|
| |
OutputHandler that stores all reported interactions in a list
NOTE: this handler does NOT support InteractionRange instances
◆ const_iterator
const iterator on stored interactions
◆ iterator
iterator on stored interactions
◆ StorageContainer
the container used internally for storing interactions
◆ OutputHandlerInteractionList()
| IntaRNA::OutputHandlerInteractionList::OutputHandlerInteractionList |
( |
const OutputConstraint & |
outConstraint, |
|
|
const size_t |
maxToStore |
|
) |
| |
construction of empty container
- Parameters
-
| maxToStore | the maximal number of (best) elements to be stored |
| outConstraint | the output constraint applied to find the reported interaction |
◆ ~OutputHandlerInteractionList()
| virtual IntaRNA::OutputHandlerInteractionList::~OutputHandlerInteractionList |
( |
| ) |
|
|
virtual |
◆ add()
| virtual void IntaRNA::OutputHandlerInteractionList::add |
( |
const Interaction & |
interaction | ) |
|
|
virtual |
Adds a given RNA-RNA interaction to the storage/output.
- Parameters
-
| interaction | the interaction to add |
Implements IntaRNA::OutputHandler.
◆ begin() [1/2]
iterator to first stored interaction or end() if empty
- Returns
- first stored interaction (pointer) or end() if empty
◆ begin() [2/2]
constant iterator to first stored interaction or end() if empty
- Returns
- first stored interaction (pointer) or end() if empty
◆ empty()
| bool IntaRNA::OutputHandlerInteractionList::empty |
( |
| ) |
const |
|
inline |
whether or not the container is empty
- Returns
- true if no elements are stored
◆ end() [1/2]
iterator pointing AFTER last interaction (non-valid)
- Returns
- iterator pointing after last element
◆ end() [2/2]
constant iterator pointing AFTER last interaction (non-valid)
- Returns
- iterator pointing after last element
◆ lessThan_StorageContainer()
| static bool IntaRNA::OutputHandlerInteractionList::lessThan_StorageContainer |
( |
const Interaction *const |
a, |
|
|
const Interaction *const |
b |
|
) |
| |
|
inlinestaticprotected |
'less-than' comparison struct dereferencing storage pointer
◆ maxToStore
| const size_t IntaRNA::OutputHandlerInteractionList::maxToStore |
|
protected |
number of elements to store within storage (only maxToStore best)
◆ reportedInteractions
| size_t IntaRNA::OutputHandler::reportedInteractions |
|
protected |
counter of reported interactions
◆ storage
container where interactions are stored
The documentation for this class was generated from the following file: