Public Member Functions |
| | DtGriddedDataRepository () |
| | default constructor
|
| virtual | ~DtGriddedDataRepository () |
| | destructor
|
| | DtGriddedDataRepository (const DtGriddedDataRepository &orig) |
| | copy constructor
|
| virtual DtStateRepository * | clone (bool copy=false) const |
| | Return a copy/empty object with the same type as this.
|
| DtGriddedDataRepository & | operator= (const DtGriddedDataRepository &orig) |
| | Assignment operator.
|
| virtual void | setGridIdentifier (const DtEntityIdentifier &gridId) |
| | Set/Get gridIdentifier. 2.0D4.
|
| virtual const DtEntityIdentifier & | gridIdentifier () const |
| virtual void | setGridID (const DtEntityIdentifier &gridId) |
| | Set/Get gridId.
|
| virtual const DtEntityIdentifier & | gridID () const |
| virtual void | setFieldNumber (DtU16 num) |
| | Set/Get field number.
|
| virtual DtU16 | fieldNumber () const |
| virtual void | setRecordNumber (DtU16 num) |
| | Set/Get the record index number.
|
| virtual DtU16 | recordNumber () const |
| virtual void | setRecordTotal (DtU16 total) |
| | Set/Get total number of records used to transmit the environmental data.
|
| virtual DtU16 | recordTotal () const |
| virtual void | setCoordSystem (DtEnvironmentDataCoordSystem sys) |
| | Set/Get coordinate system.
|
virtual
DtEnvironmentDataCoordSystem | coordSystem () const |
| virtual bool | setNumGridAxes (DtU8 axes) |
| | Set/Get number of grid axes.
|
| virtual DtU8 | numGridAxes () const |
| virtual void | setConstantGrid (DtEnvironmentGridType constant) |
| virtual DtEnvironmentGridType | constantGrid () const |
| virtual void | setEnvironmentType (const DtEnvironmentTypeRecord &type) |
| | Set/Get environment type.
|
virtual const
DtEnvironmentTypeRecord & | environmentType () const |
| virtual void | setOrientation (const DtTaitBryan &orientation) |
| | Set/Get orientation.
|
| virtual const DtTaitBryan & | orientation () const |
| virtual void | setSampleTime (int index, DtU32 time) |
| | Set/Get sample time.
|
| virtual DtU32 | sampleTime (int index) const |
| virtual void | setTotalValues (DtU32 total) |
| | Set/Get total values.
|
| virtual DtU32 | totalValues () const |
| virtual bool | setVectorDim (DtU8 dim) |
| | Set/Get vector dimension.
|
| virtual DtU8 | vectorDim () const |
| virtual DtGridAxisType | gridAxisRecordType (int index) const |
| | Get the grid axes record type for a particular record.
|
| virtual bool | setGridAxisRecord (int index, const DtGridAxisRecordFixed &init) |
| | Set/Get the grid axis record type and values of record index to values specified by the initializer in the second argument.
|
| virtual bool | getGridAxisRecord (int index, DtGridAxisRecordFixed &record) const |
| virtual bool | setGridAxisRecord (int index, const DtGridAxisRecordVariable &init) |
| virtual bool | getGridAxisRecord (int index, DtGridAxisRecordVariable &record) const |
| virtual DtGridDataRecType | gridDataRecordType (int index) const |
| | Get the grid data record type for a particular record.
|
| virtual bool | setGridDataRecord (int index, const DtGridDataRecordType0 &init) |
| | Set/Get the grid data record type and values of record index to values specified by the initializer in the second argument.
|
| virtual bool | getGridDataRecord (int index, DtGridDataRecordType0 &record) const |
| virtual bool | setGridDataRecord (int index, const DtGridDataRecordType1 &init) |
| virtual bool | getGridDataRecord (int index, DtGridDataRecordType1 &record) const |
| virtual bool | setGridDataRecord (int index, const DtGridDataRecordType2 &init) |
| virtual bool | getGridDataRecord (int index, DtGridDataRecordType2 &record) const |
| virtual void | printData () const |
| | print data contained within the repository to DtInfo
|
| virtual void | printDataToStream (std::ostream &stream) const |
| | Print data to the specified stream.
|
| | DtStateRepository () |
| | default constructor
|
| | DtStateRepository (const DtStateRepository &orig) |
| | copy constructor
|
| virtual | ~DtStateRepository () |
| | destructor
|
| DtStateRepository & | operator= (const DtStateRepository &orig) |
| | assignment operator
|
| virtual void | setGlobalId (const DtGlobalObjectDesignator &id) |
| | Get/Set global identifier, or name.
|
virtual const
DtGlobalObjectDesignator & | globalId () const |
| virtual unsigned int | numberOfAttributeRecords () const |
| virtual void | setAttributeRecords (const DtAttributeRecordSet &records) |
| | The following functions are related to the extendability part of DIS 7.
|
| virtual void | setAttributeRecords (const DtStandardVariableRecordPtrVector &records) |
| | Replace the attribute record set with the records in the given vector.
|
virtual const
DtAttributeRecordSet & | attributeRecordSet () const |
| | Return the attribute record set.
|
| virtual DtAttributeRecordSet & | attributeRecordSet () |
| | Return the attribute record set.
|
virtual const
DtStandardVariableRecordPtrVector & | attributeRecords () const |
| | Return the attribute records Any changes to the returned record(s) will modify the records in the recordSet.
|
virtual const
DtStandardVariableRecordPtrVector & | attributeRecords (unsigned int recordType) const |
| | Return the attribute records of the given type (all records if type is 0) Any changes to the returned record(s) will modify the records in the recordSet.
|
| virtual DtStandardVariableRecord * | attributeRecord (unsigned int recordType) const |
| | Return the (first) attribute record of the given type (first record if type is 0) Any changes to the returned record will modify the record in the recordSet.
|
| virtual int | removeAttributeRecord (unsigned int recordType, bool removeAll=true) |
| | Remove and discard the first record of the given record type (if there is one) or all them.
|
virtual
DtStandardVariableRecordPtrVector & | getAttributeRecords (unsigned int recordType, DtStandardVariableRecordPtrVector &vec) const |
| | Get the attribute records of the given type (all if type is 0) Any changes to the returned record(s) will modify the records in the recordSet.
|
virtual
DtStandardVariableRecordPtrVector & | getAttributeRecords (DtStandardVariableRecordPtrVector &vec) const |
| | Get the attribute records Any changes to the returned record(s) will modify the records in the recordSet.
|
| virtual void | addAttributeRecord (DtStandardVariableRecord *record) |
| | Add a clone of given record to the attribute record set.
|
| virtual void | addAttributeRecord (std::auto_ptr< DtStandardVariableRecord > record) |
| | Add the given record to the attribute record set.
|
| virtual void | clearAttributeRecords () |
| | Clear all records.
|
virtual
DtStateRepositoryExtension * | stateRepositoryExtension (DtString srExtName) const |
| | Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found.
|
| virtual std::vector< DtString > | stateRepositoryExtensionNames () const |
| | Returns a set of the registered state repository extension names.
|
| virtual void | setStateRepositoryExtensions (std::map< DtString, DtStateRepositoryExtension * > extensions) |
| | Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found.
|
virtual const std::map
< DtString,
DtStateRepositoryExtension * > | stateRepositoryExtensions () const |
| | Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found.
|
Instances of DtGriddedDataRepository are used to communicate environmental data defined on a grid.