VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)