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

Node.hpp

Go to the documentation of this file.
00001 #ifndef NODE_H
00002 #define NODE_H
00003 
00004 #include <string>
00005 
00009 class Node {
00010  public:
00014         virtual ~Node() { /* nothing */ }
00015 
00019         string getId();
00020 
00024         void setId(const string& db_id);
00025 
00029         string getPath();
00030 
00034         void setPath(const string& path);
00035 
00039         string getTitle();
00040 
00044         void setTitle(const string& title);
00045 
00049         string getDesc();
00050 
00054         void setDesc(const string& desc);
00055 
00059         string getAddDate();
00060 
00064         void setAddDate(const string& add_date);
00065 
00071         bool isLocked(void);
00072 
00077         void lock(void);
00078 
00082         void unlock(void);
00083 
00087         string getLockId(void);
00088 
00089  protected:
00094         string _db_id;
00095 
00099         string _title;
00100 
00104         string _description;
00105 
00110         string _add_date;
00111 
00115         string _path;
00116 
00122         string _lockid;
00123 };
00124 
00125 #endif

Generated on Sun Jan 20 20:59:59 2002 for bkmd by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001