Main Page | Class Hierarchy | Class List | File List | Class Members

offset.h

00001 
00003 #ifndef _OFFSET_H
00004 #define _OFFSET_H
00005 
00006 #include <string>
00007 
00011 class Offset {
00012   std::string pId;
00013   int strloc;
00014 
00015  public:
00016   
00018   Offset();
00019   
00024   Offset(const std::string & pId, const int strloc);
00025 
00029   Offset(const Offset & offset);
00030 
00034   Offset operator  =(const Offset & offset);
00035 
00040   bool operator ==(const Offset & offset) const;
00041   
00046   bool operator != (const Offset & offset) const;
00047 
00051   void putPId(const std::string & pId);
00052 
00056   void putStrloc(const int strloc);
00057 
00061   std::string getPId() const;
00062 
00066   int getStrloc() const;
00067 
00071   std::string toString() const;  // Offset -> "id(??) strloc(??)"
00072 
00076   void init(std::string s);  // "id(??) strloc(??)"-> Offset
00077 
00078 };
00079 
00080   
00081 #endif //_OFFSET_H

Generated on Tue Sep 11 12:07:44 2007 for libIXAml by doxygen 1.3.5