VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)