![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/DataStructures/ArraySet.hpp>
Public Types | |
| using | ConstIterator = SetConstIterator< T > |
| The type of a const iterator. More... | |
| using | Entry = SetOrMapImplEntry< T, Nil > |
| The type of an implementation entry. More... | |
| using | Entries = Entry[C] |
| The type of the implementation entries. More... | |
Public Types inherited from Fw::SetBase< T > | |
| using | ConstIterator = SetConstIterator< T > |
| The type of a set const iterator. More... | |
Public Member Functions | |
| ArraySet () | |
| Zero-argument constructor. More... | |
| ArraySet (const ArraySet< T, C > &set) | |
| Copy constructor. More... | |
| ~ArraySet () override=default | |
| Destructor. More... | |
| ArraySet< T, C > & | operator= (const ArraySet< T, C > &set) |
| operator= More... | |
| ConstIterator | begin () const override |
| void | clear () override |
| Clear the set. More... | |
| ConstIterator | end () const override |
| Success | find (const T &element) const override |
| FwSizeType | getCapacity () const override |
| FwSizeType | getSize () const override |
| Success | insert (const T &element) override |
| Success | remove (const T &element) override |
Public Member Functions inherited from Fw::SetBase< T > | |
| void | copyDataFrom (const SetBase< T > &set) |
| Copy data from another set. More... | |
Public Member Functions inherited from Fw::SizedContainer | |
| bool | isEmpty () const |
| bool | isFull () const |
Friends | |
| template<typename TT , FwSizeType CC> | |
| class | ArraySetTester |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::SetBase< T > | |
| SetBase () | |
| Zero-argument constructor. More... | |
| virtual | ~SetBase ()=default |
| Destructor. More... | |
Protected Member Functions inherited from Fw::SizedContainer | |
| SizedContainer () | |
| Zero-argument constructor. More... | |
| virtual | ~SizedContainer ()=default |
| Destructor. More... | |
Definition at line 15 of file ArraySet.hpp.
| using Fw::ArraySet< T, C >::ConstIterator = SetConstIterator<T> |
The type of a const iterator.
Definition at line 35 of file ArraySet.hpp.
| using Fw::ArraySet< T, C >::Entries = Entry[C] |
The type of the implementation entries.
Definition at line 41 of file ArraySet.hpp.
| using Fw::ArraySet< T, C >::Entry = SetOrMapImplEntry<T, Nil> |
The type of an implementation entry.
Definition at line 38 of file ArraySet.hpp.
|
inline |
Zero-argument constructor.
Definition at line 49 of file ArraySet.hpp.
|
inline |
Copy constructor.
Definition at line 52 of file ArraySet.hpp.
|
overridedefault |
Destructor.
|
inlineoverridevirtual |
Get the begin iterator
Implements Fw::SetBase< T >.
Definition at line 70 of file ArraySet.hpp.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Get the end iterator
Implements Fw::SetBase< T >.
Definition at line 77 of file ArraySet.hpp.
|
inlineoverridevirtual |
Find an element in the set
| element | The element |
Implements Fw::SetBase< T >.
Definition at line 81 of file ArraySet.hpp.
|
inlineoverridevirtual |
Get the capacity of the set (max number of entries)
Implements Fw::SizedContainer.
Definition at line 88 of file ArraySet.hpp.
|
inlineoverridevirtual |
Get the size (number of entries)
Implements Fw::SizedContainer.
Definition at line 92 of file ArraySet.hpp.
|
inlineoverridevirtual |
Insert an element in the set
| element | The element |
Implements Fw::SetBase< T >.
Definition at line 96 of file ArraySet.hpp.
|
inline |
operator=
Definition at line 63 of file ArraySet.hpp.
|
inlineoverridevirtual |
Remove an element from the set
| element | The element |
Implements Fw::SetBase< T >.
Definition at line 103 of file ArraySet.hpp.
|
friend |
Definition at line 20 of file ArraySet.hpp.