Public Member Functions

nsDequeFunctor Class Reference

MODULE NOTES: More...

#include <nsDeque.h>

List of all members.

Public Member Functions

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

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


Member Function Documentation

virtual void* nsDequeFunctor::operator() ( void *  anObject  )  [pure virtual]

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