VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
integerAttribute.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: integerAttribute.h,v $ $Revision: 1.5 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtIntegerAttribute_H_
13 #define DtIntegerAttribute_H_
14 
15 
16 
17 #include <vlutil/vlString.h>
18 
23 
24 #include "vrfutil/vrfutilDefines.h"
26 {
27 
28 public:
29 
31 
32  DtIntegerAttribute(const DtString& key, int data);
33 
34  virtual ~DtIntegerAttribute();
35 
37 
38  DtIntegerAttribute& operator=(const DtIntegerAttribute& orig);
39 
40  bool operator==(const DtIntegerAttribute& rhs) const;
41 
42  const DtString& key() const;
43  DtString& key();
44  void setKey(const DtString& newKey);
45 
46  int data() const;
47  void setData(int newData);
48 
49 protected:
51  int myData;
52 };
53 
54 
55 #endif
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
class DtIntegerAttribute:
Definition: integerAttribute.h:25
DtString myKey
Definition: integerAttribute.h:50
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
int myData
Definition: integerAttribute.h:51

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)