00001 00020 #ifndef VRML1WWWANCHOR_HH_ 00021 #define VRML1WWWANCHOR_HH_ 00022 00023 #include <string> 00024 #include "Node.hh" 00025 #include "Attribute.hh" 00026 00027 using namespace std; 00028 00029 namespace vrml1 00030 { 00031 00032 class WWWAnchor : public vrml1::Node 00033 { 00034 public: 00035 enum e_Map { NONE=0, POINT }; 00036 00037 WWWAnchor(); 00038 00039 void setName(string name); 00040 string name() const; 00041 00042 void setDescription(string description); 00043 string description() const; 00044 00045 void setMap(e_Map map); 00046 e_Map map() const; 00047 00048 virtual void setAttribute(Attribute *A); 00049 00050 private: 00051 string m_name; 00052 string m_description; 00053 e_Map m_map; 00054 }; 00055 00056 } 00057 00058 #endif /*VRML1WWWANCHOR_HH_*/