MAK Data Logger API Documentation for HLA
envAttribute.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef envAttribute_H_
10 #define envAttribute_H_
11 
13 template <typename AttribType>
15 {
16 public:
17  DtEnvAttribute(const DtString& name,DtEnvValueSP boundValue);
18 
19  AttribType get() const;
20  void set(AttribType val);
21 
22 protected:
23  static DtString decode(AttribType t);
24  static AttribType encode(const DtString& value);
25 
26  DtEnvValueWP myValue;
27  AttribType myCache;
28 };
29 
30 #define envAttribute_INC
31 #include "envAttribute.inl"
32 #undef envAttribute_INC
33 
34 #endif

Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)