VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
gdb
specIntAttrib.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: specIntAttrib.h,v $ $Revision: 1.8 $ $State: Exp $
7
*********************************************************************/
8
9
#ifndef specIntAttrib_H_
10
#define specIntAttrib_H_
11
12
#include "
gdb/gdbDefines.h
"
13
#include <stdio.h>
14
15
#include <vlutil/vlNetTypes.h>
16
17
#include "
gdb/specAttrib.h
"
18
19
// class DtSpecificationIntegerAttribute:
20
//
21
// DtSpecificationIntegerAttribute is the base member for attributes.
22
23
class
DT_DLL_gdb
DtSpecificationIntegerAttribute
:
public
DtSpecificationAttribute
24
{
25
public
:
26
27
// default constructor
28
DtSpecificationIntegerAttribute
();
29
30
// destructor
31
virtual
~
DtSpecificationIntegerAttribute
();
32
33
// copy constructor
34
DtSpecificationIntegerAttribute
(
const
DtSpecificationIntegerAttribute
& orig);
35
36
// assignment operator
37
DtSpecificationIntegerAttribute
&
operator=
(
const
DtSpecificationIntegerAttribute
& orig);
38
39
// Comparison operators
40
// ==, <, and > return false if the labels or types don't match
41
virtual
bool
operator==
(
const
DtSpecificationAttribute
& other)
const
;
42
virtual
bool
operator<
(
const
DtSpecificationAttribute
& other)
const
;
43
virtual
bool
operator>
(
const
DtSpecificationAttribute
& other)
const
;
44
45
// get/set integer
46
virtual
int
value()
const
;
47
virtual
void
setValue(
int
val);
48
49
// input from file
50
virtual
bool
readFrom
(FILE* fp);
51
52
// write to a file
53
virtual
bool
writeTo
(FILE* fp);
54
55
// get specification
56
virtual
unsigned
int
type
()
const
;
57
58
// virtual constructor
59
virtual
DtSpecificationAttribute
*
clone
()
const
;
60
61
protected
:
62
63
int
myInteger
;
64
65
};
66
67
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)