ome-common  5.2.0-m2
Namespaces | Typedefs | Functions
time.h File Reference

Time units of measurement. More...

#include <ome/common/config.h>
#include <ome/common/units/types.h>
#include <boost/units/unit.hpp>
#include <boost/units/base_units/metric/minute.hpp>
#include <boost/units/base_units/metric/hour.hpp>
#include <boost/units/base_units/metric/day.hpp>
#include <boost/units/quantity.hpp>
#include <boost/units/systems/si.hpp>
+ Include dependency graph for time.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ome::common
 OME compatibility functions and classes.
 

Typedefs

typedef si::time ome::common::units::time_unit
 Unit definition for time.
 
typedef quantity< si::time > ome::common::units::time_quantity
 Measured quantity (time, seconds).
 
typedef make_scaled_unit< si::time, scale< 10, static_rational<-24 > > >::type ome::common::units::yoctosecond_unit
 Unit definition for yoctosecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational<-21 > > >::type ome::common::units::zeptosecond_unit
 Unit definition for zeptosecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational<-18 > > >::type ome::common::units::attosecond_unit
 Unit definition for attosecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational<-15 > > >::type ome::common::units::femtosecond_unit
 Unit definition for femtosecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational<-12 > > >::type ome::common::units::picosecond_unit
 Unit definition for picosecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< -9 > > >::type ome::common::units::nanosecond_unit
 Unit definition for nanosecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< -6 > > >::type ome::common::units::microsecond_unit
 Unit definition for microsecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< -3 > > >::type ome::common::units::millisecond_unit
 Unit definition for millisecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< -2 > > >::type ome::common::units::centisecond_unit
 Unit definition for centisecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< -1 > > >::type ome::common::units::decisecond_unit
 Unit definition for decisecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 0 > > >::type ome::common::units::second_unit
 Unit definition for second time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 1 > > >::type ome::common::units::dekasecond_unit
 Unit definition for dekasecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 1 > > >::type ome::common::units::decasecond_unit
 Unit definition for decasecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 2 > > >::type ome::common::units::hectosecond_unit
 Unit definition for hectosecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 3 > > >::type ome::common::units::kilosecond_unit
 Unit definition for kilosecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 6 > > >::type ome::common::units::megasecond_unit
 Unit definition for megasecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 9 > > >::type ome::common::units::gigasecond_unit
 Unit definition for gigasecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 12 > > >::type ome::common::units::terasecond_unit
 Unit definition for terasecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 15 > > >::type ome::common::units::petasecond_unit
 Unit definition for petasecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 18 > > >::type ome::common::units::exasecond_unit
 Unit definition for exasecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 21 > > >::type ome::common::units::zettasecond_unit
 Unit definition for zettasecond time.
 
typedef make_scaled_unit< si::time, scale< 10, static_rational< 24 > > >::type ome::common::units::yottasecond_unit
 Unit definition for yottasecond time.
 
typedef quantity< yoctosecond_unit > ome::common::units::yoctosecond_quantity
 Measured quantity in yoctoseconds.
 
typedef quantity< zeptosecond_unit > ome::common::units::zeptosecond_quantity
 Measured quantity in zeptoseconds.
 
typedef quantity< attosecond_unit > ome::common::units::attosecond_quantity
 Measured quantity in attoseconds.
 
typedef quantity< femtosecond_unit > ome::common::units::femtosecond_quantity
 Measured quantity in femtoseconds.
 
typedef quantity< picosecond_unit > ome::common::units::picosecond_quantity
 Measured quantity in picoseconds.
 
typedef quantity< nanosecond_unit > ome::common::units::nanosecond_quantity
 Measured quantity in nanoseconds.
 
typedef quantity< microsecond_unit > ome::common::units::microsecond_quantity
 Measured quantity in microseconds.
 
typedef quantity< millisecond_unit > ome::common::units::millisecond_quantity
 Measured quantity in milliseconds.
 
typedef quantity< centisecond_unit > ome::common::units::centisecond_quantity
 Measured quantity in centiseconds.
 
typedef quantity< decisecond_unit > ome::common::units::decisecond_quantity
 Measured quantity in deciseconds.
 
typedef quantity< second_unit > ome::common::units::second_quantity
 Measured quantity in seconds.
 
typedef quantity< dekasecond_unit > ome::common::units::dekasecond_quantity
 Measured quantity in dekaseconds.
 
typedef quantity< decasecond_unit > ome::common::units::decasecond_quantity
 Measured quantity in decaseconds.
 
typedef quantity< hectosecond_unit > ome::common::units::hectosecond_quantity
 Measured quantity in hectoseconds.
 
typedef quantity< kilosecond_unit > ome::common::units::kilosecond_quantity
 Measured quantity in kiloseconds.
 
typedef quantity< megasecond_unit > ome::common::units::megasecond_quantity
 Measured quantity in megaseconds.
 
typedef quantity< gigasecond_unit > ome::common::units::gigasecond_quantity
 Measured quantity in gigaseconds.
 
