MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
envAttribute.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2024 MAK Technologies, Inc
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
AttribType myCache
Definition: envAttribute.h:27
A templated class which represent an attribute of a DtEnvObject.
Definition: envAttribute.h:14
DtEnvAttribute(const DtString &name, DtEnvValueSP boundValue)
static DtString decode(AttribType t)
DtEnvValueWP myValue
Definition: envAttribute.h:26
void set(AttribType val)
static AttribType encode(const DtString &value)

Document ID: Generated on Fri May 31 15:45:35 EDT 2024 from SVN revision 266500
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)