MAK RTIspy API Documentation for HLA 1.3
spaceInfo.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: spaceInfo.h,v $ $Revision: 1.16 $ $State: Exp $
7 *********************************************************************/
10 
11 #ifndef DtSpaceInfo_H_
12 #define DtSpaceInfo_H_
13 
14 #ifdef DDM
15 
16 #include "dimInfo.h"
17 #include <vlutil/vlString.h>
18 #include <vector>
19 
20 typedef std::vector<DtDimInfo> DtDimVector;
21 
22 class DT_DLL_LRC DtSpaceInfo
23 {
24 public:
25 
27  DtSpaceInfo();
28  DtSpaceInfo(const char* spaceName, DtSpaceHandle handle);
29  DtSpaceInfo(const DtSpaceInfo& orig);
30 
32  DtSpaceInfo& operator=(const DtSpaceInfo& orig);
33  bool operator!=(const DtSpaceInfo& orig);
34  bool operator==(const DtSpaceInfo& orig);
35 
37  virtual ~DtSpaceInfo();
38 
40  virtual void setName(const char* nameValue);
41  virtual const char* name() const;
42 
44  virtual void setHandle(DtSpaceHandle handleValue);
45  virtual DtSpaceHandle handle() const;
46 
48  virtual void addDim(const char* dimName, bool exclude=true,
49  unsigned long max=MAX_EXTENT, unsigned long lower=MIN_EXTENT,
50  unsigned long upper=MAX_EXTENT);
51 
53  virtual bool isName(const char* name) const;
54 
56  virtual DtDimensionHandle dimHandle (
57  const char* theName) const;
58 
60  virtual const char* dimName (
61  DtDimensionHandle theHandle) const;
62 
64  virtual DtDimInfo* dimByName(const char* theName);
65  virtual DtDimInfo* dimByHandle(const DtDimensionHandle theHandle);
66 
68  virtual DtDimensionHandleSet const& dimensions() const;
69 
71  virtual const DtDimInfo* dimByName(const char* theName) const;
72  virtual const DtDimInfo* dimByHandle(
73  const DtDimensionHandle theHandle) const;
74 
76  virtual unsigned long dimensionCount() const;
77 
79  virtual void print() const;
80 
81 protected:
82 
83  DtSpaceInfo* self() const;
84 
85 protected:
86 
87  MAKRti::DtString myName;
88  DtSpaceHandle myHandle;
89  int myFirstMomDimension;
90  int myDefaultDimension;
91 
92  DtDimVector myDims;
93  DtDimensionHandleSet myDimSet;
94 };
95 
96 #endif
97 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)