VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
rwClockTime.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2013 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfutil/rdrWritr.h
"
12
16
17
#include "
vrfutil/vrfutilDefines.h
"
18
class
DT_DLL_vrfutil
DtRwClockTime
:
public
DtReaderWriter
19
{
20
public
:
21
23
DtRwClockTime
();
24
26
DtRwClockTime
(
const
DtString
& name,
27
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
28
29
DtRwClockTime
(
const
DtSymbolString& name,
30
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
31
33
DtRwClockTime
(
const
DtString
& name,
int
days,
int
hours,
int
minutes,
34
double
seconds,
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
35
36
DtRwClockTime
(
const
DtSymbolString& name,
int
days,
int
hours,
int
minutes,
37
double
seconds,
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
38
40
virtual
~
DtRwClockTime
();
41
43
DtRwClockTime
(
const
DtRwClockTime
& orig);
44
46
DtRwClockTime
&
operator=
(
const
DtRwClockTime
& orig);
47
49
virtual
void
setDays(
int
days);
50
virtual
int
days()
const
;
51
53
virtual
void
setHours(
int
hours);
54
virtual
int
hours()
const
;
55
57
virtual
void
setMinutes(
int
minutes);
58
virtual
int
minutes()
const
;
59
61
virtual
void
setSeconds(
double
seconds);
62
virtual
double
seconds()
const
;
63
66
virtual
double
timeInSeconds()
const
;
67
68
virtual
void
putData
(FILE* fp,
int
indentLevel = 0);
69
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtFilename& searchPath,
70
const
DtVariableBindingsList
& variableBindings);
71
75
virtual
const
char
*
readerWriterType
()
const
;
76
77
bool
operator==
(
const
DtRwClockTime
&)
const
;
78
79
protected
:
80
81
int
myDays
;
82
int
myHours
;
83
int
myMinutes
;
84
double
mySeconds
;
85
};
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)