Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

IotrMaskSeq.hh

00001 #ifndef IOTRMASKSEQ
00002 #define IOTRMASKSEQ
00003 
00004 #include "IotrMask.hh"
00005 
00009 class IotrMaskSeq : public IotrMask {
00010 protected:
00011   SimpleIntDataHandle mMask;
00012 public:
00013   IotrMaskSeq( int n ) { 
00014     mMask = SimpleIntDataHandle( new SimpleIntData( n ) );
00015   }
00016   int   operator[]( int i ) const { return (*mMask)[i]; }
00017   int & operator[]( int i ) { return (*mMask)[i]; }
00018   int * elements() { return mMask->array(); }
00019   const int * elements() const { return mMask->array(); }
00020 };
00021 
00022 typedef Handle<IotrMaskSeq> IotrMaskSeqHandle;
00023 
00024 #endif

Generated on Wed Aug 27 10:03:41 2003 for iotr by doxygen1.2.18