VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
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
"
25
class
DT_DLL_vrfutil
DtIntegerAttribute
26
{
27
28
public
:
29
30
DtIntegerAttribute
();
31
32
DtIntegerAttribute
(
const
DtString
& key,
int
data);
33
34
virtual
~
DtIntegerAttribute
();
35
36
DtIntegerAttribute
(
const
DtIntegerAttribute
& orig);
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
:
50
DtString
myKey
;
51
int
myData
;
52
};
53
54
55
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)