MAK RTIspy API Documentation for HLA 1.3
regMatches.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2001 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: regMatches.h,v $ $Revision: 1.11 $ $State: Exp $
00007 *********************************************************************/
00010 
00011 #ifndef DtRegionMatches_H_
00012 #define DtRegionMatches_H_
00013 #ifdef DDM
00014 
00015 #include "rtiMsConfig.h"
00016 #include <vlutil/vlHashlist.h>
00017 #include "internalTypes.h"
00018 
00019 class DtRegionSet;
00020 
00021 class DT_DLL_LRC DtRegionMatches
00022 {
00023 public:
00024    DtRegionMatches();
00025    DtRegionMatches(DtRegionSet* regSet);
00026    DtRegionMatches(DtRegionMatches const & rhs);
00027 
00028    virtual ~DtRegionMatches();
00029 
00030    DtRegionMatches &operator=(DtRegionMatches const & rhs);
00031 
00033    virtual DtRegionSet* regionSet();
00034    virtual void setRegionSet(DtRegionSet* matchedRegion);
00036    virtual const DtRegionSet* regionSet() const;
00037 
00039    virtual void addMatch(DtRegionSet* matchedRegion);
00040    virtual void removeMatch(DtRegionSet* matchedRegion);
00041 
00043    virtual bool isMember(DtHandle handleValue);
00044 
00046    virtual int count();
00047 
00049    virtual void empty();
00050 
00051 protected:
00052 
00054    virtual DtRegionMatches* self() const;
00055 
00056 protected:
00057 
00058    DtRegionSet* myRegionSet;
00059    MAKRti::DtHashlist myRegionMatches;
00060 };
00061 
00062 inline DtRegionMatches* DtRegionMatches::self() const
00063 {
00064    return (DtRegionMatches*) this;
00065 }
00066 
00067 inline DtRegionSet* DtRegionMatches::regionSet()
00068 {
00069    return myRegionSet;
00070 }
00071 
00072 inline const DtRegionSet* DtRegionMatches::regionSet() const
00073 {
00074    return self()->myRegionSet;
00075 }
00076 
00077 
00078 #endif
00079 #endif

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)