Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

ALink.hpp

Go to the documentation of this file.
00001 
00011 class ALink : public AGraphic
00012 {
00013         protected:
00014                 int from,to;
00015                 string linkLabel(int);
00016         
00017         public:
00018                 static int begin,end,center;
00019 
00020                 inline AGraphic* clone() const;
00021                 inline AGraphic* create() const;
00022                 ALink();
00023                 ALink(int,int);
00024                 ~ALink();
00025                 
00026                 void gomo(ostream &);
00027                 void gomi(istream &);
00028                 void xmlo(ostream &);
00029 
00030                 inline void setLink(int,int);
00031                 inline int getFrom();
00032                 inline int getTo();
00033 };
00034 
00035 inline AGraphic* ALink::clone() const
00036         { return new ALink(*this); }
00037 inline AGraphic* ALink::create() const
00038         { return new ALink(); }
00039 
00044 void ALink::setLink(int fE,int tB)
00045         { this->from = from; this->to = to;}
00049 int ALink::getFrom()
00050         { return from;}
00054 int ALink::getTo()
00055         { return to;}

Generated on Fri Jul 30 19:21:01 2004 for GOMLib by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001