MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
regMatches.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: regMatches.h,v $ $Revision: 1.11 $ $State: Exp $
7 *********************************************************************/
10 
11 #ifndef DtRegionMatches_H_
12 #define DtRegionMatches_H_
13 #ifdef DDM
14 
15 #include "rtiMsConfig.h"
16 #include <vlutil/vlHashlist.h>
17 #include "internalTypes.h"
18 
19 class DtRegionSet;
20 
21 class DT_DLL_LRC DtRegionMatches
22 {
23 public:
24  DtRegionMatches();
25  DtRegionMatches(DtRegionSet* regSet);
26  DtRegionMatches(DtRegionMatches const & rhs);
27 
28  virtual ~DtRegionMatches();
29 
30  DtRegionMatches &operator=(DtRegionMatches const & rhs);
31 
33  virtual DtRegionSet* regionSet();
34  virtual void setRegionSet(DtRegionSet* matchedRegion);
36  virtual const DtRegionSet* regionSet() const;
37 
39  virtual void addMatch(DtRegionSet* matchedRegion);
40  virtual void removeMatch(DtRegionSet* matchedRegion);
41 
43  virtual bool isMember(DtHandle handleValue);
44 
46  virtual int count();
47 
49  virtual void empty();
50 
51 protected:
52 
54  virtual DtRegionMatches* self() const;
55 
56 protected:
57 
58  DtRegionSet* myRegionSet;
59  MAKRti::DtHashlist myRegionMatches;
60 };
61 
62 inline DtRegionMatches* DtRegionMatches::self() const
63 {
64  return (DtRegionMatches*) this;
65 }
66 
67 inline DtRegionSet* DtRegionMatches::regionSet()
68 {
69  return myRegionSet;
70 }
71 
72 inline const DtRegionSet* DtRegionMatches::regionSet() const
73 {
74  return self()->myRegionSet;
75 }
76 
77 
78 #endif
79 #endif
unsigned long DtHandle
The internal types.
Definition: internalTypes.h:41
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
The declaration of internal types.

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)