VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
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 
56 
58  DtGlobalIdHashlist& operator=(const DtGlobalIdHashlist& orig);
59 
60 protected:
61 
64 };
65 
67 
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)