VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
componentSystemMetaData.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 #include <readerWriter/rwString.h>
20 
27 {
28 private:
31 
32 public:
33 
35  DtComponentSystemMetaData(const DtString & name,
36  DtReaderWriterRegistry * parentRegistry = 0);
37 
40  DtReaderWriterRegistry * parentRegistry = 0);
41 
44  orig);
45 
47  virtual ~DtComponentSystemMetaData();
48 
50 
51  virtual DtString systemName() const;
52  virtual void setSystemName(const DtString& name);
54 
56 
57  virtual const DtString& uiFilename() const;
58  virtual void setUiFilename(const DtString& name);
60 
62 
63  virtual const DtString& promotedFrom() const;
64  virtual void setPromotedFrom(const DtString& name);
66 
68 
69  virtual const DtRwNLengthStringVector& onlySupportsHealthChecks() const;
70  virtual void setOnlySupportsHealthChecks(const DtRwNLengthStringVector& name);
72 
74 
75  virtual DtString systemDescription() const;
76  virtual void setSystemDescription(const DtString& desc);
78 
80 
81  virtual const DtRwNLengthStringVector& allowedStateRepositoryTypes() const;
82  virtual DtRwNLengthStringVector& allowedStateRepositoryTypes();
84 
86  virtual bool allowedForStateRepositoryType(const DtString& srTypeString) const;
87 
89 
90  virtual const DtRwNLengthStringVector& systemCategories() const;
91  virtual DtRwNLengthStringVector& systemCategories();
93 
95 
96  virtual const DtSystemParameterDataList& parameterDataList() const;
97  virtual DtSystemParameterDataList& parameterDataList();
99 
101 
102  virtual bool mergeWithSubSystems() const;
103  virtual void setMergeWithSubSystems(bool);
105 
108 
109  virtual const DtSystemMetaDataEntryList& metaDataEntryList() const;
110  virtual DtSystemMetaDataEntryList& metaDataEntryList();
112 
114 
115  virtual const DtRwNLengthStringVector& deprecatedVariableBindings() const;
116  virtual DtRwNLengthStringVector& deprecatedVariableBindings();
118 
120 
121  virtual const DtRwNLengthStringVector& additionalData() const;
122  virtual DtRwNLengthStringVector& additionalData();
124 
127  virtual std::map<DtString, DtString> attributeList() const;
128 
131  virtual const DtSystemMetaDataEntry* lookupMetaDataEntry(const DtString& dataType) const;
132 
134  virtual bool inSystemCategory(const DtString& category) const;
135 
137  bool operator==(const DtComponentSystemMetaData&) const;
138 
141  virtual void merge(const DtComponentSystemMetaData&);
142 
144  virtual bool canCheckHealthOf(const DtString&) const;
145 
148  virtual void mergeAllowedStateRepositoryTypes(const DtRwNLengthStringVector&);
149  virtual void mergeSystemCategories(const DtRwNLengthStringVector&);
150  virtual void mergeOnlySupportsHealthChecks(const DtRwNLengthStringVector&);
151  virtual void mergeParameterDataList(const DtSystemParameterDataList&);
152  virtual void mergeMetaDataEntryList(const DtSystemMetaDataEntryList&);
153  virtual void mergeAttributeList(const std::map<DtString, DtString>&);
154  virtual void mergeDeprecatedVariableBindings(const DtRwNLengthStringVector&);
155  virtual void mergeAdditionalData(const DtRwNLengthStringVector&);
157 
158 protected:
163 
169 
171 
179 
185 
194 
202 
209 
217 
225 
233 
240 
246 
252 };
bool operator==(const DtReaderWriter &) const
Equivalence operator.
DtRwNLengthStringVector myOnlySupportsHealthChecks
Parameter Name: only-supports-health-checks Parameter Description: This variable will define health c...
Definition: componentSystemMetaData.h:239
DtRwBoolean myMergeWithSubSystems
Parameter Name: merge-with-sub-systems Parameter Description: This variable will determine if this sy...
Definition: componentSystemMetaData.h:232
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwNLengthStringVector is a named, readable/writable vector of strings of arbitrary length...
Definition: rwNLengthStringVector.h:28
DtRwStringAttributeList myAttributeList
Parameter Name: system-attributes Parameter Description: List of key-value pairs (a pair of strings) ...
Definition: componentSystemMetaData.h:208
DtSystemMetaDataEntryList myMetaDataEntryList
Parameter Name: meta-data-entry-list Parameter Description: List of meta data entries. These entries are of subtypes of DtSystemMetaDataEntry, and can contain any data that is specific to this system. Parameter Default Value: Parameter Units:
Definition: componentSystemMetaData.h:201
Definition: readerWriter.h:85
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
DtRwString mySystemDescription
Parameter Name: system-description Parameter Description: Text description of the system...
Definition: componentSystemMetaData.h:170
DtRwNLengthStringVector mySystemCategories
Parameter Name: system-categories Parameter Description: List of system categories that this system b...
Definition: componentSystemMetaData.h:184
Base class for RW objects that describe an entry in the system meta data. This data is used by the en...
Definition: systemMetaDataEntry.h:28
DtRwString mySystemName
Parameter Name: system-name Parameter Description: Plain text readable name for the system...
Definition: componentSystemMetaData.h:164
DtRwNLengthStringVector myAllowedStateRepositoryTypes
Parameter Name: allowed-state-repository-types Parameter Description: List if state repository types ...
Definition: componentSystemMetaData.h:178
DtRwNLengthStringVector myDeprecatedVariableBindings
Parameter Name: deprecated-variable-bindings Parameter Description: List of deprecated variable bindi...
Definition: componentSystemMetaData.h:245
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
RW List which holds DtSystemParameterData subclasses. Overridden from the template to add the correct...
Definition: systemParameterDataList.h:20
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
RW List which holds DtSystemMetaDataEntry subclasses. Overridden from the template to add the correct...
Definition: systemMetaDataEntryList.h:20
DtSystemParameterDataList myParameterDataList
Parameter Name: parameter-data-list Parameter Description: List of information about parameters for ...
Definition: componentSystemMetaData.h:193
Contains metadata about a component system definition. Data such as name, description, and what types of entities the system is allowed to be used on. This data will typically be used by the Entity Editor, and not for any critical areas of vrfSim.
Definition: componentSystemMetaData.h:26
DtRwString myUiFilename
Parameter Name: ui-filename Parameter Description: For the Simulation Object Editor, the default filename to use for this system when displaying information. If blank will use the system default of system-definition.ui. Parameter Default Value: Parameter Units:
Definition: componentSystemMetaData.h:216
DtRwNLengthStringVector myAdditionalData
Parameter Name: additional-data Parameter Description: List of variable string data. Parameter Default Value: Parameter Units: //!
Definition: componentSystemMetaData.h:251
DtRwString myPromotedFrom
Parameter Name: promoted-from Parameter Description: For the Simulation Object Editor, if this system was promoted from another system, this value will contain the filename of the sysetm it was promoted from. This will be used to make sure to not show both systems in the Simulation Object Editor system list Parameter Default Value: Parameter Units:
Definition: componentSystemMetaData.h:224
class DtRwStringAttributeList:
Definition: rwStringAttributeList.h:29

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)