wiring_private::ObjectList< T > Struct Template Reference
List of object pointers. More...
#include <WiringList.h>
Inheritance diagram for wiring_private::ObjectList< T >:
Collaboration diagram for wiring_private::ObjectList< T >:
Classes | |
| struct | Element |
Public Member Functions | |
| ObjectList ()=default | |
| ObjectList (const ObjectList &)=delete | |
| ObjectList (ObjectList &&)=default | |
| ObjectList & | operator= (const ObjectList &)=delete |
| ObjectList & | operator= (ObjectList &&)=default |
| ~ObjectList () | |
| bool | allocate (size_t newSize) |
| void | clear () |
| bool | insert (unsigned index, const T &value) |
| void | remove (unsigned index) |
| void | trim (size_t newSize, bool reallocate) |
| Element | operator[] (unsigned index) |
| const T & | operator[] (unsigned index) const |
Public Member Functions inherited from wiring_private::ScalarList< T * > | |
| ScalarList ()=default | |
| ScalarList (const ScalarList &)=delete | |
| ScalarList (ScalarList &&)=default | |
| ScalarList & | operator= (const ScalarList &)=delete |
| ScalarList & | operator= (ScalarList &&)=default |
| ~ScalarList () | |
| bool | allocate (size_t newSize) |
| void | clear () |
| bool | insert (unsigned index, T * value) |
| void | remove (unsigned index) |
| void | trim (size_t newSize, bool reallocate) |
| T * & | operator[] (unsigned index) |
| const T * & | operator[] (unsigned index) const |
Additional Inherited Members | |
Public Attributes inherited from wiring_private::ScalarList< T * > | |
| T * * | values |
| size_t | size |
Detailed Description
template<typename T>
struct wiring_private::ObjectList< T >
List of object pointers.
Constructor & Destructor Documentation
◆ ObjectList() [1/3]
template<typename T >
|
default |
◆ ObjectList() [2/3]
template<typename T >
|
delete |
◆ ObjectList() [3/3]
template<typename T >
|
default |
◆ ~ObjectList()
template<typename T >
|
inline |
Member Function Documentation
◆ allocate()
template<typename T >
| bool wiring_private::ObjectList< T >::allocate | ( | size_t | newSize | ) |
◆ clear()
template<typename T >
|
inline |
◆ insert()
template<typename T >
|
inline |
◆ operator=() [1/2]
template<typename T >
|
delete |
◆ operator=() [2/2]
template<typename T >
|
default |
◆ operator[]() [1/2]
template<typename T >
|
inline |
◆ operator[]() [2/2]
template<typename T >
|
inline |
◆ remove()
template<typename T >
|
inline |
◆ trim()
template<typename T >
|
inline |
The documentation for this struct was generated from the following file:
Public Member Functions inherited from
1.9.1