VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
entityIdIntAssociationList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: entIdIntAssocLst.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
11 
15 
16 
17 #ifndef DtEntityIdIntAssociationList_H_
18 #define DtEntityIdIntAssociationList_H_
19 
20 #include <vlutil/vlHashlist.h>
21 #include <vl/hostStructs.h>
22 
23 class DtEntityIdentifier;
24 
27 
30 
31 #include "vrfutil/vrfutilDefines.h"
33 {
34 public:
37 
39 
41  const DtEntityIdIntAssociationList& orig);
42 
43 public:
45  virtual void add(int integer, const DtEntityIdentifier& entityId);
46 
48  virtual bool remove(int integer);
50  virtual bool remove(const DtEntityIdentifier& entityId);
51 
53  virtual DtEntityIdentifier lookup(int integer, bool* found = NULL) const;
55  virtual int lookup(const DtEntityIdentifier& entityId, bool* found = NULL) const;
56 
58  virtual bool contains(int integer) const;
60  virtual bool contains(const DtEntityIdentifier& entityId) const;
61 
63  virtual const DtList* listOfIntegers() const;
65  virtual const DtList* listOfEntityIds() const;
66 
68  virtual int count() const;
69 
72  void empty();
73 
75  void copyDataFrom(const DtEntityIdIntAssociationList& source);
76 
77 protected:
80 };
81 #endif
82 
DtHashList myEntIdToIntHashList
Definition: entityIdIntAssociationList.h:78
const char * source
Definition: lz4.h:442
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
DtHashList myIntToEntIdHashList
Definition: entityIdIntAssociationList.h:79
Class: DtEntityIdIntAssociationList.
Definition: entityIdIntAssociationList.h:32

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)