PageRenderTime 27ms CodeModel.GetById 23ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/date_time/posix_time/posix_time_system.hpp

http://hadesmem.googlecode.com/
C++ Header | 68 lines | 20 code | 41 blank | 7 comment | 0 complexity | a9a0b58dafbd1b6e8978f588dd13776f MD5 | raw file
 1#ifndef POSIX_TIME_SYSTEM_HPP___
 2#define POSIX_TIME_SYSTEM_HPP___
 3
 4/* Copyright (c) 2002,2003 CrystalClear Software, Inc.
 5 * Use, modification and distribution is subject to the 
 6 * Boost Software License, Version 1.0. (See accompanying
 7 * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
 8 * Author: Jeff Garland
 9 * $Date: 2008-02-28 07:00:24 +1100 (Thu, 28 Feb 2008) $
10 */
11
12
13#include "boost/date_time/posix_time/posix_time_config.hpp"
14#include "boost/date_time/time_system_split.hpp"
15#include "boost/date_time/time_system_counted.hpp"
16#include "boost/date_time/compiler_config.hpp"
17
18
19namespace boost {
20namespace posix_time { 
21
22#ifdef BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
23
24#if (defined(BOOST_DATE_TIME_NO_MEMBER_INIT)) //help bad compilers 
25  typedef date_time::split_timedate_system<posix_time_system_config, 1000000000> posix_time_system;
26#else
27  typedef date_time::split_timedate_system<posix_time_system_config> posix_time_system;
28#endif
29
30#else
31
32  typedef date_time::counted_time_rep<millisec_posix_time_system_config> int64_time_rep;
33  typedef date_time::counted_time_system<int64_time_rep> posix_time_system;
34
35#endif
36
37} }//namespace posix_time
38
39
40#endif
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68