timestamp_win.cpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Platform Check
10 *****************************************************************************/
11 
12 #include <ecl/config.hpp>
13 #if defined(ECL_IS_WIN32)
14 
15 /*****************************************************************************
16 ** Includes
17 *****************************************************************************/
18 
19 #include <ecl/config/windows.hpp>
21 #include "../../include/ecl/time/timestamp_win.hpp"
22 //#include "../../include/ecl/time/detail/time_functions_win.hpp"
23 
24 /*****************************************************************************
25 ** Namespaces
26 *****************************************************************************/
27 
28 namespace ecl {
29 
30 /*****************************************************************************
31 ** Implementation [Constructors]
32 *****************************************************************************/
33 
34 TimeStamp::TimeStamp() ecl_debug_throw_decl(StandardException) {
35  stamp();
36 }
37 
38 TimeStamp::TimeStamp (const double& decimal_time_value) ecl_assert_throw_decl(StandardException) :
39  TimeStampBase(decimal_time_value)
40 {
41 }
42 
43 TimeStamp::TimeStamp (const time_t& seconds, const long& nanoseconds) ecl_assert_throw_decl(StandardException) :
44  TimeStampBase(seconds, nanoseconds)
45 {
46 }
47 
48 TimeStamp::TimeStamp(const TimeStampBase& base) : TimeStampBase(base) {}
49 
50 /*****************************************************************************
51 ** Implementation [Stamps]
52 *****************************************************************************/
53 
54 const TimeStamp& TimeStamp::stamp() ecl_debug_throw_decl(StandardException) {
55  return (*this);
56 }
57 
58 }; // namespace ecl
59 
60 #endif /* ECL_IS_WIN32 */
Embedded control libraries.
#define ecl_assert_throw_decl(exception)


ecl_time
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:15