VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
listMap.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: listMap.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef listMap_H_
10 #define listMap_H_
11 
12 #include "gdb/gdbDefines.h"
13 #include <vlutil/vlNetTypes.h>
14 
15 #include <vlutil/vlHashlist.h>
16 #include "gdb/gdbHashKey.h"
17 
18 // forward declaration
19 class DtGdbNode;
20 
21 class DT_DLL_gdb DtListMap: public DtHashlist
22 {
23  public:
24 
25  // constructor
26  DtListMap();
27 
28  // destructor
29  virtual ~DtListMap();
30 
31  // checks to see if there is an entry corresponding
32  // to input pointer.
33  intptr_t lookupOffset(int listMemAddress);
34 
35  // determines if there is an entry in the hashtable
36  // corresponding to the pointer.
37  bool listAlreadyInMap(int listMemAddress);
38 
39  // makes an entry in the hashtable
40  void associate(DtNetInt32 listMemAddress, int offset);
41 
42 protected:
43 
44  static const int theAssocTableCapacity;
45 
46  protected:
47 
48  //maintain an array of the keys you enter in the
49  //hashtable so you can delete them.
50  unsigned int myTableSize;
51 };
52 
53 #endif
54 
unsigned int myTableSize
Definition: listMap.h:50
Definition: gdbNode.h:44
#define DT_DLL_gdb
Definition: gdbDefines.h:25
Definition: listMap.h:21
voidpf uLong offset
Definition: ioapi.h:42
static const int theAssocTableCapacity
Definition: listMap.h:44

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)