3 #ifndef SWIG__COMMON__NDS_AVAILABLILITY_HH
4 #define SWIG__COMMON__NDS_AVAILABLILITY_HH
13 #include "nds_export.hh"
14 #include "nds_channel.hh"
15 #include "nds_buffer.hh"
19 inline namespace abi_0
39 DLL_EXPORT segment( );
41 DLL_EXPORT segment( NDS::buffer::gps_second_type gps_start,
42 NDS::buffer::gps_second_type gps_stop );
44 DLL_EXPORT segment( std::string frame_type,
45 NDS::buffer::gps_second_type gps_start,
46 NDS::buffer::gps_second_type gps_stop );
48 std::string frame_type;
49 NDS::buffer::gps_second_type
51 NDS::buffer::gps_second_type
60 typedef NDS::buffer::gps_second_type gps_second_type;
62 DLL_EXPORT simple_segment( );
64 DLL_EXPORT simple_segment(
const simple_segment& other );
66 DLL_EXPORT simple_segment( gps_second_type start,
67 gps_second_type stop );
69 DLL_EXPORT simple_segment& operator=(
const simple_segment& other );
71 gps_second_type gps_start;
72 gps_second_type gps_stop;
79 class simple_segment_list_type :
public std::vector< simple_segment >
87 class simple_availability_list_type
88 :
public std::vector< simple_segment_list_type >
97 class segment_list_type :
public std::vector< segment >
114 segment_list_type data;
120 DLL_EXPORT simple_segment_list_type simple_list( )
const;
126 class availability_list_type :
public std::vector< availability >
129 DLL_EXPORT simple_availability_list_type simple_list( )
const;
132 DLL_EXPORT
extern std::ostream& operator<<( std::ostream& os,
133 const segment& obj );
135 DLL_EXPORT std::ostream& operator<<( std::ostream& os,
136 const simple_segment& obj );
138 DLL_EXPORT
extern std::ostream&
139 operator<<( std::ostream& os,
const simple_segment_list_type& obj );
141 DLL_EXPORT
extern std::ostream&
142 operator<<( std::ostream& os,
143 const simple_availability_list_type& obj );
145 DLL_EXPORT
extern std::ostream&
146 operator<<( std::ostream& os,
const segment_list_type& obj );
148 DLL_EXPORT
extern std::ostream& operator<<( std::ostream& os,
149 const availability& obj );
151 DLL_EXPORT
extern std::ostream&
152 operator<<( std::ostream& os,
const availability_list_type& obj );