VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
dimensionDesc.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2012 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: dimensionDesc.h,v $ $Revision: 115866 $ $State: Exp $
7
*********************************************************************/
8
10
11
#pragma once
12
13
#ifdef DtHLA
14
15
#include <
vlutil/vlString.h
>
16
#include "
rtiNamespace.h
"
17
18
#if DtHLA_1516
19
#include <limits.h>
20
#define DtMIN_EXTENT 0
21
#define DtMAX_EXTENT ULONG_MAX
22
#else
23
#define DtMIN_EXTENT MIN_EXTENT
24
#define DtMAX_EXTENT MAX_EXTENT
25
26
#endif
27
28
29
class
DT_DLL_VL
DtDimensionDesc
30
{
31
public
:
32
33
static
RTI::DimensionHandle
theInvalidHandle
;
34
35
public
:
36
38
DtDimensionDesc
(
const
char
* dimName, RTI::DimensionHandle dimensionHandle,
39
unsigned
long
defaultLower=
DtMIN_EXTENT
,
unsigned
long
defaultUpper=
DtMAX_EXTENT
,
40
unsigned
long
max=
DtMAX_EXTENT
,
bool
exclude=
true
);
41
43
DtDimensionDesc
(
const
DtDimensionDesc
& orig);
44
46
virtual
~
DtDimensionDesc
();
47
49
DtDimensionDesc
& operator=(
const
DtDimensionDesc
& orig);
50
bool
operator!=
(
const
DtDimensionDesc
& orig);
51
bool
operator==
(
const
DtDimensionDesc
& orig);
52
54
virtual
const
DtString
& name()
const
;
55
57
virtual
bool
isName(
const
char
* name);
58
60
virtual
RTI::DimensionHandle handle()
const
;
61
63
virtual
unsigned
long
lowerBound()
const
;
64
66
virtual
unsigned
long
upperBound()
const
;
67
69
virtual
unsigned
long
maxBound()
const
;
70
72
virtual
bool
excluded()
const
;
73
75
virtual
void
print()
const
;
76
77
protected
:
78
79
DtString
myName
;
80
RTI::DimensionHandle
myHandle
;
81
unsigned
long
myMaxBound
;
82
unsigned
long
myLowerBound
;
83
unsigned
long
myUpperBound
;
84
bool
myExcluded
;
85
};
86
87
88
#endif
89
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)