NETRArray< Z > Class Template Reference
Resizable array class. More...
#include <netwm_p.h>
Inheritance diagram for NETRArray< Z >:

Public Member Functions | |
NETRArray () | |
~NETRArray () | |
Z & | operator[] (int) |
int | size () const |
void | reset () |
Detailed Description
template<class Z>
class NETRArray< Z >
Resizable array class.
This resizable array is used to simplify the implementation. The existence of this class is to keep the implementation from depending on a separate framework/library.
Definition at line 39 of file netwm_p.h.
Constructor & Destructor Documentation
|
Constructs an empty (size == 0) array.
|
|
Resizable array destructor.
|
Member Function Documentation
|
The [] operator does the work. If the index is larger than the current size of the array, it is resized. |
|
Returns the size of the array.
Definition at line 64 of file netwm_p.h. Referenced by NETWinInfo::icon(), NETWinInfo::setIcon(), and NETWinInfo::windowType(). |
|
Resets the array (size == 0).
|
The documentation for this class was generated from the following files: