VR-Forces 4.7 Class Documentation
 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 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)