00001 #ifndef QGA_REFS_H 00002 #define QGA_REFS_H 00003 #include "value.h" 00004 00005 class Reference: public Value 00006 { 00007 public: 00008 int column; 00009 int row; 00010 bool absolute_col; 00011 bool absolute_row; 00012 Reference(int C, int R, bool AC, bool AR); 00013 Reference(Token compound); 00014 virtual QString toString(); 00015 virtual Data getSaveDescription(QString); 00016 virtual bool equals_same_type(Value * other); 00017 }; 00018 00019 class ReferenceFixer: public ValueCopier 00020 { 00021 protected: 00022 virtual Reference * copyRef(Reference * ref) = 0; 00023 }; 00024 00025 #endif