VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ceSimDateTime.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/simCondExpr.h"
12 #include "vrfutil/vrfutilDefines.h"
13 #include "vrfutil/rwInt.h"
14 
15 const char DtCeSimDateTimeTypeName[] = "SimDateTime";
16 
24 {
25 public:
26 
29 
31  DtCeSimDateTime(DtReaderWriterRegistry* parentRegistry);
32 
34  DtCeSimDateTime(const DtCeSimDateTime& orig,
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
38  virtual ~DtCeSimDateTime();
39 
42 
44  virtual DtSimCondExpr* clone(
45  DtReaderWriterRegistry* parentRegistry = NULL);
46 
48  virtual int type() const;
49 
51  virtual void setDateTime(time_t time);
52  virtual time_t dateTime() const;
53 
63  virtual DtString stringRep(int subExprIndex = DtSR_EXPR) const;
64 
67  virtual int netRepSize() const;
68 
70  virtual bool setFromNet(const char* contentBuffer,
71  unsigned contentSize);
72 
75  virtual bool setToNet();
76 
77  static DtSimCondExpr * creator();
78 
79 protected:
81 };

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)