1 #ifndef SWIG__COMMON__NDS_EPOCH_HH
2 #define SWIG__COMMON__NDS_EPOCH_HH
14 inline namespace abi_0
23 epoch( ) : name(
"" ), gps_start( 0 ), gps_stop( 0 ){};
24 epoch(
const std::string& name )
25 : name( name ), gps_start( 0 ), gps_stop( 0 ){};
27 : name(
"" ), gps_start( start ), gps_stop( stop )
30 epoch(
const std::string& name,
33 : name( name ), gps_start( start ), gps_stop( stop ){};
34 epoch(
const epoch& other ) =
default;
41 operator<<( std::ostream& os,
const epoch& obj )
46 os << obj.gps_start <<
"-" << obj.gps_stop;
56 typedef std::vector< epoch > epochs_type;
59 operator<<( std::ostream& os,
const epochs_type& obj )
62 epochs_type::const_iterator cur = obj.begin( );
63 for ( ; cur != obj.end( ); ++cur )
65 os <<
" " << *cur <<
",";
long gps_second_type
Type second portion of a gps time.
Definition: nds_buffer.hh:33