12 #include <matrix/vlVector.h>
51 static DtString formatTime(
int time);
52 static DtString formatDateTime(time_t time);
55 static DtString formatDistance(
double d);
56 static DtString formatHeading(
double d);
57 static DtString formatRate(
double d);
58 static DtString formatAltitudeRate(
double d);
59 static DtString formatTurnRate(
double d);
90 typedef std::map<std::string, DtScriptedTaskVariableConverter*>
Converters;
138 virtual void parseTime(
const std::string& s,
int& days,
int& hours,
int& minutes,
int& seconds)
const;
424 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:36
Converter that will convert to/from DtRwVector.
Definition: scriptedTaskVariableConverters.h:296
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:464
Converter that will convert to/from DtRwInt.
Definition: scriptedTaskVariableConverters.h:110
Converter that will convert to/from DtRwAnimationModelString.
Definition: scriptedTaskVariableConverters.h:398
class DtRwIntegerAttributeList:
Definition: rwIntegerAttributeList.h:32
Converter that will convert to/from DtRwStringAttributeList.
Definition: scriptedTaskVariableConverters.h:482
Definition: readerWriter.h:85
virtual DtString stringRep(const DtReaderWriter *) const =0
Returns string representation.
Converter that will convert to/from DtRwReal.
Definition: scriptedTaskVariableConverters.h:173
Converter that will convert to/from DtRwInt for time.
Definition: scriptedTaskVariableConverters.h:128
Converter that will convert to/from DtRwOffsetVector.
Definition: scriptedTaskVariableConverters.h:362
Converter that will convert to/from DtRwHeading for DtRwHeading formatting.
Definition: scriptedTaskVariableConverters.h:575
Converter that will convert to/from DtRwInt for combo box variable.
Definition: scriptedTaskVariableConverters.h:142
Factory that will maintain converters. Creating this factory installs default converters for current ...
Definition: scriptedTaskVariableConverters.h:64
Converter that will convert to/from DtRwReal for heading formatting.
Definition: scriptedTaskVariableConverters.h:188
Converter that will convert to/from DtRwKeyValueList.
Definition: scriptedTaskVariableConverters.h:500
Converters myConverters
Definition: scriptedTaskVariableConverters.h:91
Converter that will convert to/from DtRwNLengthUUIDVector.
Definition: scriptedTaskVariableConverters.h:446
Converter that will convert to/from DtVertexList.
Definition: scriptedTaskVariableConverters.h:351
Converter that will convert to/from DtRwInt.
Definition: scriptedTaskVariableConverters.h:95
Converter that will convert to/from DtRwReal for range formatting.
Definition: scriptedTaskVariableConverters.h:220
Converter that will convert to/from DtRwIntegerAttributeList.
Definition: scriptedTaskVariableConverters.h:518
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:150
class DtVertexList:
Definition: vertexList.h:22
Converter that will convert to/from DtRwOffsetVector.
Definition: scriptedTaskVariableConverters.h:380
Converter that will convert to/from DtRwReal for altitide rate formatting.
Definition: scriptedTaskVariableConverters.h:204
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:212
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
Returns string representation.
Converter that will convert to/from DtRwTaitBryan.
Definition: scriptedTaskVariableConverters.h:413
Converter that will convert to/from DtRwBoolean.
Definition: scriptedTaskVariableConverters.h:251
Converter that will convert to/from DtRwForceType.
Definition: scriptedTaskVariableConverters.h:266
virtual DtString stringRep(const DtReaderWriter *) const
Returns string representation.
Converter that will convert to/from DtRwEntityType.
Definition: scriptedTaskVariableConverters.h:281
virtual DtReaderWriter * toRwPtr(const DtScriptedTaskVariable &) const
Converts from the given scripted task variable to a DtReaderWriter variable that represents it...
std::map< std::string, DtScriptedTaskVariableConverter * > Converters
Definition: scriptedTaskVariableConverters.h:90
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:228
virtual DtReaderWriter * toRwPtr(const DtScriptedTaskVariable &) const
Converts from the given scripted task variable to a DtReaderWriter variable that represents it...
#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:431
virtual DtString stringRep(const DtReaderWriter *) const
Returns string representation.
Converter that will convert to/from DtRwRealAttributeList.
Definition: scriptedTaskVariableConverters.h:557
DtRwHeading; descriptor that represents a more robust heading.
Definition: rwHeading.h:15
Converter that will convert to/from DtRwStringAttributeList.
Definition: scriptedTaskVariableConverters.h:536
Converter that will convert to/from DtRWSphere.
Definition: scriptedTaskVariableConverters.h:314
Converter that will convert to/from DtRwString.
Definition: scriptedTaskVariableConverters.h:236
class DtRwVectorList:
Definition: rwVectorList.h:22
class DtRwStringAttributeList:
Definition: rwStringAttributeList.h:29
Converter that will convert to/from DtRwReal for rate formatting.
Definition: scriptedTaskVariableConverters.h:196
Converter that will convert to/from DtVertexList.
Definition: scriptedTaskVariableConverters.h:332
Converter that will convert to/from DtRwColor.
Definition: scriptedTaskVariableConverters.h:158