Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

RArray< Z > Class Template Reference

#include <netwm_p.h>

List of all members.

Public Methods

 RArray ()
 ~RArray ()
Z & operator[] (int)
int size () const


Detailed Description

template<class Z>
class RArray< Z >

Resizable array class.

This resizable array is used to simplify the implementation. The existance of this class is to keep the implementation from depending on a separate framework/library.

Definition at line 38 of file netwm_p.h.


Constructor & Destructor Documentation

template<class Z>
RArray< Z >::RArray  
 

Constructs an empty (size == 0) array.

template<class Z>
RArray< Z >::~RArray  
 

Resizable array destructor.


Member Function Documentation

template<class Z>
Z& RArray< Z >::operator[] int   
 

The [] operator does the work. If the index is larger than the current size of the array, it is resized.

template<class Z>
int RArray< Z >::size   const [inline]
 

Returns the size of the array.

Definition at line 63 of file netwm_p.h.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:29 2003 for kdelibs by doxygen1.2.18