![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/DataStructures/SetBase.hpp>
Public Types | |
using | ConstIterator = SetConstIterator< T > |
The type of a set const iterator. More... | |
Public Member Functions | |
virtual ConstIterator | begin () const =0 |
virtual ConstIterator | end () const =0 |
void | copyDataFrom (const SetBase< T > &set) |
Copy data from another set. More... | |
virtual Success | find (const T &element) const =0 |
virtual Success | insert (const T &element)=0 |
virtual Success | remove (const T &element)=0 |
![]() | |
virtual void | clear ()=0 |
Clear the container. More... | |
virtual FwSizeType | getSize () const =0 |
virtual FwSizeType | getCapacity () const =0 |
bool | isEmpty () const |
bool | isFull () const |
Protected Member Functions | |
SetBase () | |
Zero-argument constructor. More... | |
virtual | ~SetBase ()=default |
Destructor. More... | |
![]() | |
SizedContainer () | |
Zero-argument constructor. More... | |
virtual | ~SizedContainer ()=default |
Destructor. More... | |
Definition at line 18 of file SetBase.hpp.
using Fw::SetBase< T >::ConstIterator = SetConstIterator<T> |
The type of a set const iterator.
Definition at line 39 of file SetBase.hpp.
|
inlineprotected |
Zero-argument constructor.
Definition at line 47 of file SetBase.hpp.
|
protectedvirtualdefault |
Destructor.
|
pure virtual |
Get the begin iterator
Implemented in Fw::ExternalRedBlackTreeSet< T >, Fw::ExternalArraySet< T >, Fw::RedBlackTreeSet< T, C >, and Fw::ArraySet< T, C >.
|
inline |
Copy data from another set.
Definition at line 66 of file SetBase.hpp.
|
pure virtual |
Get the end iterator
Implemented in Fw::ExternalRedBlackTreeSet< T >, Fw::ExternalArraySet< T >, Fw::RedBlackTreeSet< T, C >, and Fw::ArraySet< T, C >.
|
pure virtual |
Find an element in a set SUCCESS if the item was found
element | The element |
Implemented in Fw::ExternalRedBlackTreeSet< T >, Fw::ExternalArraySet< T >, Fw::RedBlackTreeSet< T, C >, and Fw::ArraySet< T, C >.
|
pure virtual |
Insert an element in the set
element | The element |
Implemented in Fw::ExternalRedBlackTreeSet< T >, Fw::ExternalArraySet< T >, Fw::RedBlackTreeSet< T, C >, and Fw::ArraySet< T, C >.
|
pure virtual |
Remove an element from the set
element | The element |
Implemented in Fw::ExternalRedBlackTreeSet< T >, Fw::ExternalArraySet< T >, Fw::RedBlackTreeSet< T, C >, and Fw::ArraySet< T, C >.