00001
00002
00003
00004
00005
00006
00007
00008
00014 class FuncOrder
00015 {
00016 public:
00017 FuncOrder()
00018 : func_( 0 ), index_( 0 )
00019 {;}
00020
00021 const OpFunc* func() const {
00022 return func_;
00023 }
00024 unsigned int index() const {
00025 return index_;
00026 }
00027
00028 void set( const OpFunc* func, unsigned int index ) {
00029 func_ = func;
00030 index_ = index;
00031 }
00032
00033 bool operator<( const FuncOrder& other ) const
00034 {
00035 return func_ < other.func_;
00036 }
00037 private:
00038 const OpFunc* func_;
00039 unsigned int index_;
00040 };