00001 
00002 
00003 
00004 
00005 
00006 
00007 #pragma once
00008 
00009 #include <boost/smart_ptr/shared_ptr.hpp>
00010 #include <string>
00011 
00012 namespace Swift {
00013   class WhiteboardOperation {
00014   public:
00015     typedef boost::shared_ptr<WhiteboardOperation> ref;
00016   public:
00017     virtual ~WhiteboardOperation(){};
00018 
00019     std::string getID() const {
00020       return id_;
00021     }
00022 
00023     void setID(const std::string& id) {
00024       id_ = id;
00025     }
00026 
00027     std::string getParentID() const {
00028       return parentID_;
00029     }
00030 
00031     void setParentID(const std::string& parentID) {
00032       parentID_ = parentID;
00033     }
00034 
00035     int getPos() const {
00036       return pos_;
00037     }
00038 
00039     void setPos(int pos) {
00040       pos_ = pos;
00041     }
00042 
00043   private:
00044     std::string id_;
00045     std::string parentID_;
00046     int pos_;
00047   };
00048 }