SIRIUS 7.5.0
Electronic structure library and applications
Classes | Namespaces | Functions
ostream_tools.hpp File Reference

Output stream tools. More...

Go to the source code of this file.

Classes

class  sirius::null_stream_t
 
class  sirius::hbar
 Horisontal bar. More...
 
class  sirius::ffmt
 Floating-point formatting (precision and width). More...
 

Namespaces

module  sirius
 Namespace of the SIRIUS library.
 

Functions

null_stream_t & sirius::null_stream ()
 
std::string sirius::boolstr (bool b__)
 
std::ostream & sirius::operator<< (std::ostream &out, hbar &&b)
 Inject horisontal bar to ostream. More...
 
std::ostream & sirius::operator<< (std::ostream &out, ffmt &&f)
 Inject floating point format to ostream. More...
 
template<typename T >
std::ostream & sirius::operator<< (std::ostream &out, std::vector< T > &v)
 Print std::vector to ostream. More...
 
std::string sirius::double_to_string (double val, int precision=-1)
 Convert double to a string with a given precision. More...
 
template<typename T , typename OUT >
void sirius::print_checksum (std::string label__, T value__, OUT &&out__)
 
template<typename OUT >
void sirius::print_hash (std::string label__, unsigned long long int hash__, OUT &&out__)
 

Detailed Description

Output stream tools.

Definition in file ostream_tools.hpp.