Manage list of SUIT_DataOwnerPtr. More...
#include <SUIT_DataOwner.h>
Public Member Functions | |
SUIT_DataOwnerPtrList () | |
constructor More... | |
SUIT_DataOwnerPtrList (const bool skipAllEqual) | |
constructor More... | |
SUIT_DataOwnerPtrList (const SUIT_DataOwnerPtrList &l) | |
copy constructor More... | |
SUIT_DataOwnerPtrList (const SUIT_DataOwnerPtrList &l, const bool skipAllEqual) | |
copy constructor More... | |
void | append (const SUIT_DataOwnerPtr &x) |
append function More... | |
void | clear () |
uint | remove (const SUIT_DataOwnerPtr &x) |
Private Member Functions | |
iterator | prepend (const SUIT_DataOwnerPtr &x) |
hide method More... | |
iterator | insert (iterator it, const SUIT_DataOwnerPtr &x) |
hide method More... | |
void | push_front (const SUIT_DataOwnerPtr &x) |
hide method More... | |
void | push_back (const SUIT_DataOwnerPtr &x) |
hide method More... | |
Private Attributes | |
QMap< SUIT_DataOwnerPtr, int > | myMap |
bool | mySkipEqual |
implements value list with unique items (uniqueness is provided by operator==() and operator<())
SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList | ( | ) |
Constructor (default)
SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList | ( | const bool | skipAllEqual | ) |
Constructor (default)
SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList | ( | const SUIT_DataOwnerPtrList & | l | ) |
Constructor (copy)
SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList | ( | const SUIT_DataOwnerPtrList & | l, |
const bool | skipAllEqual | ||
) |
Constructor (copy)
References append(), mySkipEqual, and operator=().
void SUIT_DataOwnerPtrList::append | ( | const SUIT_DataOwnerPtr & | x | ) |
Appends an item to the list
References myMap, and mySkipEqual.
void SUIT_DataOwnerPtrList::clear | ( | ) |
Clear list
References myMap, and mySkipEqual.
|
private |
|
private |
|
private |
|
private |
uint SUIT_DataOwnerPtrList::remove | ( | const SUIT_DataOwnerPtr & | x | ) |
Remove an item from the list
References myMap, and mySkipEqual.
|
private |
|
private |