00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef SGE_CON_VAR_BASE_HPP_INCLUDED
00022 #define SGE_CON_VAR_BASE_HPP_INCLUDED
00023
00024 #include "../string.hpp"
00025 #include "../export.hpp"
00026 #include <boost/noncopyable.hpp>
00027
00028 namespace sge
00029 {
00030 namespace con
00031 {
00032
00033 class SGE_CLASS_SYMBOL var_base : boost::noncopyable {
00034 string name_;
00035 public:
00036 SGE_SYMBOL var_base(const string &);
00037 SGE_SYMBOL void late_construct();
00038 SGE_SYMBOL string const name() const;
00039 #ifndef _MSC_VER
00040 virtual void set(const string &) = 0;
00041 virtual string const get() const = 0;
00042 #else
00043
00044
00045 SGE_SYMBOL virtual void set(const string&);
00046 SGE_SYMBOL virtual string const get() const;
00047 #endif
00048 SGE_SYMBOL virtual ~var_base();
00049 };
00050
00051 }
00052 }
00053
00054 #endif