00001
00002
00003
00004
00005
00006 #ifndef LABEL_H
00007 #define LABEL_H
00008
00009 #include<Region.h>
00010
00011 #include<string>
00012
00030 class Label : public Region
00031 {
00032 DYNAMIC_OBJECT;
00033 public:
00035 Label(const string t = "");
00036
00038 void setText(const string &t);
00039
00040
00041 void refresh();
00042
00043
00044 void parseSymbol(Token &t, ObjectFile &file);
00045 void writeParams(ostream &stream);
00046
00047 protected:
00048
00049 void createSymbols();
00050
00052 string text;
00053
00054 private:
00055 typedef Region super;
00056 };
00057 #endif