LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
EVENT::LCFlag Class Referenceabstract

Helper class to create and interpret the 32-bit flag word in LCCollections. More...

#include <LCFlag.h>

+ Inheritance diagram for EVENT::LCFlag:

Public Member Functions

virtual ~LCFlag ()
 Destructor. More...
 
virtual bool bitSet (int index) const =0
 Returns true if bit at given index is set. More...
 
virtual int getFlag () const =0
 Returns the flag word. More...
 
virtual void setBit (int bit)=0
 Sets bit to 1. More...
 
virtual void unsetBit (int bit)=0
 Sets bit to 0. More...
 

Detailed Description

Helper class to create and interpret the 32-bit flag word in LCCollections.

Bits are defined in class LCIO.

See Also
LCIO
Author
gaede
Version
May 6, 2003

Definition at line 19 of file LCFlag.h.

Constructor & Destructor Documentation

virtual EVENT::LCFlag::~LCFlag ( )
inlinevirtual

Destructor.

Definition at line 23 of file LCFlag.h.

Member Function Documentation

virtual bool EVENT::LCFlag::bitSet ( int  index) const
pure virtual

Returns true if bit at given index is set.

Implemented in IMPL::LCFlagImpl.

virtual int EVENT::LCFlag::getFlag ( ) const
pure virtual

Returns the flag word.

Implemented in IMPL::LCFlagImpl.

Referenced by UTIL::operator<<().

virtual void EVENT::LCFlag::setBit ( int  bit)
pure virtual

Sets bit to 1.

Implemented in IMPL::LCFlagImpl.

virtual void EVENT::LCFlag::unsetBit ( int  bit)
pure virtual

Sets bit to 0.

Implemented in IMPL::LCFlagImpl.


The documentation for this class was generated from the following file: