LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
LCFlag.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef EVENT_LCFLAG_H
8 #define EVENT_LCFLAG_H 1
9 
10 namespace EVENT {
11 
19 class LCFlag {
20 
21 public:
23  virtual ~LCFlag() { /* nop */; }
24 
27  virtual bool bitSet(int index) const = 0;
28 
31  virtual int getFlag() const = 0;
32 
35  virtual void setBit(int bit) = 0;
36 
39  virtual void unsetBit(int bit) = 0;
40 }; // class
41 } // namespace EVENT
42 #endif /* ifndef EVENT_LCFLAG_H */
virtual int getFlag() const =0
Returns the flag word.
virtual ~LCFlag()
Destructor.
Definition: LCFlag.h:23
Helper class to create and interpret the 32-bit flag word in LCCollections.
Definition: LCFlag.h:19
virtual void setBit(int bit)=0
Sets bit to 1.
virtual bool bitSet(int index) const =0
Returns true if bit at given index is set.
virtual void unsetBit(int bit)=0
Sets bit to 0.