Go to the documentation of this file.00001
00008
00009
00010
00011
00012 #ifndef ECL_TIME_TIMESTAMP_WIN_HPP_
00013 #define ECL_TIME_TIMESTAMP_WIN_HPP_
00014
00015
00016
00017
00018
00019 #include <ecl/config.hpp>
00020 #if defined(ECL_IS_WIN32)
00021 #define ECL_HAS_TIMESTAMP
00022
00023
00024
00025
00026
00027 #include <ecl/config/windows.hpp>
00028 #include <ecl/config/macros.hpp>
00029 #include <ecl/config/portable_types.hpp>
00030 #include <ecl/exceptions/standard_exception.hpp>
00031 #include "timestamp_base.hpp"
00032
00033
00034
00035
00036
00037 namespace ecl {
00038
00039
00040
00041
00091 class ECL_PUBLIC TimeStamp : public TimeStampBase {
00092 public:
00093
00094
00095
00105 TimeStamp() ecl_debug_throw_decl(StandardException);
00116 TimeStamp (const double& decimal_time_value) ecl_assert_throw_decl(StandardException);
00127 TimeStamp (const time_t &seconds, const long &nanoseconds) ecl_assert_throw_decl(StandardException);
00137 TimeStamp (const TimeStampBase& base);
00138
00139 virtual ~TimeStamp() {}
00140
00141
00142
00143
00144 using TimeStampBase::stamp;
00151 const TimeStamp& stamp() ecl_debug_throw_decl(StandardException);
00152 };
00153
00154 }
00155
00156 #endif
00157 #endif