////////////////////////////////////////////////////////////////////// /// (C)opyright 2005 /// /// Institute of Computer Science V /// Prof. Männer /// University of Mannheim, Germany /// /// ******************************************************************* /// /// Designer(s): Steinle /// /// ******************************************************************* /// /// Project: Trackfinder for CBM-Project at GSI-Darmstadt, Germany /// /// ******************************************************************* /// /// Description: /// /// class: /// - base class for easy access the iterators of one track layer /// /// ******************************************************************* /// /// $Author: csteinle $ /// $Date: 2008-10-07 10:36:50 $ /// $Revision: 1.4 $ /// ////////////////////////////////////////////////////////////////////// #ifndef _TRACKLAYERACCESS_H #define _TRACKLAYERACCESS_H #include "trackDigitalInformation.h" #include #define trackLayer std::list /**< Definition for easier reading code and easy exchaninging of the stl conatainer */ /** * Struct to store the information of a filter-deleted object */ struct removingInformation { removingInformation() : element(), layer(0) {}; trackLayer::iterator element; unsigned short layer; }; /* ************************************************************** * CLASS trackLayerAccess * * **************************************************************/ class trackLayerAccess { public: trackLayer::iterator begin; /**< Iterator to store the beginning of the stl container. */ trackLayer::iterator end; /**< Iterator to store the end of the stl container. */ bool isValid; /**< Variable to store if the iterators are valid. */ /** * Default constructor */ trackLayerAccess(); /** * Constructor */ trackLayerAccess(const trackLayerAccess& value); /** * Destructor */ virtual ~trackLayerAccess(); /** * operator = () */ const trackLayerAccess& operator = (const trackLayerAccess& value); }; #endif