VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
gdb
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
int
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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)