Rosetta
Namespaces | Functions
stream_util.fwd.hh File Reference

Implemention of ostream operator << for various common types, forward declarations. More...

#include <utility/type_traits/has_insertion_operator.fwd.hh>
#include <utility/vectorL.fwd.hh>
#include <utility/vector1.fwd.hh>
#include <vector>
#include <list>
#include <map>
#include <set>
#include <utility>
#include <type_traits>

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 0.
 

Functions

template<typename T1 , typename T2 , typename std::enable_if< utility::type_traits::has_insertion_operator_s< T1 >::value &&utility::type_traits::has_insertion_operator_s< T2 >::value >::type * = nullptr>
std::ostream & std::operator<< (std::ostream &os, std::map< T1, T2 > const &m)
 Output function for std::map object. More...
 
template<typename T , typename std::enable_if< utility::type_traits::has_insertion_operator_s< T >::value >::type * = nullptr>
std::ostream & std::operator<< (std::ostream &os, std::list< T > const &l)
 Output function for std::list object. More...
 
template<typename T , typename std::enable_if< utility::type_traits::has_insertion_operator_s< T >::value >::type * = nullptr>
std::ostream & std::operator<< (std::ostream &os, std::set< T > const &s)
 Output function for std::set object. More...
 
template<typename T1 , typename T2 , typename std::enable_if< utility::type_traits::has_insertion_operator_s< T1 >::value &&utility::type_traits::has_insertion_operator_s< T2 >::value >::type * = nullptr>
std::ostream & std::operator<< (std::ostream &os, std::pair< T1, T2 > const &v)
 Output function for std::pair object. More...
 
template<class T , typename std::enable_if< utility::type_traits::has_insertion_operator_s< T >::value >::type * = nullptr>
std::ostream & std::operator<< (std::ostream &os, std::vector< T > const &v)
 Output function for std::vector object. More...
 
template<platform::SSize L, class T , typename std::enable_if< utility::type_traits::has_insertion_operator_s< T >::value >::type * = nullptr>
std::ostream & utility::operator<< (std::ostream &os, utility::vectorL< L, T > const &v)
 Output function for utility::vectorL object. More...
 

Detailed Description

Implemention of ostream operator << for various common types, forward declarations.

Author
Sergey Lyskov

Function Documentation

◆ operator<<() [1/5]

template<typename T , typename std::enable_if< utility::type_traits::has_insertion_operator_s< T >::value >::type * = nullptr>
std::ostream & std::operator<< ( std::ostream &  os,
std::list< T > const &  l 
)

Output function for std::list object.

References extract_by_sidechain_sasa_score::l, and kmeans_adaptive_kernel_density_bb_dependent_rotlib::p.

◆ operator<<() [2/5]

template<typename T1 , typename T2 , typename std::enable_if< utility::type_traits::has_insertion_operator_s< T1 >::value &&utility::type_traits::has_insertion_operator_s< T2 >::value >::type * = nullptr>
std::ostream & std::operator<< ( std::ostream &  os,
std::map< T1, T2 > const &  m 
)

◆ operator<<() [3/5]

template<typename T1 , typename T2 , typename std::enable_if< utility::type_traits::has_insertion_operator_s< T1 >::value &&utility::type_traits::has_insertion_operator_s< T2 >::value >::type * = nullptr>
std::ostream & std::operator<< ( std::ostream &  os,
std::pair< T1, T2 > const &  v 
)

Output function for std::pair object.

References kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.

◆ operator<<() [4/5]

template<typename T , typename std::enable_if< utility::type_traits::has_insertion_operator_s< T >::value >::type * = nullptr>
std::ostream& std::operator<< ( std::ostream &  os,
std::set< T > const &  s 
)

Output function for std::set object.

◆ operator<<() [5/5]

template<class T , typename std::enable_if< utility::type_traits::has_insertion_operator_s< T >::value >::type * = nullptr>
std::ostream& std::operator<< ( std::ostream &  os,
std::vector< T > const &  v 
)

Output function for std::vector object.