00001 #ifndef X_GDSNARFTXT2CONT_H 00002 #define X_GDSNARFTXT2CONT_H 00003 00004 #include "gdSnarfCont.h" 00005 //////////////////////////////////////////////////////////// 00006 class gdTxtCouple : public gList { 00007 public: 00008 gdTxtCouple (unsigned lineNr=0) ; 00009 gdTxtCouple (unsigned lineNr, char* str) ; 00010 virtual ~gdTxtCouple () ; 00011 00012 // Get methods 00013 virtual bool IsOk () ; 00014 00015 virtual char* GetStr () ; 00016 00017 virtual gdHCouple* CouplePtr () ; 00018 virtual gdHCouple& Couple () ; 00019 00020 // Set methods 00021 ; 00022 00023 // Show methods 00024 virtual void Show (bool doShowAll=true) ; 00025 00026 protected: 00027 gdHCouple* ptrCouple; 00028 00029 int thisInitTxtCouple (unsigned lineNr, char* str) ; 00030 00031 private: 00032 // Operators,empty 00033 gdTxtCouple (gdTxtCouple& ) ; //empty 00034 gdTxtCouple& operator= (gdTxtCouple& ) ; //empty 00035 }; 00036 //////////////////////////////////////////////////////////// 00037 #endif //X_GDSNARFTXT2CONT_H 00038