12 #include <matrix/vlVector.h>
52 static DtString formatTime(
int time);
53 static DtString formatDateTime(time_t time);
56 static DtString formatDistance(
double d);
57 static DtString formatHeading(
double d);
58 static DtString formatRate(
double d);
59 static DtString formatAltitudeRate(
double d);
60 static DtString formatTurnRate(
double d);
61 static DtString formatAltitude(
double d);
92 typedef std::map<std::string, DtScriptedTaskVariableConverter*>
Converters;
140 virtual void parseTime(
const std::string& s,
int& days,
int& hours,
int& minutes,
int& seconds)
const;
452 virtual DtString convertToString(
const DtTaitBryan&)
const;
Class which holds a list of string key and string value pairs. This class is a DtReaderWriter, and also has associated DtBufferSerialize methods available.
Definition: rwKeyValueList.h:21
A class that is used for converting to/from scripted task variables and reader/writer variables to be...
Definition: scriptedTaskVariableConverters.h:37
virtual DtReaderWriter * toRwPtr(const DtScriptedTaskVariable &) const override
Converts from the given scripted task variable to a DtReaderWriter variable that represents it...
Converter that will convert to/from DtRwVector.
Definition: scriptedTaskVariableConverters.h:306
DtRwNLengthStringVector is a named, readable/writable vector of strings of arbitrary length...
Definition: rwNLengthStringVector.h:28
Converter that will convert to/from DtRwNLengthStringVector.
Definition: scriptedTaskVariableConverters.h:492
Reader-Writer specification for aerodrome information.
Definition: rwAerodromeSpecification.h:14
Converter that will convert to/from DtRwInt.
Definition: scriptedTaskVariableConverters.h:112
Converter that will convert to/from DtRwAnimationModelString.
Definition: scriptedTaskVariableConverters.h:426
Converter that will convert to/from DtRwLocationReference.
Definition: scriptedTaskVariableConverters.h:342
Holds a position of some form. May be an absolute position, or a reference to another object...
Definition: rwLocationReference.h:25
class DtRwIntegerAttributeList:
Definition: rwIntegerAttributeList.h:32
Converter that will convert to/from DtRwStringAttributeList.
Definition: scriptedTaskVariableConverters.h:510
Definition: readerWriter.h:85
virtual DtString stringRep(const DtReaderWriter *) const =0
Returns string representation.
virtual DtReaderWriter * toRwPtr(const DtScriptedTaskVariable &) const override
Converts from the given scripted task variable to a DtReaderWriter variable that represents it...
Converter that will convert to/from DtRwReal.
Definition: scriptedTaskVariableConverters.h:175
Converter that will convert to/from DtRwInt for time.
Definition: scriptedTaskVariableConverters.h:130
Converter that will convert to/from DtRwOffsetVector.
Definition: scriptedTaskVariableConverters.h:390
Converter that will convert to/from DtRwHeading for DtRwHeading formatting.
Definition: scriptedTaskVariableConverters.h:621
Converter that will convert to/from DtRwInt for combo box variable.
Definition: scriptedTaskVariableConverters.h:144
Factory that will maintain converters. Creating this factory installs default converters for current ...
Definition: scriptedTaskVariableConverters.h:66
Converter that will convert to/from DtRwReal for heading formatting.
Definition: scriptedTaskVariableConverters.h:190
Converter that will convert to/from DtRwKeyValueList.
Definition: scriptedTaskVariableConverters.h:546
Converters myConverters
Definition: scriptedTaskVariableConverters.h:93
Converter that will convert to/from DtRwAerodromeSpecification.
Definition: scriptedTaskVariableConverters.h:528
Converter that will convert to/from DtRwNLengthUUIDVector.
Definition: scriptedTaskVariableConverters.h:474
Converter that will convert to/from DtVertexList.
Definition: scriptedTaskVariableConverters.h:379
Converter that will convert to/from DtRwInt.
Definition: scriptedTaskVariableConverters.h:97
Converter that will convert to/from DtRwReal for range formatting.
Definition: scriptedTaskVariableConverters.h:230
virtual DtString stringRep(const DtReaderWriter *) const override
Returns string representation.
Converter that will convert to/from DtRwIntegerAttributeList.
Definition: scriptedTaskVariableConverters.h:564
Instances of DtRwIntegerList are lists of readable, writeable integers (DtRwInts). The list contains pointers to DtRwInt instances.
Definition: rwIntegerList.h:19
virtual std::string fromRwPtr(const DtReaderWriter *) const =0
Converts from the reader/writer variable to a std::string that will be used as the default value for ...
Converter that will convert to/from DtRwInt for image combo box variable.
Definition: scriptedTaskVariableConverters.h:152
class DtVertexList:
Definition: vertexList.h:22
Converter that will convert to/from DtRwOffsetVector.
Definition: scriptedTaskVariableConverters.h:408
Converter that will convert to/from DtRwReal for altitide rate formatting.
Definition: scriptedTaskVariableConverters.h:214
virtual DtReaderWriter * toRwPtr(const DtScriptedTaskVariable &) const =0
Converts from the given scripted task variable to a DtReaderWriter variable that represents it...
Converter that will convert to/from DtRwReal for turn rate formatting.
Definition: scriptedTaskVariableConverters.h:222
class DtRwOffsetVectorList:
Definition: rwVectorList.h:63
A class for keeping track of meta data for variables of scripted tasks. The information is currently ...
Definition: scriptedTaskVariable.h:34
virtual DtString stringRep(const DtReaderWriter *) const override
Returns string representation.
Converter that will convert to/from DtRwTaitBryan.
Definition: scriptedTaskVariableConverters.h:441
Converter that will convert to/from DtRwBoolean.
Definition: scriptedTaskVariableConverters.h:261
Converter that will convert to/from DtRwForceType.
Definition: scriptedTaskVariableConverters.h:276
Converter that will convert to/from DtRwEntityType.
Definition: scriptedTaskVariableConverters.h:291
virtual DtString stringRep(const DtReaderWriter *) const override
Returns string representation.
std::map< std::string, DtScriptedTaskVariableConverter * > Converters
Definition: scriptedTaskVariableConverters.h:92
DtRwNLengthUUIDVector is a named, readable/writable vector of DtUUIDs. Can be used in place of a NLen...
Definition: rwNLengthUUIDVector.h:30
class DtRwRealAttributeList:
Definition: rwRealAttributeList.h:29
Converter that will convert to/from DtRwReal for datetime formatting.
Definition: scriptedTaskVariableConverters.h:238
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
Converter that will convert to/from DtRwObjectName.
Definition: scriptedTaskVariableConverters.h:459
Converter that will convert to/from DtRwRealAttributeList.
Definition: scriptedTaskVariableConverters.h:603
DtRwHeading; descriptor that represents a more robust heading.
Definition: rwHeading.h:15
Converter that will convert to/from DtRwStringAttributeList.
Definition: scriptedTaskVariableConverters.h:582
Converter that will convert to/from DtRWSphere.
Definition: scriptedTaskVariableConverters.h:324
Converter that will convert to/from DtRwString.
Definition: scriptedTaskVariableConverters.h:246
class DtRwVectorList:
Definition: rwVectorList.h:22
Converter that will convert to/from DtRwReal for altitude rate formatting.
Definition: scriptedTaskVariableConverters.h:206
class DtRwStringAttributeList:
Definition: rwStringAttributeList.h:29
Converter that will convert to/from DtRwReal for rate formatting.
Definition: scriptedTaskVariableConverters.h:198
Converter that will convert to/from DtVertexList.
Definition: scriptedTaskVariableConverters.h:360
Converter that will convert to/from DtRwColor.
Definition: scriptedTaskVariableConverters.h:160