12 #include <matrix/vlVector.h>
49 static DtString formatTime(
int time);
50 static DtString formatDateTime(time_t time);
53 static DtString formatDistance(
double d);
54 static DtString formatHeading(
double d);
55 static DtString formatRate(
double d);
56 static DtString formatAltitudeRate(
double d);
57 static DtString formatTurnRate(
double d);
88 typedef std::map<std::string, DtScriptedTaskVariableConverter*>
Converters;
118 virtual void parseTime(
const std::string& s,
int& days,
int& hours,
int& minutes,
int& seconds)
const;
404 virtual DtString convertToString(
const DtTaitBryan&)
const;
Class which holds a list of string key and string value pairs.
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:34
Converter that will convert to/from DtRwVector.
Definition: scriptedTaskVariableConverters.h:276
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:444
Converter that will convert to/from DtRwAnimationModelString.
Definition: scriptedTaskVariableConverters.h:378
class DtRwIntegerAttributeList:
Definition: rwIntegerAttributeList.h:32
Converter that will convert to/from DtRwStringAttributeList.
Definition: scriptedTaskVariableConverters.h:462
Definition: readerWriter.h:85
virtual DtString stringRep(const DtReaderWriter *) const =0
Returns string representation.
Converter that will convert to/from DtRwReal.
Definition: scriptedTaskVariableConverters.h:153
Converter that will convert to/from DtRwInt for time.
Definition: scriptedTaskVariableConverters.h:108
Converter that will convert to/from DtRwOffsetVector.
Definition: scriptedTaskVariableConverters.h:342
Converter that will convert to/from DtRwInt for combo box variable.
Definition: scriptedTaskVariableConverters.h:122
Factory that will maintain converters.
Definition: scriptedTaskVariableConverters.h:62
Converter that will convert to/from DtRwReal for heading formatting.
Definition: scriptedTaskVariableConverters.h:168
Converter that will convert to/from DtRwKeyValueList.
Definition: scriptedTaskVariableConverters.h:480
Converters myConverters
Definition: scriptedTaskVariableConverters.h:89
Converter that will convert to/from DtRwNLengthUUIDVector.
Definition: scriptedTaskVariableConverters.h:426
Converter that will convert to/from DtVertexList.
Definition: scriptedTaskVariableConverters.h:331
Converter that will convert to/from DtRwInt.
Definition: scriptedTaskVariableConverters.h:93
Converter that will convert to/from DtRwReal for range formatting.
Definition: scriptedTaskVariableConverters.h:200
Converter that will convert to/from DtRwIntegerAttributeList.
Definition: scriptedTaskVariableConverters.h:498
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:130
class DtVertexList:
Definition: vertexList.h:22
Converter that will convert to/from DtRwOffsetVector.
Definition: scriptedTaskVariableConverters.h:360
Converter that will convert to/from DtRwReal for altitide rate formatting.
Definition: scriptedTaskVariableConverters.h:184
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:192
class DtRwOffsetVectorList:
Definition: rwVectorList.h:63
A class for keeping track of meta data for variables of scripted tasks.
Definition: scriptedTaskVariable.h:31
virtual DtString stringRep(const DtReaderWriter *) const
Returns string representation.
Converter that will convert to/from DtRwTaitBryan.
Definition: scriptedTaskVariableConverters.h:393
Converter that will convert to/from DtRwBoolean.
Definition: scriptedTaskVariableConverters.h:231
Converter that will convert to/from DtRwForceType.
Definition: scriptedTaskVariableConverters.h:246
virtual DtString stringRep(const DtReaderWriter *) const
Returns string representation.
Converter that will convert to/from DtRwEntityType.
Definition: scriptedTaskVariableConverters.h:261
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:88
DtRwNLengthUUIDVector is a named, readable/writable vector of DtUUIDs.
Definition: rwNLengthUUIDVector.h:30
class DtRwRealAttributeList:
Definition: rwRealAttributeList.h:29
Converter that will convert to/from DtRwReal for datetime formatting.
Definition: scriptedTaskVariableConverters.h:208
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:411
virtual DtString stringRep(const DtReaderWriter *) const
Returns string representation.
Converter that will convert to/from DtRwRealAttributeList.
Definition: scriptedTaskVariableConverters.h:534
Converter that will convert to/from DtRwStringAttributeList.
Definition: scriptedTaskVariableConverters.h:516
Converter that will convert to/from DtRWSphere.
Definition: scriptedTaskVariableConverters.h:294
Converter that will convert to/from DtRwString.
Definition: scriptedTaskVariableConverters.h:216
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:176
Converter that will convert to/from DtVertexList.
Definition: scriptedTaskVariableConverters.h:312
Converter that will convert to/from DtRwColor.
Definition: scriptedTaskVariableConverters.h:138