timestamp_win.cpp
Go to the documentation of this file.
00001 
00008 /*****************************************************************************
00009 ** Platform Check
00010 *****************************************************************************/
00011 
00012 #include <ecl/config.hpp>
00013 #if defined(ECL_IS_WIN32)
00014 
00015 /*****************************************************************************
00016 ** Includes
00017 *****************************************************************************/
00018 
00019 #include <ecl/config/windows.hpp>
00020 #include <ecl/exceptions/standard_exception.hpp>
00021 #include "../../include/ecl/time/timestamp_win.hpp"
00022 //#include "../../include/ecl/time/detail/time_functions_win.hpp"
00023 
00024 /*****************************************************************************
00025 ** Namespaces
00026 *****************************************************************************/
00027 
00028 namespace ecl {
00029 
00030 /*****************************************************************************
00031 ** Implementation [Constructors]
00032 *****************************************************************************/
00033 
00034 TimeStamp::TimeStamp() ecl_debug_throw_decl(StandardException) {
00035         stamp();
00036 }
00037 
00038 TimeStamp::TimeStamp (const double& decimal_time_value) ecl_assert_throw_decl(StandardException) :
00039         TimeStampBase(decimal_time_value)
00040 {
00041 }
00042 
00043 TimeStamp::TimeStamp (const time_t& seconds, const long& nanoseconds) ecl_assert_throw_decl(StandardException) :
00044         TimeStampBase(seconds, nanoseconds)
00045 {
00046 }
00047 
00048 TimeStamp::TimeStamp(const TimeStampBase& base) : TimeStampBase(base) {}
00049 
00050 /*****************************************************************************
00051 ** Implementation [Stamps]
00052 *****************************************************************************/
00053 
00054 const TimeStamp& TimeStamp::stamp() ecl_debug_throw_decl(StandardException) {
00055     return (*this);
00056 }
00057 
00058 }; // namespace ecl
00059 
00060 #endif /* ECL_IS_WIN32 */


ecl_time
Author(s): Daniel Stonier
autogenerated on Wed Aug 26 2015 11:27:17