class DtRwClockTime:
More...
List of all members.
Public Member Functions |
| | DtRwClockTime () |
| | default constructor
|
| | DtRwClockTime (const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL) |
| | real constructor
|
| | DtRwClockTime (const DtSymbolString &name, DtReaderWriterRegistry *const parentRegistry=NULL) |
| | DtRwClockTime (const DtString &name, int days, int hours, int minutes, double seconds, DtReaderWriterRegistry *const parentRegistry=NULL) |
| | real constructor
|
| | DtRwClockTime (const DtSymbolString &name, int days, int hours, int minutes, double seconds, DtReaderWriterRegistry *const parentRegistry=NULL) |
| virtual | ~DtRwClockTime () |
| | destructor
|
| | DtRwClockTime (const DtRwClockTime &orig) |
| | copy constructor
|
| DtRwClockTime & | operator= (const DtRwClockTime &orig) |
| | assignment operator
|
| virtual void | setDays (int days) |
| | Set/get days field.
|
| virtual int | days () const |
| virtual void | setHours (int hours) |
| | Set/get hour field.
|
| virtual int | hours () const |
| virtual void | setMinutes (int minutes) |
| | Set/get minute field.
|
| virtual int | minutes () const |
| virtual void | setSeconds (double seconds) |
| | Set/get seconds field.
|
| virtual double | seconds () const |
| virtual double | timeInSeconds () const |
| | Get overall time in seconds (taking into account days, hours, minutes, and seconds fields).
|
| virtual void | putData (FILE *fp, int indentLevel=0) |
| | Deriving class overrides these to get/put class specific data.
|
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings) |
| virtual const char * | readerWriterType () const |
| | Used to supply a string type that this reader writer type is.
|
Protected Attributes |
| int | myDays |
| int | myHours |
| int | myMinutes |
| double | mySeconds |
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Get overall time in seconds (taking into account days, hours, minutes, and seconds fields).
Deriving class overrides these to get/put class specific data.
Reimplemented from DtReaderWriter.
Used to supply a string type that this reader writer type is.
This can be used in place of dynamic-casting. Also used by the opd editor to determine which type of control to create
Reimplemented from DtReaderWriter.
Member Data Documentation
The documentation for this class was generated from the following file: