00001
00002
00003 #ifndef MIX_VALUE_H_
00004 #define MIX_VALUE_H_
00005
00006 #include "classes.h"
00007 #include "Node.h"
00008
00009 namespace MiX{
00015 template <class charT,class traitsT>
00016 class Value : virtual public Node<charT,traitsT>{
00017 public:
00018 MiX_Template_Typedef(charT,traitsT);
00019 typedef Value<charT,traitsT> this_type;
00020 private:
00021 string_type val_;
00022 protected:
00023 Value(const string_type& val){ setValue(val); };
00029 Value(const this_type& src){ };
00030 public:
00032 virtual ~Value()throw() { };
00034 void setValue(const string_type& val) { val_ = val; };
00036 string_type getValue() const { return val_; };
00037 };
00038 }
00039
00040 #endif