00001 // This is gel/gmvl/gmvl_tag_node.h 00002 #ifndef gmvl_tag_node_h_ 00003 #define gmvl_tag_node_h_ 00004 //: 00005 // \file 00006 // \author crossge@crd.ge.com 00007 // 00008 // \verbatim 00009 // Modifications 00010 // 10 Sep. 2004 Peter Vanroose Inlined all 1-line methods in class decl 00011 // \endverbatim 00012 00013 #include <vcl_string.h> 00014 #include <gmvl/gmvl_node.h> 00015 00016 class gmvl_tag_node : public gmvl_node 00017 { 00018 public: 00019 gmvl_tag_node(vcl_string const& name) : name_(name) { type_="gmvl_tag_node"; } 00020 ~gmvl_tag_node() {} 00021 00022 // accessor 00023 vcl_string &get() { return name_; } 00024 00025 protected: 00026 vcl_string name_; 00027 }; 00028 00029 #endif // gmvl_tag_node_h_
1.4.4