VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
gdb
specificationRealAttribute.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: specReAttrib.h,v $ $Revision: 1.7 $ $State: Exp $
7
*********************************************************************/
8
9
#ifndef specificationRealAttribute_H_
10
#define specificationRealAttribute_H_
11
12
#include "
gdb/gdbDefines.h
"
13
#include <stdio.h>
14
15
#include <vlutil/vlNetTypes.h>
16
17
#include "
gdb/specificationAttribute.h
"
18
19
// class DtSpecificationRealAttribute:
20
//
21
// DtSpecificationRealAttribute is the base member for attributes.
22
23
class
DT_DLL_gdb
DtSpecificationRealAttribute
:
public
DtSpecificationAttribute
24
{
25
public
:
26
27
// default constructor
28
DtSpecificationRealAttribute
();
29
30
// destructor
31
virtual
~
DtSpecificationRealAttribute
();
32
33
// copy constructor
34
DtSpecificationRealAttribute
(
const
DtSpecificationRealAttribute
& orig);
35
36
// assignment operator
37
DtSpecificationRealAttribute
&
operator=
(
const
DtSpecificationRealAttribute
& 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 real
46
virtual
double
value()
const
;
47
virtual
void
setValue(
double
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
double
myReal
;
64
65
};
66
67
#endif
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)