VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
globalIdHashlist.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
9
10
#ifndef DtGlobalIdHashlist_H_
11
#define DtGlobalIdHashlist_H_
12
13
#include <
vlutil/vlHashlist.h
>
14
#include "
globalObjectDesignator.h
"
15
16
21
class
DT_DLL_VL
DtGlobalIdHashlist
22
{
23
public
:
24
27
DtGlobalIdHashlist
(
bool
intrusive =
false
);
28
30
virtual
~
DtGlobalIdHashlist
();
31
36
38
virtual
DtListItem
* add(
const
DtGlobalObjectDesignator
& key,
void
* data);
39
42
virtual
void
*
remove
(
const
DtGlobalObjectDesignator
& key);
43
45
virtual
void
* lookup(
const
DtGlobalObjectDesignator
& key)
const
;
46
virtual
void
* operator[](
const
DtGlobalObjectDesignator
& key)
const
;
47
50
virtual
const
DtList
* list()
const
;
51
52
protected
:
53
55
DtGlobalIdHashlist
(
const
DtGlobalIdHashlist
& orig);
56
58
DtGlobalIdHashlist
& operator=(
const
DtGlobalIdHashlist
& orig);
59
60
protected
:
61
62
DtList
*
myList
;
63
DtHashlist
*
myHashlist
;
64
};
65
66
typedef
DtGlobalIdHashlist
DtGlobalIdHashList
;
67
68
inline
void
*
DtGlobalIdHashlist::operator[]
(
69
const
DtGlobalObjectDesignator
& key)
const
70
{
71
return
lookup
(key);
72
}
73
74
#endif
75
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)