1.00.3
C++ Standard Airline IT Object Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
BasChronometer.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BAS_BASCHRONOMETER_HPP
2
#define __STDAIR_BAS_BASCHRONOMETER_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// Boost (STL Extension)
8
// Boost Date-Time (http://boost.org/doc/html/date_time/posix_time.html)
9
#include <boost/date_time/posix_time/posix_time.hpp>
10
11
namespace
stdair
{
12
14
struct
BasChronometer
{
16
BasChronometer
();
17
21
void
start
();
22
24
std::string
getStart
()
const
{
25
return
boost::posix_time::to_simple_string (_startTime);
26
}
27
30
double
elapsed
()
const
;
31
32
private
:
34
boost::posix_time::ptime _startTime;
35
37
bool
_startTimeLaunched;
38
};
39
40
}
41
#endif // __STDAIR_BAS_BASCHRONOMETER_HPP
stdair::BasChronometer::start
void start()
Definition:
BasChronometer.cpp:16
stdair
Handle on the StdAir library context.
Definition:
BasChronometer.cpp:9
stdair::BasChronometer
Definition:
BasChronometer.hpp:14
stdair::BasChronometer::getStart
std::string getStart() const
Definition:
BasChronometer.hpp:24
stdair::BasChronometer::BasChronometer
BasChronometer()
Definition:
BasChronometer.cpp:12
stdair::BasChronometer::elapsed
double elapsed() const
Definition:
BasChronometer.cpp:26
Generated for StdAir by
1.8.9.1