VR-Forces 5.0.3 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 
121  virtual std::map<DtString, DtString> attributeList() const;
122 
125  virtual const DtSystemMetaDataEntry* lookupMetaDataEntry(const DtString& dataType) const;
126 
128  virtual bool inSystemCategory(const DtString& category) const;
129 
131  bool operator==(const DtComponentSystemMetaData&) const;
132 
135  virtual void merge(const DtComponentSystemMetaData&);
136 
138  virtual bool canCheckHealthOf(const DtString&) const;
139 
142  virtual void mergeAllowedStateRepositoryTypes(const DtRwNLengthStringVector&);
143  virtual void mergeSystemCategories(const DtRwNLengthStringVector&);
144  virtual void mergeOnlySupportsHealthChecks(const DtRwNLengthStringVector&);
145  virtual void mergeParameterDataList(const DtSystemParameterDataList&);
146  virtual void mergeMetaDataEntryList(const DtSystemMetaDataEntryList&);
147  virtual void mergeAttributeList(const std::map<DtString, DtString>&);
148  virtual void mergeDeprecatedVariableBindings(const DtRwNLengthStringVector&);
150 
151 protected:
156 
162 
164 
172 
178 
187 
195 
202 
210 
218 
226 
233 
239 };
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:232
DtRwBoolean myMergeWithSubSystems
Parameter Name: merge-with-sub-systems Parameter Description: This variable will determine if this sy...
Definition: componentSystemMetaData.h:225
#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:201
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:194
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:163
DtRwNLengthStringVector mySystemCategories
Parameter Name: system-categories Parameter Description: List of system categories that this system b...
Definition: componentSystemMetaData.h:177
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:157
DtRwNLengthStringVector myAllowedStateRepositoryTypes
Parameter Name: allowed-state-repository-types Parameter Description: List if state repository types ...
Definition: componentSystemMetaData.h:171
DtRwNLengthStringVector myDeprecatedVariableBindings
Parameter Name: deprecated-variable-bindings Parameter Description: List if deprecated variable bindi...
Definition: componentSystemMetaData.h:238
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:186
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:209
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:217
class DtRwStringAttributeList:
Definition: rwStringAttributeList.h:29

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)