ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/selection/SelectionManager.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/selection/SelectionManager.hpp (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2469 by tim, Fri Dec 2 15:38:03 2005 UTC

# Line 42 | Line 42
42   #ifndef SELECTION_SELECTIONMANAGER_HPP
43   #define SELECTION_SELECTIONMANAGER_HPP
44  
45 < #include "utils/BitSet.hpp"
45 > #include "utils/OOPSEBitSet.hpp"
46   #include "primitives/StuntDouble.hpp"
47   namespace oopse {
48  
# Line 59 | Line 59 | namespace oopse {
59        bsSelection_.setBitOn(sd->getGlobalIndex());
60      }
61          
62 <    void addSelectionSet(const BitSet& bs) {
62 >    void addSelectionSet(const OOPSEBitSet& bs) {
63        bsSelection_ |= bs;
64      }
65  
# Line 68 | Line 68 | namespace oopse {
68        bsSelection_.setBitOn(sd->getGlobalIndex());
69      }
70          
71 <    void setSelectionSet(const BitSet& bs) {
71 >    void setSelectionSet(const OOPSEBitSet& bs) {
72        bsSelection_ = bs;          
73      }
74  
# Line 104 | Line 104 | namespace oopse {
104        return bsSelection_.countBits();
105      }
106  
107 <    BitSet getSelectionSet() {
107 >    OOPSEBitSet getSelectionSet() {
108        return bsSelection_;
109      }
110  
# Line 142 | Line 142 | namespace oopse {
142          
143    private:
144      SimInfo* info_;
145 <    BitSet bsSelection_;
145 >    OOPSEBitSet bsSelection_;
146      std::vector<StuntDouble*> stuntdoubles_;
147    };
148  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines