|
Safe DDS
|
Set-like data structure. More...
#include <StaticSet.hpp>
Public Member Functions | |
| StaticSet () noexcept=default | |
| Default constructor. More... | |
| virtual | ~StaticSet () noexcept=default |
| Virtual destructor. More... | |
| StaticSet (const StaticSet &) noexcept=delete | |
| Copy deleted. More... | |
| StaticSet (StaticSet &&) noexcept=delete | |
| Movement delete. More... | |
| StaticSet & | operator= (const StaticSet &) noexcept=delete |
| Copy operator delete. More... | |
| StaticSet & | operator= (StaticSet &&) noexcept=delete |
| Movement operator delete due private references. More... | |
| T * | at (uint32_t pos) noexcept override |
| Get element of given index. More... | |
| const T * | at (uint32_t pos) const noexcept override |
| Get element of given index. More... | |
| bool | add (const T &value) noexcept override |
| Push back a new element. More... | |
| void | remove (const T &value) noexcept override |
| Remove element from the set. More... | |
| bool | find (const T &value) noexcept override |
| Check if value is present on set. More... | |
| uint32_t | capacity () const noexcept override |
| Max capacity of the container. More... | |
| uint32_t | size () const noexcept override |
| Used size of the container. More... | |
| void | clear () noexcept override |
| Remove all elements from the container. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from eprosima::safedds::memory::ISet< T > | |
| ~ISet () noexcept=default | |
| Protected destructor ownership defined on creation. More... | |
| ISet () noexcept=default | |
| Default creation. More... | |
| ISet (const ISet &) noexcept=default | |
| Default deleted. More... | |
| ISet (ISet &&) noexcept=default | |
| Default deleted. More... | |
| ISet & | operator= (const ISet &) noexcept=default |
| Copy operator allowed. More... | |
| ISet & | operator= (ISet &&) noexcept=default |
| Movement operator allowed. More... | |
Protected Member Functions inherited from eprosima::safedds::memory::IContainerBase | |
| ~IContainerBase () noexcept=default | |
| Protected destructor ownership defined on creation. More... | |
| IContainerBase () noexcept=default | |
| Default creation. More... | |
| IContainerBase (const IContainerBase &) noexcept=default | |
| Copy allowed. More... | |
| IContainerBase (IContainerBase &&) noexcept=default | |
| Movement allowed. More... | |
| IContainerBase & | operator= (const IContainerBase &) noexcept=default |
| Copy operator deleted. More... | |
| IContainerBase & | operator= (IContainerBase &&) noexcept=default |
| Movement operator deleted. More... | |
Set-like data structure.
|
defaultnoexcept |
Default constructor.
|
virtualdefaultnoexcept |
Virtual destructor.
|
deletenoexcept |
Copy deleted.
|
deletenoexcept |
Movement delete.
|
inlineoverridevirtualnoexcept |
Push back a new element.
| value | value to add to the list. |
Implements eprosima::safedds::memory::ISet< T >.
|
inlineoverridevirtualnoexcept |
Get element of given index.
| pos | position index. |
Implements eprosima::safedds::memory::ISet< T >.
|
inlineoverridevirtualnoexcept |
Get element of given index.
| pos | position index. |
Implements eprosima::safedds::memory::ISet< T >.
|
inlineoverridevirtualnoexcept |
Max capacity of the container.
Implements eprosima::safedds::memory::IContainerBase.
|
inlineoverridevirtualnoexcept |
Remove all elements from the container.
Implements eprosima::safedds::memory::IContainerBase.
|
inlineoverridevirtualnoexcept |
Check if value is present on set.
| value | value to find. |
Implements eprosima::safedds::memory::ISet< T >.
|
deletenoexcept |
Copy operator delete.
|
deletenoexcept |
Movement operator delete due private references.
|
inlineoverridevirtualnoexcept |
Remove element from the set.
| value | value to remove from set. |
Implements eprosima::safedds::memory::ISet< T >.
|
inlineoverridevirtualnoexcept |