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 ()
 
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 ()
 
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()

template<typename T >
wiring_private::ObjectList< T >::~ObjectList ( )
inline

Member Function Documentation

◆ allocate()

template<typename T >
bool wiring_private::ObjectList< T >::allocate ( size_t  newSize)

◆ clear()

template<typename T >
void wiring_private::ObjectList< T >::clear ( void  )
inline

◆ insert()

template<typename T >
bool wiring_private::ObjectList< T >::insert ( unsigned  index,
const T &  value 
)
inline

◆ operator[]() [1/2]

template<typename T >
Element wiring_private::ObjectList< T >::operator[] ( unsigned  index)
inline

◆ operator[]() [2/2]

template<typename T >
const T& wiring_private::ObjectList< T >::operator[] ( unsigned  index) const
inline

◆ remove()

template<typename T >
void wiring_private::ObjectList< T >::remove ( unsigned  index)
inline

◆ trim()

template<typename T >
void wiring_private::ObjectList< T >::trim ( size_t  newSize,
bool  reallocate 
)
inline

The documentation for this struct was generated from the following file: