timestamp_win.hpp
Go to the documentation of this file.
00001 
00008 /*****************************************************************************
00009 ** Ifdefs
00010 *****************************************************************************/
00011 
00012 #ifndef ECL_TIME_TIMESTAMP_WIN_HPP_
00013 #define ECL_TIME_TIMESTAMP_WIN_HPP_
00014 
00015 /*****************************************************************************
00016 ** Platform Check
00017 *****************************************************************************/
00018 
00019 #include <ecl/config.hpp>
00020 #if defined(ECL_IS_WIN32)
00021 #define ECL_HAS_TIMESTAMP
00022 
00023 /*****************************************************************************
00024 ** Includes
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 ** Namespaces
00035 *****************************************************************************/
00036 
00037 namespace ecl {
00038 
00039 /*****************************************************************************
00040 ** Interface
00041 *****************************************************************************/
00091 class ecl_time_PUBLIC TimeStamp : public TimeStampBase {
00092 public:
00093         /*********************
00094         ** Constructors
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         ** Stamps
00143         *******************************************/
00144         using TimeStampBase::stamp;
00151         const TimeStamp& stamp() ecl_debug_throw_decl(StandardException);
00152 };
00153 
00154 } // namespace ecl
00155 
00156 #endif /* ECL_IS_WIN32 */
00157 #endif /* ECL_TIME_TIMESTAMP_WIN_HPP_ */


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