Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

LCFlag.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // AID-GENERATED
00003 // =========================================================================
00004 // This class was generated by AID - Abstract Interface Definition          
00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 
00006 // =========================================================================
00007 #ifndef EVENT_LCFLAG_H
00008 #define EVENT_LCFLAG_H 1
00009 
00010 namespace EVENT {
00011 
00012 /** Helper class to create and interpret the 32-bit flag word in LCCollections.
00013  *  Bits are defined in class LCIO.
00014  *
00015  * @see LCIO
00016  * @author gaede 
00017  * @version May 6, 2003
00018  */
00019 class LCFlag {
00020 
00021 public: 
00022     /// Destructor.
00023     virtual ~LCFlag() { /* nop */; }
00024 
00025     /** Returns true if bit at given index is set.
00026      */
00027     virtual bool bitSet(int index) const = 0;
00028 
00029     /**Returns the flag word.
00030      */
00031     virtual int getFlag() const = 0;
00032 
00033     /** Sets bit to 1.
00034      */
00035     virtual void setBit(int bit) = 0;
00036 
00037     /** Sets bit to 0.
00038      */
00039     virtual void unsetBit(int bit) = 0;
00040 }; // class
00041 } // namespace EVENT
00042 #endif /* ifndef EVENT_LCFLAG_H */

Generated on Sun Jun 3 06:31:59 2007 for A TPC Tracking Environment by  doxygen 1.3.9.1