typedef quantity< terasecond_unit > ome::common::units::terasecond_quantity
 Measured quantity in teraseconds.
 
typedef quantity< petasecond_unit > ome::common::units::petasecond_quantity
 Measured quantity in petaseconds.
 
typedef quantity< exasecond_unit > ome::common::units::exasecond_quantity
 Measured quantity in exaseconds.
 
typedef quantity< zettasecond_unit > ome::common::units::zettasecond_quantity
 Measured quantity in zettaseconds.
 
typedef quantity< yottasecond_unit > ome::common::units::yottasecond_quantity
 Measured quantity in yottaseconds.
 
typedef boost::units::metric::minute_base_unit::unit_type ome::common::units::minute_unit
 Unit definition for minute time.
 
typedef quantity< minute_unit > ome::common::units::minute_quantity
 Measured quantity in minutes.
 
typedef boost::units::metric::hour_base_unit::unit_type ome::common::units::hour_unit
 Unit definition for hour time.
 
typedef quantity< hour_unit > ome::common::units::hour_quantity
 Measured quantity in hours.
 
typedef boost::units::metric::day_base_unit::unit_type ome::common::units::day_unit
 Unit definition for day time.
 
typedef quantity< day_unit > ome::common::units::day_quantity
 Measured quantity in days.
 

Functions

 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (yoctosecond, yoctosecond_unit)
 Numeric constant for yoctosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (zeptosecond, zeptosecond_unit)
 Numeric constant for zeptosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (attosecond, attosecond_unit)
 Numeric constant for attosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (femtosecond, femtosecond_unit)
 Numeric constant for femtosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (picosecond, picosecond_unit)
 Numeric constant for picosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (nanosecond, nanosecond_unit)
 Numeric constant for nanosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (microsecond, microsecond_unit)
 Numeric constant for microsecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (millisecond, millisecond_unit)
 Numeric constant for millisecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (centisecond, centisecond_unit)
 Numeric constant for centisecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (decisecond, decisecond_unit)
 Numeric constant for decisecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (second, second_unit)
 Numeric constant for second.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (dekasecond, dekasecond_unit)
 Numeric constant for dekasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (decasecond, decasecond_unit)
 Numeric constant for decasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (hectosecond, hectosecond_unit)
 Numeric constant for hectosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (kilosecond, kilosecond_unit)
 Numeric constant for kilosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (megasecond, megasecond_unit)
 Numeric constant for megasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (gigasecond, gigasecond_unit)
 Numeric constant for gigasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (terasecond, terasecond_unit)
 Numeric constant for terasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (petasecond, petasecond_unit)
 Numeric constant for petasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (exasecond, exasecond_unit)
 Numeric constant for exasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (zettasecond, zettasecond_unit)
 Numeric constant for zettasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (yottasecond, yottasecond_unit)
 Numeric constant for yottasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (yoctoseconds, yoctosecond_unit)
 Numeric constant for yoctosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (zeptoseconds, zeptosecond_unit)
 Numeric constant for zeptosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (attoseconds, attosecond_unit)
 Numeric constant for attosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (femtoseconds, femtosecond_unit)
 Numeric constant for femtosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (picoseconds, picosecond_unit)
 Numeric constant for picosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (nanoseconds, nanosecond_unit)
 Numeric constant for nanosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (microseconds, microsecond_unit)
 Numeric constant for microsecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (milliseconds, millisecond_unit)
 Numeric constant for millisecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (centiseconds, centisecond_unit)
 Numeric constant for centisecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (deciseconds, decisecond_unit)
 Numeric constant for decisecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (seconds, second_unit)
 Numeric constant for second.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (dekaseconds, dekasecond_unit)
 Numeric constant for dekasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (decaseconds, decasecond_unit)
 Numeric constant for decasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (hectoseconds, hectosecond_unit)
 Numeric constant for hectosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (kiloseconds, kilosecond_unit)
 Numeric constant for kilosecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (megaseconds, megasecond_unit)
 Numeric constant for megasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (gigaseconds, gigasecond_unit)
 Numeric constant for gigasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (teraseconds, terasecond_unit)
 Numeric constant for terasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (petaseconds, petasecond_unit)
 Numeric constant for petasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (exaseconds, exasecond_unit)
 Numeric constant for exasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (zettaseconds, zettasecond_unit)
 Numeric constant for zettasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (yottaseconds, yottasecond_unit)
 Numeric constant for yottasecond.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (minute, minute_unit)
 Numeric constant for minute.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (minutes, minute_unit)
 Numeric constant for minute.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (hour, hour_unit)
 Numeric constant for hour.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (hours, hour_unit)
 Numeric constant for hour.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (day, day_unit)
 Numeric constant for day.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (days, day_unit)
 Numeric constant for day.
 

Detailed Description

Time units of measurement.

This header contains unit definition types, unit constants and measured quantity types for SI and other standard time units of measurement.