VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtScriptedTaskRwIntTimeVariableConverter Class Reference

Converter that will convert to/from DtRwInt for time.

Inheritance diagram for DtScriptedTaskRwIntTimeVariableConverter:
Inheritance graph
[legend]

Public Member Functions

virtual DtString stringRep (const DtReaderWriter *) const override
 
virtual DtReaderWritertoRwPtr (const DtScriptedTaskVariable &) const override
 
virtual void parseTime (const std::string &s, int &days, int &hours, int &minutes, int &seconds) const
 
- Public Member Functions inherited from DtScriptedTaskRwIntVariableConverter
virtual std::string fromRwPtr (const DtReaderWriter *) const override
 
- Public Member Functions inherited from DtScriptedTaskVariableConverter
virtual bool upgradeFromVariable (DtReaderWriter *toUpgradeTo, const DtReaderWriter *originalValue) const
 
virtual void upgradeVariable (DtReaderWriter *) const
 

Additional Inherited Members

- Public Types inherited from DtScriptedTaskVariableConverter
typedef DtString(* ResourceFormatterFcn )(const DtEntityType &)
 
- Static Public Member Functions inherited from DtScriptedTaskVariableConverter
static DtString formatOffset (const DtVector &loc)
 
static DtString formatTime (int time)
 
static DtString formatDateTime (time_t time)
 
static DtString formatLocation (const DtVector &loc)
 
static DtString formatSphere (const DtSphere &loc)
 
static DtString formatDistance (double d)
 
static DtString formatHeading (double d)
 
static DtString formatRate (double d)
 
static DtString formatAltitudeRate (double d)
 
static DtString formatTurnRate (double d)
 
static DtString formatAltitude (double d)
 
static ResourceFormatterFcn SetResourceFormatterFcn (ResourceFormatterFcn)
 
static DtString formatResource (const DtEntityType &)
 
static DtString formatResource (const std::string &)
 

Member Function Documentation

virtual DtString DtScriptedTaskRwIntTimeVariableConverter::stringRep ( const DtReaderWriter ) const
overridevirtual

Returns string representation.

Reimplemented from DtScriptedTaskRwIntVariableConverter.

virtual DtReaderWriter* DtScriptedTaskRwIntTimeVariableConverter::toRwPtr ( const DtScriptedTaskVariable ) const
overridevirtual

Converts from the given scripted task variable to a DtReaderWriter variable that represents it.

Reimplemented from DtScriptedTaskRwIntVariableConverter.

virtual void DtScriptedTaskRwIntTimeVariableConverter::parseTime ( const std::string &  s,
int days,
int hours,
int minutes,
int seconds 
) const
virtual

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)