VR-Forces 4.1 Class Documentation
rwClockTime.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: rwClockTime.h,v $ $Revision: 1.7 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtRwClockTime_H_
13 #define DtRwClockTime_H_
14 
15 #include "vrfutil/rdrWritr.h"
16 
20 
21 #include "vrfutil/vrfutilDefines.h"
23 {
24 public:
25 
27  DtRwClockTime();
28 
30  DtRwClockTime(const DtString& name,
31  DtReaderWriterRegistry* const parentRegistry = NULL);
32 
33  DtRwClockTime(const DtSymbolString& name,
34  DtReaderWriterRegistry* const parentRegistry = NULL);
35 
37  DtRwClockTime(const DtString& name, int days, int hours, int minutes,
38  double seconds, DtReaderWriterRegistry* const parentRegistry = NULL);
39 
40  DtRwClockTime(const DtSymbolString& name, int days, int hours, int minutes,
41  double seconds, DtReaderWriterRegistry* const parentRegistry = NULL);
42 
44  virtual ~DtRwClockTime();
45 
47  DtRwClockTime(const DtRwClockTime& orig);
48 
51 
53  virtual void setDays(int days);
54  virtual int days() const;
55 
57  virtual void setHours(int hours);
58  virtual int hours() const;
59 
61  virtual void setMinutes(int minutes);
62  virtual int minutes() const;
63 
65  virtual void setSeconds(double seconds);
66  virtual double seconds() const;
67 
70  virtual double timeInSeconds() const;
71 
72  virtual void putData(FILE* fp, int indentLevel = 0);
73  virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
74  const DtVariableBindingsList& variableBindings);
75 
79  virtual const char* readerWriterType() const;
80 
81 protected:
82 
83  int myDays;
84  int myHours;
85  int myMinutes;
86  double mySeconds;
87 };
88 
89 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)