|
|
[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] |
||||
|   | ||||||
|
||||||
001 #ifndef SiWaferIntersectionSet_h
002 #define SiWaferIntersectionSet_h 1
003
004 #ifdef DEFECT_OLD_STL_HEADERS
005 #include <vector>
006 #else
007 #include <vector>
008 # ifndef DEFECT_NO_STDLIB_NAMESPACES
009 using std::vector;
010 # endif
011 #endif
012
013 #include "TrackingSI/PathFinder/SiWaferIntersection.hh"
014 class SiWaferIntersectionSet {
015
016 public:
017
018 // Typedefs
019 typedef vector<SiWaferIntersection>::const_iterator ConstIterator;
020
021 // Constructor
022 SiWaferIntersectionSet();
023
024 // Copy Constructor
025 SiWaferIntersectionSet(const SiWaferIntersectionSet &right);
026
027 // Destructor
028 ~SiWaferIntersectionSet();
029
030 // Assignment
031 const SiWaferIntersectionSet & operator=(const SiWaferIntersectionSet &right);
032
033 // Iteration:
034 ConstIterator begin() const;
035 ConstIterator end() const;
036
037 // Add Intersection;
038 void addIntersection(const SiWaferIntersection &intersection);
039
040 // Sort the Intersections by radius, inside out.
041 void sortByRadius();
042
043 // Sort the Intersections by radius, outside in.
044 void sortByRadiusBackwards();
045
046 // Number of intersections in the set.
047 int size();
048
049 private:
050
051 vector<SiWaferIntersection> _intersectionSet;
052
053 };
054 #endif
055
056
057
| [ source navigation ] | [ diff markup ] | [ identifier search ] | [ freetext search ] | [ file search ] |
| This page was automatically generated by the LXR engine. The LXR team |
|