VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
complexComponentNode.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
7 #pragma once
8 
9 
10 
12 
13 #include <vlutil/vlString.h>
14 #ifdef DtUSE_UTILITIES_NAMESPACE
15 namespace DtUSE_UTILITIES_NAMESPACE
16 {
17 #endif
18 // Complex components only have cardinality in HLA 1.3
19 // Fixed at 1 for 1516 and Evolved
20 
22 {
23 
24 public:
25 
27  {
28  DtFixed = 0,
32 
35  DtModulus
36  };
37 
38 public:
39 
42 
44  virtual ~DtComplexComponentNode();
45 
48 
50  DtComplexComponentNode& operator=(const DtComplexComponentNode& rhs);
51 
52 public:
53 
54  virtual void setCardinality(const DtString&);
55  virtual const DtString& getCardinality() const;
56 
57  virtual void setAccuracy(const DtString&);
58  virtual const DtString& getAccuracy() const;
59 
60  virtual void setAccuracyCondition(const DtString&);
61  virtual const DtString& getAccuracyCondition() const;
62 
65  virtual int getCardinalityMinimum() const;
66  virtual int getCardinalityMaximum() const;
67  virtual const DtString& getConditionalComponent() const;
68  virtual const DtString& getConditionalValue() const;
69  virtual DtCardinalityType getCardinalityType() const;
70 
71 protected:
72 
73  virtual void setDerivedValues() const;
74 
75 
76 protected:
80 
82  mutable int myCardinalityMinimum;
83  mutable int myCardinalityMaximum;
86  mutable bool myDirty;
87 };
88 
89 
90 #ifdef DtUSE_UTILITIES_NAMESPACE
91 } // end of namespace DtUSE_UTILITIES_NAMESPACE
92 #endif

Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)