VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
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 
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 Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)