00001 #ifndef POINTERITEM_H 00002 #define POINTERITEM_H 00003 00004 #include "FCO.h" 00005 00006 #include "string" 00007 class PointerItem; 00008 00009 class PointerItemLex 00010 { 00011 public: 00012 bool operator()( const PointerItem& p1, const PointerItem& p2) const; 00013 }; 00014 00015 00016 class PointerItem 00017 { 00018 private: 00019 std::string m_name; 00020 FCO * m_fcoPtr; 00021 public: 00022 PointerItem( std::string name, FCO* fco = 0); 00023 PointerItem( const PointerItem& peer); 00024 const PointerItem& operator=( const PointerItem& peer); 00025 bool operator ==( const PointerItem& peer) const; 00026 bool operator !=( const PointerItem& peer) const; 00027 const std::string& name() const; 00028 FCO * fcoPtr() const; //<!> is this needed? 00029 }; 00030 00031 #endif //POINTERITEM_H