Rosetta
Namespaces | Functions
stream_util.hh File Reference

Implemention of ostream operator << for various common types. More...

#include <utility/stream_util.fwd.hh>
#include <utility/type_traits/has_insertion_operator.hh>
#include <utility/vectorL.hh>
#include <utility/fixedsizearray1.fwd.hh>
#include <ostream>

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<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...
 
template<class T , platform::Size S>
std::ostream & utility::operator<< (std::ostream &os, utility::fixedsizearray1< T, S > const &v)
 Output function for utility::fixedsizearray0 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<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...
 

Detailed Description

Implemention of ostream operator << for various common types.

Author
Sergey Lyskov

Function Documentation

◆ operator<<() [1/3]

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/3]

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/3]

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.