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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)