Home2L - C/C++ API v1.4-0-g38cc (2024-05-25)
Smart Tools for a Private Home
List of all members
CListRef< T > Class Template Reference

Description

template<typename T>
class CListRef< T >

Reference list.

This class is similar to CList, but stores references to named objects without taking over ownership.

Definition at line 1120 of file base.H.

#include "base.H"

Inheritance diagram for CListRef< T >:
Inheritance graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from CList< T >
T * Get (int idx)
 
T * operator[] (int idx)
 
void Set (int idx, T *value)
 Set (replace) a value. The entry must exist and 'idx' be valid. Complexity is O(1).
 
void Insert (int idx, T *value)
 Insert a new value. Complexity is O(n).
 
void Append (T *value)
 Append a new value. Complexity is O(1) if no resizing is necessary, else O(1).
 
T * Disown (int idx)
 Disown a value and clear it in the array.
 
- Public Member Functions inherited from CListRaw
int Entries () const
 Get number of entries.
 
void Clear ()
 Clear the list.
 
void Del (int idx)
 Delete entry; complexity is O(n).
 
virtual void Dump (const char *name)
 Dump contents by means of INFO logs (for debugging)
 

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