Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

nindexedarray.h File Reference

Deals with arrays of objects with fast object-to-index lookup. More...

#include <iostream>
#include <vector>
#include "utilities/hashmap.h"
#include "utilities/hashutils.h"

Namespaces

namespace  regina

Classes

class  regina::NIndexedArray< Data, HashFcn, EqualTo >
 A dynamically resizable array of objects of type T with fast random access and fast object-to-index lookup. More...

Defines

#define VALIDATE_NINDEXEDARRAY(where)
 An internal macro to assist with debugging.
#define VALIDATE_NINDEXEDARRAY_TOP
 An internal macro to assist with debugging.
#define VALIDATE_NINDEXEDARRAY_BOTTOM(where)
 An internal macro to assist with debugging.

Functions

template<class Data, class HashFcn, class EqualTo>
bool operator== (const NIndexedArray< Data, HashFcn, EqualTo > &array1, const NIndexedArray< Data, HashFcn, EqualTo > &array2)
 See the C++ standard.
template<class Data, class HashFcn, class EqualTo>
bool operator< (const NIndexedArray< Data, HashFcn, EqualTo > &array1, const NIndexedArray< Data, HashFcn, EqualTo > &array2)
 See the C++ standard.


Detailed Description

Deals with arrays of objects with fast object-to-index lookup.


Define Documentation

#define VALIDATE_NINDEXEDARRAY where   ) 
 

An internal macro to assist with debugging.

#define VALIDATE_NINDEXEDARRAY_BOTTOM where   ) 
 

An internal macro to assist with debugging.

#define VALIDATE_NINDEXEDARRAY_TOP
 

An internal macro to assist with debugging.


Copyright © 1999-2004, Ben Burton
This software is released under the GNU General Public License.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).