PetaVision  Alpha
PV::LogFileStream< T > Class Template Reference

Public Member Functions

 LogFileStream (std::basic_ostream< T > &st)
 
std::basic_ostream< T > & getStream ()
 
void setStream (char const *path, std::ios_base::openmode mode=std::ios_base::out)
 
void setStream (std::basic_ostream< T > *stream)
 
void setStreamDefault ()
 

Private Attributes

bool mCreatedWithNew = false
 
std::basic_ostream< T > & mDefaultStream
 
std::basic_ostream< T > * mStream = nullptr
 

Detailed Description

template<typename T>
class PV::LogFileStream< T >

Definition at line 13 of file PVLog.cpp.


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