![]() |
VR-Forces 4.0.4 Class Documentation
|
The base class for all objects that are part of the ReaderWriter system in VR-Forces. More...
Inherited by BHAVE::DtRwTrafficSinkListEntry, DtAddressMap, DtAggregatedResource, DtAmmoSelectEntry, DtAttachedTerrain, DtBaseTableFunction, DtBhavePluginOptions, DtCommModelDescriptor, DtComponentDescriptor, DtComponentSystemDefinition, DtComponentSystemDescriptor, DtComponentSystemMetaData, DtConnectionDescriptor, DtCounterMeasureDistractionEntry, DtCSVReaderWriter, DtDetonationDescriptor, DtDIGuyCharAnimationsEntry, DtDmgAngleOfIncidenceTable, DtDmgMunitionEntry, DtEmbarkationSlotEntry, DtEmbarkationSlotManager, DtEmitterBeamListEntry, DtEmitterSystemEntry, DtEntityTargetInformation, DtFormationEntry, DtFormationTableEntry, DtFormationType, DtIndirectArtilleryTypesEntry, DtJoyDeviceManager, DtKinematicStateCS, DtLaserSpotData, DtLoadPoint, DtMenuEntry, DtModelSetEntry, DtMtlParameterDbFileData, DtMtlParameterDbFileEntry, DtNLengthIntegerVector, DtNLengthRealVector, DtObjectMapEntry, DtObstacleAreaCompatilibility, DtPhysicalWorldParams, DtPlan, DtPrbProbabilityCoefficients, DtPrbRangeDeterminant, DtPromotionEntry, DtPromotionIdObjectNameInformation, DtRadarModeEntry, DtRangeProbEntry, DtReaderWriterFile, DtReaderWriterMember, DtRemoteConfigurationEntry, DtRemoteConfigurationList, DtRemoteConfigurationMapEntry, DtRemoteConfigurationMapper, DtReservedSlot, DtRwAggregateState, DtRwAppearance, DtRwBoolean, DtRwBoundingGeometryType, DtRwBoundingVolume, DtRwClockTime, DtRwCondExpr, DtRwDcm, DtRwDeadReckonThresholds, DtRwDeadReckonTypes, DtRwDetectionLevelContainer, DtRwDIGuyAnimationEntry, DtRwDIGuyCharacterInfo, DtRwEntityType, DtRwForceDescription, DtRwForceObjectType, DtRwForces, DtRwForceType, DtRwFormationType, DtRwGaussianPuffData, DtRwGroundInteractionPt, DtRwGuidanceModeType, DtRwIndividualLifeFormStateType, DtRwIndividualLifeFormWeaponStateType, DtRwInt, DtRwIntegerAttribute, DtRwIntrusiveList, DtRwLifeformStaticPosture, DtRwList, DtRwListedObj, DtRwNLengthStringVector, DtRwObjectType, DtRwObjectTypeInfo, DtRwPlanExecutionStackEntry, DtRwRadioEntityType, DtRwRailSegment, DtRwRangedObjectType, DtRwReal, DtRwRealAttribute, DtRwScenarioExtras, DtRwSensorContactInfo, DtRwSensorSignature, DtRwShort, DtRwSimulationAddress, DtRwSoilSpeedFactorListEntry, DtRwSpatialFilter, DtRwSpawnData, DtRwSphere, DtRwStaticDynamicPostureListEntry, DtRwString, DtRwStringAttribute, DtRwTaitBryan, DtRwUnsigned, DtRwVariableBindings, DtRwVector, DtRwVectorObstructionType, DtScenario, DtScenarioBatch, DtScenarioBatchRecord, DtSetDataRequest, DtSignatureModifier, DtSignaturePropagatorDescriptor, DtSimArtPartDescriptor, DtSimCommand, DtSimComponent, DtSimCondExpr, DtSimKinematicState, DtSimMunition, DtSimObjectNetInterface, DtSimObjectStateRepository, DtSimReport, DtSimResource, DtSimSector, DtSimTask, DtSimTaskManager, DtSimTaskState, DtSimulationModelSet, DtSlotExclusion, DtSoilFactors, DtSubordinateEntry, DtSystemMetaDataEntry, DtSystemParameterData, DtTargetAcquireCriteria, DtTargetPriorityEntry, DtTargetSelectionCriteria, DtTaskExecutionRules, DtTaskMessageDescriptor, DtTaskStatusEntry, DtTerrainConfigurationOptions, DtTriggerData, DtTrueAggregateResource, DtUiElement, DtVrfMunitionLoader, DtVrfObject, DtVrfObjectGeometry, DtVrfObjectParameters, DtVrfObjectParametersDB, DtVrfObjectSubComponentTypes, DtVrfProcessStateRepository, DtVrfRadioDescriptor, DtVrfRadioTransmitterParams, DtVrfStateRepositoryUserExtension, DtVrfSubObjectParameterEntry, and makVrf::DtMenuEntry.
Public Types | |
| typedef std::vector < DtSymbolString > | aliasContainer |
| typedef std::vector < DtSymbolString >::iterator | aliasIter |
| typedef std::vector < DtSymbolString > ::const_iterator | aliasConstIter |
| typedef std::pair < DtSymbolString, DtString > | DtVariableNameType |
Public Member Functions | |
| DtReaderWriter () | |
| default constructor | |
| DtReaderWriter (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| real constructor Setting the readonly flag prevents object from writing itself to the stream. | |
| DtReaderWriter (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| DtReaderWriter (const DtString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| DtReaderWriter (const DtSymbolString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| const DtReaderWriter & | operator= (const DtReaderWriter &orig) |
| assignment operator | |
| virtual | ~DtReaderWriter () |
| destructor | |
| virtual void | putSelf (FILE *fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename()) |
| Top level call to write itself to file. | |
| virtual void | getSelf (DtlObjPtr args, const DtFilename &searchPath=DtFilename::nullFilename(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| Top level to read itself from an input stream. | |
| virtual void | writeSelf (FILE *fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename()) |
| Called from putSelf, calls myRegistry.putSelf which in turn calls putSelf on each reader/writer in the registry. | |
| virtual DtSymbolString | name () const |
| Accessor for name of this readable/writable object. | |
| virtual void | addAlias (const DtSymbolString &alias) |
| Add an alias as an alternative name for this object. | |
| virtual bool | hasAlias (const DtSymbolString &alias) |
| virtual void | setReadonly (bool flag) |
| Set read-only flag. | |
| virtual bool | isReadonly () const |
| virtual bool | variableIsBound () const |
| virtual void | unbindVariable () |
| Sets the myVariableIsBound flag to false. | |
| virtual void | setName (const DtString &) |
| Set the name of the object. | |
| virtual const char * | readerWriterType () const |
| Used to supply a string type that this reader writer type is. | |
| virtual void | bindVariables (DtVariableBindingsList variableBindings) |
| Runs a variable binding pass on this reader writer and any of its children. | |
| virtual std::list < DtVariableNameType > | unboundVariables () const |
| bool | invalid () const |
| virtual bool | hasChild (const DtReaderWriter *p) const |
| Returns true if this variable has a child p in it's chain. | |
| virtual void | setValueSpecified (bool specified, bool recurse=false) |
| The specified flags are used for optional values. | |
| virtual bool | valueSpecified () const |
| The specified flags are used for optional values. | |
| virtual bool | isVariableReference () const |
| Specifies whether or not this reader writer is really a variable that is specified elsewhere. | |
| virtual void | setIsVariableReference (bool value) |
| virtual DtSymbolString | variableName () const |
| The variable name, if this object is a variable reference. | |
| virtual void | setVariableName (const DtSymbolString variableName) |
| The variable name, if this object is a variable reference. | |
| const DtReaderWriterRegistry & | registry () const |
| Collection of child DtReaderWriter nodes owned by this object. | |
| DtReaderWriterRegistry & | registry () |
| Collection of child DtReaderWriter nodes owned by this object. | |
Static Public Member Functions | |
| static void | putIndent (FILE *fp, int indentLevel) |
| static const DtVariableBindingsList & | nullVariableReference () |
| static void | setPostGetSelfCallback (DtGetSelfCallbackFcn fcn, void *usrData) |
| static void | setPrePutSelfCallback (DtPutSelfCallbackFcn fcn, void *usrData) |
| static const DtFilename & | appPath () |
| Gets the current working directory. | |
| static DtReaderWriterFactory * | factory () |
Protected Member Functions | |
| virtual void | bindToRwAsVariable (const DtReaderWriter *rw) |
| Copies values from the specified DtReaderWriter. | |
| virtual void | bindLocalVariables (const DtVariableBindingsList &variableBindings) |
| Checks to see if this RW object is a variable reference that can be bound using the provided bindings. | |
| virtual void | putData (FILE *fp, int indentLevel=0) |
| Deriving class overrides these to get/put class specific data. | |
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings) |
| Deriving class overrides these to get/put class specific data. | |
Protected Attributes | |
| const DtSymbolString | myName |
| DtReaderWriterRegistry | myRegistry |
| bool | myValueSpecified |
| bool | myReadOnlyFlag |
| bool | myIsVariableReference |
| DtSymbolString | myVariableName |
| bool | myVariableIsBound |
| aliasContainer | myAliases |
| Container for the aliases which represent alternative names for the object. | |
| bool | myInvalid |
| Set to true if there is a problem reading this item. | |
Static Protected Attributes | |
| static DtString | theUnspecifiedValue |
| static DtGetSelfCallbackInfo | thePostGetSelfCallback |
| static DtPutSelfCallbackInfo | thePrePutSelfCallback |
| static const DtVariableBindingsList | theEmptyVariableBindingsList |
| static DtReaderWriterFactory | theFactory |
The base class for all objects that are part of the ReaderWriter system in VR-Forces.
ReaderWriter classes and the ReaderWriter system provide a mechanism for serializing objects to a text file that us human readable and editable, and reading that data back into a C++ structure. The data is written to the file in an "mtl" format, which is a list-like format, using key-value pairs.
| typedef std::vector<DtSymbolString> DtReaderWriter::aliasContainer |
| typedef std::vector<DtSymbolString>::iterator DtReaderWriter::aliasIter |
| typedef std::vector<DtSymbolString>::const_iterator DtReaderWriter::aliasConstIter |
| typedef std::pair<DtSymbolString, DtString> DtReaderWriter::DtVariableNameType |
default constructor
| DtReaderWriter::DtReaderWriter | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL, |
||
| bool | readonly = false |
||
| ) |
real constructor Setting the readonly flag prevents object from writing itself to the stream.
By default, DtReaderWriter objects are read/write.
| DtReaderWriter::DtReaderWriter | ( | const DtSymbolString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL, |
||
| bool | readonly = false |
||
| ) |
| DtReaderWriter::DtReaderWriter | ( | const DtString & | name, |
| const DtReaderWriter & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
| DtReaderWriter::DtReaderWriter | ( | const DtSymbolString & | name, |
| const DtReaderWriter & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
| virtual DtReaderWriter::~DtReaderWriter | ( | ) | [virtual] |
destructor
| const DtReaderWriter& DtReaderWriter::operator= | ( | const DtReaderWriter & | orig | ) |
assignment operator
| virtual void DtReaderWriter::putSelf | ( | FILE * | fp, |
| int | indentLevel = 0, |
||
| bool | writeUnspecified = false, |
||
| const DtFilename & | path = DtFilename::nullFilename() |
||
| ) | [virtual] |
Top level call to write itself to file.
If write unspecified is true, will write entries that are unspecified, in the format (name <use-default>). Path is passed down to all DtReaderWriter members in its DtReaderWriterRegistry (collection of child DtReaderWriter nodes). If a given member in the registry is of type DtReaderWriterFile, and the path is specified with a non-NULL string, then the path prepended to the filename before writing the entry to file.
Reimplemented in DtPlan, DtAutomotivePSR, DtScenario, DtVrfObjectStateRepository, DtMissileStateRepository, DtVrfObject, DtFixedWingFlightPSR, DtSimKinematicState, DtRotaryWingFlightPSR, DtAggregateMoveAlongPSR, DtDamageComponentDescriptor, DtPseudoAggregateMovementPSR, DtAggregatedMoveAlongPSR, DtHumanMoveAlongPSR, Dt1DRegularTableFn, DtSurfaceMovementPSR, DtDamageAdjudicationComponentDescriptor, DtObjectSensorPSR, DtReaderWriterFile, DtScenarioBatchRecord, DtMissileDistractionPSR, DtVrfOccupancyDirectorPSR, DtRwRailSegment, DtTaskStmt, DtSetDataRequestStmt, DtSimCommandStmt, DtCombatIdentificationLevelTable, DtAggregateMoveToPSR, DtCSVReaderWriter, and DtTaskMessageDescriptor.
| virtual void DtReaderWriter::getSelf | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath = DtFilename::nullFilename(), |
||
| const DtVariableBindingsList & | variableBindings = nullVariableReference() |
||
| ) | [virtual] |
Top level to read itself from an input stream.
searchPath is passed down to all DtReaderWriter members in its DtReaderWriterRegistry (collection of child DtReaderWriter nodes). If a given member in the registry is of type DtReaderWriterFile, and the searchPath is specified with a non-NULL string, then file to be read in is searched for in the given path.
| virtual void DtReaderWriter::writeSelf | ( | FILE * | fp, |
| int | indentLevel = 0, |
||
| bool | writeUnspecified = false, |
||
| const DtFilename & | path = DtFilename::nullFilename() |
||
| ) | [virtual] |
Called from putSelf, calls myRegistry.putSelf which in turn calls putSelf on each reader/writer in the registry.
Reimplemented in DtMenu, makVrf::DtMenu, DtModelSet, DtCSVReaderWriter, DtIndirectArtilleryTypesManager, and DtRwVariableBindings.
| virtual DtSymbolString DtReaderWriter::name | ( | ) | const [virtual] |
Accessor for name of this readable/writable object.
Reimplemented in DtObstacleAreaCompatilibility.
Referenced by DtSimBlock::clone(), DtRwSensorContactInfo::setContactName(), and DtEntityTargetInformation::setTargetName().
| static void DtReaderWriter::putIndent | ( | FILE * | fp, |
| int | indentLevel | ||
| ) | [static] |
| static const DtVariableBindingsList& DtReaderWriter::nullVariableReference | ( | ) | [static] |
| virtual void DtReaderWriter::setValueSpecified | ( | bool | specified, |
| bool | recurse = false |
||
| ) | [virtual] |
The specified flags are used for optional values.
On construction, all objects are marked as specified (for backward compatibility). If an object should be optional, the deriving constructor can mark it as unspecified. Objects are marked as specified if read (by getSelf) and unspecified objects are not written. The user should mark such optional objects as specified in any mutator that provides it with a real value. The specified accessor can be used by an including object to see if an object has had a value specified for it. If recurse is true, calls setValueSpecified() on its myRegistry data member, recursively calling setValueSpecified() over the structure. If recurse is false, the specified flag is only set in this object and not in any of the members in myRegistry.
Referenced by DtVrfIffPSR::setIffInformation().
| virtual bool DtReaderWriter::valueSpecified | ( | ) | const [virtual] |
The specified flags are used for optional values.
On construction, all objects are marked as specified (for backward compatibility). If an object should be optional, the deriving constructor can mark it as unspecified. Objects are marked as specified if read (by getSelf) and unspecified objects are not written. The user should mark such optional objects as specified in any mutator that provides it with a real value. The specified accessor can be used by an including object to see if an object has had a value specified for it. If recurse is true, calls setValueSpecified() on its myRegistry data member, recursively calling setValueSpecified() over the structure. If recurse is false, the specified flag is only set in this object and not in any of the members in myRegistry.
| virtual void DtReaderWriter::addAlias | ( | const DtSymbolString & | alias | ) | [virtual] |
Add an alias as an alternative name for this object.
| virtual bool DtReaderWriter::hasAlias | ( | const DtSymbolString & | alias | ) | [virtual] |
| virtual void DtReaderWriter::setReadonly | ( | bool | flag | ) | [virtual] |
Set read-only flag.
| virtual bool DtReaderWriter::isReadonly | ( | ) | const [virtual] |
| virtual bool DtReaderWriter::isVariableReference | ( | ) | const [virtual] |
Specifies whether or not this reader writer is really a variable that is specified elsewhere.
| virtual void DtReaderWriter::setIsVariableReference | ( | bool | value | ) | [virtual] |
| virtual DtSymbolString DtReaderWriter::variableName | ( | ) | const [virtual] |
The variable name, if this object is a variable reference.
The variable name is only used if the object is also set to be a variable reference.
| virtual void DtReaderWriter::setVariableName | ( | const DtSymbolString | variableName | ) | [virtual] |
The variable name, if this object is a variable reference.
The variable name is only used if the object is also set to be a variable reference.
| virtual bool DtReaderWriter::variableIsBound | ( | ) | const [virtual] |
| virtual void DtReaderWriter::unbindVariable | ( | ) | [virtual] |
Sets the myVariableIsBound flag to false.
This will force the variable name to be written out instead of the value if the RW object is written. This should only be used if a variable name has been assigned.
| static void DtReaderWriter::setPostGetSelfCallback | ( | DtGetSelfCallbackFcn | fcn, |
| void * | usrData | ||
| ) | [static] |
| static void DtReaderWriter::setPrePutSelfCallback | ( | DtPutSelfCallbackFcn | fcn, |
| void * | usrData | ||
| ) | [static] |
| const DtReaderWriterRegistry & DtReaderWriter::registry | ( | ) | const [inline] |
Collection of child DtReaderWriter nodes owned by this object.
Reimplemented in DtReaderWriterMember.
References myRegistry.
Referenced by DtBufferSerialize::decode().
| DtReaderWriterRegistry & DtReaderWriter::registry | ( | ) | [inline] |
Collection of child DtReaderWriter nodes owned by this object.
Reimplemented in DtReaderWriterMember.
References myRegistry.
| virtual void DtReaderWriter::setName | ( | const DtString & | ) | [virtual] |
Set the name of the object.
Uses the myName variable. Only set if you understand that this could have effects on other parts of the system that are unknown (especially if this item has already been added to a registry).
Under normal usage, this name is set as a process of creating an item from a factory or as part of a constructor. Only use this method if an item is created from a factory, and the name is not known until after created from that factory, before adding to the registry of another item
| virtual const char* DtReaderWriter::readerWriterType | ( | ) | const [virtual] |
Used to supply a string type that this reader writer type is.
This can be used in place of dynamic-casting. Also used by the opd editor to determine which type of control to create
Reimplemented in DtUiLayoutElement, DtReaderWriterMember, DtRwListedObj, DtRwOrSpatialFilter, DtRwIntrusiveList, DtSimResource, DtReaderWriterFile, DtRwList, DtSensorContactInfoList, DtRwAndSpatialFilter, DtRwRangedObjectType, DtRwEntityType, DtRwUnsigned, DtRwInt, DtRwNLengthStringVector, DtEmbarkationSlotEntry, DtRwReal, DtSoilList, DtFormationTable, DtRwGuidanceModeType, DtRwShort, DtCombatIdentificationLevelTable, DtSoilFactors, DtRwIndividualLifeFormStateType, DtRwVectorObstructionTypeList, DtTargetPriorityList, DtSimMunition, DtRwDIGuyAnimationsList, DtRwDcm, DtRwObjectTypeList, DtRwObjectType, DtRwStringAttributeList, DtDmgMunitionTable, DtRwRailSegment, DtCSVReaderWriter, DtFormationType, DtVrfSubObjectParameterEntry, DtRwFormationType, DtSimArtPartDescriptorList, DtSimMunitionList, DtCombatIdentificationLevelTableEntry, DtRwRadioEntityType, DtRwBoolean, DtRwRealAttributeList, DtRwTaitBryan, Dt1DRegularTableFn, DtEmitterBeamList, DtBaseTableFunction, DtSimResourceList, DtRwIntegerAttributeList, DtSimArtPartParamList, DtRwClockTime, DtRwForceType, DtRwSoilSpeedFactorList, DtRadarModeList, DtRwIndividualLifeFormWeaponStateType, DtRwString, DtRwVariableBindings, DtRwLifeformStaticPosture, DtRwBoundingVolume, DtRwGaussianPuffData, DtRwSphere, DtRwTemplatedListPtr< T >, Dt1DTableFn, DtRwTemplatedListPtr< DtTargetAcquireCriteria >, DtRwTemplatedListPtr< DtRwObjectTypeInfo >, DtRwTemplatedListPtr< DtRwInt >, DtRwTemplatedListPtr< DtRwString >, DtRwTemplatedListPtr< DtSlotExclusion >, DtRwTemplatedListPtr< DtRwTrafficSinkListEntry >, DtRwTemplatedListPtr< DtRwSensorSignature >, DtRwTemplatedListPtr< DtRwGaussianPuffData >, DtRwTemplatedListPtr< DtMtlParameterDbFileEntry >, DtRwTemplatedListPtr< DtRwNLengthStringVector >, DtRwTemplatedListPtr< DtSymbolMapperEntry >, DtRwTemplatedListPtr< DtPromotionIdObjectNameInformation >, DtRwTemplatedListPtr< DtLoadPoint >, DtRwTemplatedListPtr< DtRwVector >, DtRwTemplatedListPtr< DtRwRailSegment >, DtRwTemplatedListPtr< DtLaserSpotData >, DtRwTemplatedListPtr< DtReservedSlot >, DtRwDeadReckonTypes, DtRwVector, DtCombatIdentificationDetectionIntervalEntry, DtNLengthIntegerVector, DtRwIntegerAttribute, DtRwRealAttribute, DtRwStringAttribute, DtTrueAggregateResourceList, DtRwForces, DtRwVectorObstructionType, DtAttachedTerrain, DtNLengthRealVector, DtRwAggregateState, DtRwSimulationAddress, DtRwAppearance, DtRwStaticDynamicPostureList, DtVrfSubObjectParameterList, DtRwSpawnData, DtMunitionResource, DtRwSpawnDataList, DtRwFrustumSpatialFilter, DtRwNotSpatialFilter, DtRwBoundingGeometryType, DtConnectionDescriptorList, DtRwRangeSpatialFilter, DtComponentSystemDescriptorList, DtRwSpatialFilterContainer, DtLoadPoint, DtSlotExclusion, DtRwObjectTypeInfo, DtSystemMetaDataEntryList, DtSystemParameterDataList, DtSignatureModifierList, DtAggregatedResourceList, DtRwDIGuyCharacterInfo, DtSubordinateObjectsList, DtRwScenarioExtras, DtRwSensorSignatureList, and DtRwSoilSpeedFactorListEntry.
| virtual void DtReaderWriter::bindVariables | ( | DtVariableBindingsList | variableBindings | ) | [virtual] |
Runs a variable binding pass on this reader writer and any of its children.
The list passed in specified pointers to DtRwVariableBindings instances. Variables are searched for starting at the beginning of the list, so if any variables are listed twice, then the ones earlier in the list take precedence. This method recurses by calling bindVariables() on all the children objects of this reader writer after first adding this objects variable bindings to the start of the list.
| virtual std::list<DtVariableNameType> DtReaderWriter::unboundVariables | ( | ) | const [virtual] |
| static const DtFilename& DtReaderWriter::appPath | ( | ) | [static] |
Gets the current working directory.
The first time this accessor is called, it determines the current working directory, sets it in theAppPath, and returns theAppPath. Subsequent calls to this function just return theAppPath.
Reimplemented in DtReaderWriterFile.
| bool DtReaderWriter::invalid | ( | ) | const [inline] |
References myInvalid.
| virtual bool DtReaderWriter::hasChild | ( | const DtReaderWriter * | p | ) | const [virtual] |
Returns true if this variable has a child p in it's chain.
| static DtReaderWriterFactory* DtReaderWriter::factory | ( | ) | [static] |
Reimplemented in DtVrfObject, DtVrfObjectParameters, DtSimComponent, DtVrfObjectStateRepository, DtSimTaskManager, DtSimStatement, DtSimTask, DtComponentDescriptor, DtSimCondExpr, DtSimResource, DtSimCommand, DtSetDataRequest, DtSimReport, DtSimObjectNetInterface, DtVrfRadioDescriptor, DtSimTaskState, DtCommModelDescriptor, DtVrfProcessStateRepository, DtSubordinateEntry, DtSignaturePropagatorDescriptor, DtSystemParameterData, DtVrfStateRepositoryUserExtension, and DtSystemMetaDataEntry.
| virtual void DtReaderWriter::bindToRwAsVariable | ( | const DtReaderWriter * | rw | ) | [protected, virtual] |
Copies values from the specified DtReaderWriter.
rw must point to the same subclassed type of DtReaderWriter as this instance is. Sets myVariableIsBound to true if variable binding is successful.
| virtual void DtReaderWriter::bindLocalVariables | ( | const DtVariableBindingsList & | variableBindings | ) | [protected, virtual] |
Checks to see if this RW object is a variable reference that can be bound using the provided bindings.
If so, it binds it. Does not check any children objects of this object.
| virtual void DtReaderWriter::putData | ( | FILE * | fp, |
| int | indentLevel = 0 |
||
| ) | [protected, virtual] |
Deriving class overrides these to get/put class specific data.
Reimplemented in DtVrfObjectStateRepository, DtVrfObjectParameters, DtReaderWriterMember, DtEmbarkationSlotManager, DtSimComponent, DtRemoteConfigurationMapper, DtRemoteConfigurationList, DtRemoteConfigurationMapEntry, DtSimObjectStateRepository, DtSimTask, Dt1DRegularTableFn, DtRwRangedObjectType, DtVrfRadioDescriptor, DtSetDataRequest, Dt1DTableFn, DtCSVReaderWriter, DtRwEntityType, DtSimCommand, DtRwUnsigned, DtRwInt, DtRwNLengthStringVector, DtComponentDescriptor, DtRwReal, DtRwGuidanceModeType, DtRwShort, DtSendSetMessageTask, DtSendTaskMessageTask, DtSimResource, DtSetDataCommand, DtTaskCommand, DtSimReport, DtRwDcm, DtRwObjectType, DtCommModelDescriptor, DtRwRadioEntityType, DtSimTaskState, DtFormationType, DtRwBoolean, DtRwTaitBryan, DtBaseTableFunction, DtRwClockTime, DtRwFormationType, DtRwForceType, DtRwIndividualLifeFormStateType, DtRwIndividualLifeFormWeaponStateType, DtRwString, DtRwLifeformStaticPosture, DtRwBoundingVolume, DtRwSphere, DtRwDeadReckonTypes, DtSignaturePropagatorDescriptor, DtRwAppearance, DtRwIntegerAttribute, DtRwRealAttribute, DtRwStringAttribute, DtRwCondExpr, DtRwForces, DtRwVector, DtTaskMessageDescriptor, DtConnectionDescriptor, DtPrbRangeTableEntry, DtNLengthIntegerVector, DtRwSimulationAddress, DtRwAggregateState, DtNLengthRealVector, DtPrbProbabilityCoefficients, DtRwBoundingGeometryType, and DtRwGroundInteractionPt.
| virtual DtlObjPtr DtReaderWriter::getData | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath, | ||
| const DtVariableBindingsList & | variableBindings | ||
| ) | [protected, virtual] |
Deriving class overrides these to get/put class specific data.
const DtSymbolString DtReaderWriter::myName [protected] |
Reimplemented in DtObjectMapEntry, and DtObstacleAreaCompatilibility.
DtReaderWriterRegistry DtReaderWriter::myRegistry [protected] |
Referenced by registry().
bool DtReaderWriter::myValueSpecified [protected] |
bool DtReaderWriter::myReadOnlyFlag [protected] |
bool DtReaderWriter::myIsVariableReference [protected] |
DtSymbolString DtReaderWriter::myVariableName [protected] |
bool DtReaderWriter::myVariableIsBound [protected] |
aliasContainer DtReaderWriter::myAliases [protected] |
Container for the aliases which represent alternative names for the object.
DtString DtReaderWriter::theUnspecifiedValue [static, protected] |
DtGetSelfCallbackInfo DtReaderWriter::thePostGetSelfCallback [static, protected] |
DtPutSelfCallbackInfo DtReaderWriter::thePrePutSelfCallback [static, protected] |
const DtVariableBindingsList DtReaderWriter::theEmptyVariableBindingsList [static, protected] |
DtReaderWriterFactory DtReaderWriter::theFactory [static, protected] |
Reimplemented in DtVrfObjectStateRepository, DtVrfObjectParameters, DtVrfObject, DtSimTaskManager, DtUiElement, DtVrfRadioDescriptor, DtSimObjectNetInterface, DtCommModelDescriptor, DtSignaturePropagatorDescriptor, DtVrfProcessStateRepository, DtSystemParameterData, DtVrfStateRepositoryUserExtension, DtRwSpatialFilter, DtSignatureModifier, and DtSystemMetaDataEntry.
bool DtReaderWriter::myInvalid [protected] |
Set to true if there is a problem reading this item.
Referenced by invalid().