|
std::ostream & | dout () |
|
bool | gaps_equivalent_pred (const simple_segment &e1, const simple_segment &e2) |
|
bool | gaps_equivalent (const simple_segment_list_type &l1, const simple_segment_list_type &l2) |
|
std::string | filter_trend_from_string (const std::string &input) |
|
channel | strip_trend_from_name (const channel &chan) |
|
bool | channel_type_less_than (const channel *c1, const channel *c2) |
|
bool | channel_type_equal (const channel *c1, const channel *c2) |
|
std::string | err_msg_malformed_channel (const std::string &name) |
|
std::string | err_msg_lookup_failure (const std::string &name, NDS::connection::protocol_type protocol) |
|
template<typename It > |
std::string | err_msg_lookup_ambigous (const std::string &name, It dup_begin, It dup_end) |
|
simple_availability_list_type | get_availabilty (conn_p_type &conn_p, buffer::gps_second_type gps_start, buffer::gps_second_type gps_stop, const connection::channel_names_type channel_names) |
|
template<class InputIterator1 , class InputIterator2 , class Function > |
Function | for_each2 (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, Function fn) |
| Apply a given function to all elements of two iteratables.
|
|
template<class InputIterator1 , class InputIterator2 , class InputIterator3 , class Function > |
Function | for_each3 (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator3 first3, Function fn) |
| Apply a given function to all elements of three iteratables.
|
|
NDS::simple_segment_list_type | simplify_availability_intl_cb (const NDS::availability &avail) |
|
channel | create_channel (const chan_req_t &Source) |
|
bool | availability_comp_intl (segment_list_type::value_type a, segment_list_type::value_type b) |
|
void | simplify_availability_intl (const availability &avail, simple_segment_list_type &output) |
|
void | simplify_availability_list_intl (const availability_list_type &avails, simple_availability_list_type &output) |
|
bool | is_numeric_substring (const std::string &ch, std::string::size_type start, std::string::size_type end) |
|
std::string | strip_rate_from_channel_name (const std::string &ch) |
|
template<typename T , typename... Ts> |
std::unique_ptr< T > | make_unique (Ts &&... params) |
|
bool | str_to_bool (const std::string &input, bool &dest) |
| Given a std::string extract a boolean value.
|
|
template<typename iter > |
void | split (iter first, iter last, char delim, std::vector< std::string > &dest) |
|
void | split (const std::string &inp, char delim, std::vector< std::string > &dest) |
|
std::vector< std::string > | split (const std::string &inp, char delim) |
|
template<typename T , typename... Ts>
std::unique_ptr< T > NDS::detail::make_unique |
( |
Ts &&... |
params | ) |
|
A make_unique<> for C++11. Taken from "Effective Modern C++ by Scott Meyers (O'Reilly).
Copyright 2015 Scott Meyers, 978-1-491-90399-5"
Permission given in the book to reuse code segments.
- Template Parameters
-
T | The type of the object to be managed by the unique_ptr |
Ts | The type of the arguments to T's constructor |
- Parameters
-
params | The arguments to forward to the constructor |
- Returns
- a std::unique_ptr<T>