wiring_private::ScalarList< T > Struct Template Reference
List of scalar values. More...
#include <WiringList.h>
Collaboration diagram for wiring_private::ScalarList< T >:
Public Member Functions | |
~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 |
Public Attributes | |
T * | values {nullptr} |
size_t | size {0} |
Detailed Description
template<typename T>
struct wiring_private::ScalarList< T >
List of scalar values.
Constructor & Destructor Documentation
◆ ~ScalarList()
template<typename T >
|
inline |
Member Function Documentation
◆ allocate()
template<typename T >
bool wiring_private::ScalarList< T >::allocate | ( | size_t | newSize | ) |
◆ clear()
template<typename T >
|
inline |
◆ insert()
template<typename T >
|
inline |
◆ operator[]() [1/2]
template<typename T >
|
inline |
◆ operator[]() [2/2]
template<typename T >
|
inline |
◆ remove()
template<typename T >
|
inline |
◆ trim()
template<typename T >
|
inline |
Member Data Documentation
◆ size
template<typename T >
size_t wiring_private::ScalarList< T >::size {0} |
◆ values
template<typename T >
T* wiring_private::ScalarList< T >::values {nullptr} |
The documentation for this struct was generated from the following file: