Psi4
Public Member Functions | Private Attributes | List of all members
psi::PsiOutStream Class Reference

#include <PsiOutStream.h>

Public Member Functions

 PsiOutStream (std::string fname="", std::ios_base::openmode mode=std::ostream::trunc)
 
 ~PsiOutStream ()
 
void Printf (const char *fmt,...)
 
void Printf (std::string fp)
 
void MakeBanner (std::string header)
 
std::ostream * stream ()
 

Private Attributes

std::ostream * stream_
 
bool is_cout_
 
std::vector< char > buffer_
 

Constructor & Destructor Documentation

psi::PsiOutStream::PsiOutStream ( std::string  fname = "",
std::ios_base::openmode  mode = std::ostream::trunc 
)
psi::PsiOutStream::~PsiOutStream ( )

Member Function Documentation

void psi::PsiOutStream::MakeBanner ( std::string  header)
void psi::PsiOutStream::Printf ( const char *  fmt,
  ... 
)
void psi::PsiOutStream::Printf ( std::string  fp)
std::ostream* psi::PsiOutStream::stream ( )
inline

Member Data Documentation

std::vector<char> psi::PsiOutStream::buffer_
private
bool psi::PsiOutStream::is_cout_
private
std::ostream* psi::PsiOutStream::stream_
private

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