Go to the documentation of this file.00001
00002
00003
00004
00005
00008
00009 #ifndef envAttribute_H_
00010 #define envAttribute_H_
00011
00013 template <typename AttribType>
00014 class DtEnvAttribute
00015 {
00016 public:
00017 DtEnvAttribute(const DtString& name,DtEnvValueSP boundValue);
00018
00019 AttribType get() const;
00020 void set(AttribType val);
00021
00022 protected:
00023 static DtString decode(AttribType t);
00024 static AttribType encode(const DtString& value);
00025
00026 DtEnvValueWP myValue;
00027 AttribType myCache;
00028 };
00029
00030 #define envAttribute_INC
00031 #include "envAttribute.inl"
00032 #undef envAttribute_INC
00033
00034 #endif