MADNESS 0.10.1
Public Member Functions | Public Attributes | List of all members
madness::CCMessenger Struct Reference

#include <CCStructures.h>

Collaboration diagram for madness::CCMessenger:
Collaboration graph
[legend]

Public Member Functions

 CCMessenger (World &world)
 
void debug_output (const std::string &msg) const
 
void operator() (const std::string &msg) const
 
template<class T >
CCMessenger operator<< (const T &t) const
 
void output (const std::string &msg) const
 
void print_warnings () const
 
void section (const std::string &msg) const
 
void subsection (const std::string &msg) const
 
void warning (const std::string &msg) const
 

Public Attributes

bool debug
 
std::ostream & os
 output stream
 
size_t output_prec
 
bool scientific
 
std::vector< std::string > warnings
 collect all warnings that occur to print out at the end of the job
 
Worldworld
 

Constructor & Destructor Documentation

◆ CCMessenger()

madness::CCMessenger::CCMessenger ( World world)
inline

Member Function Documentation

◆ debug_output()

void madness::CCMessenger::debug_output ( const std::string &  msg) const
inline

References debug, and output().

◆ operator()()

void madness::CCMessenger::operator() ( const std::string &  msg) const
inline

References output().

◆ operator<<()

template<class T >
CCMessenger madness::CCMessenger::operator<< ( const T t) const
inline

References os, madness::World::rank(), and world.

◆ output()

void madness::CCMessenger::output ( const std::string &  msg) const

◆ print_warnings()

void madness::CCMessenger::print_warnings ( ) const
inline

◆ section()

void madness::CCMessenger::section ( const std::string &  msg) const

◆ subsection()

void madness::CCMessenger::subsection ( const std::string &  msg) const

◆ warning()

void madness::CCMessenger::warning ( const std::string &  msg) const

Member Data Documentation

◆ debug

bool madness::CCMessenger::debug

◆ os

std::ostream& madness::CCMessenger::os

output stream

Referenced by operator<<().

◆ output_prec

size_t madness::CCMessenger::output_prec

◆ scientific

bool madness::CCMessenger::scientific

Referenced by output().

◆ warnings

std::vector<std::string> madness::CCMessenger::warnings
mutable

collect all warnings that occur to print out at the end of the job

Referenced by print_warnings(), and warning().

◆ world

World& madness::CCMessenger::world

The documentation for this struct was generated from the following files: