Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

nsDequeFunctor Class Reference

#include <nsDeque.h>

Inherited by _Dealloc.

List of all members.


Detailed Description

MODULE NOTES:

The Deque is a very small, very efficient container object than can hold elements of type void*, offering the following features: Its interface supports pushing and popping of elements. It can iterate (via an interator class) its elements. When full, it can efficiently resize dynamically.

NOTE: The only bit of trickery here is that this deque is built upon a ring-buffer. Like all ring buffers, the first element may not be at index[0]. The mOrigin member determines where the first child is. This point is quietly hidden from customers of this class. The nsDequeFunctor class is used when you want to create callbacks between the deque and your generic code. Use these objects in a call to ForEach();

Definition at line 68 of file nsDeque.h.


Public Member Functions

virtual void * operator() (void *anObject)=0

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

Generated by  Doxygen 1.6.0   Back to index