LOST  0.0.1
LOST: Open-source Star Tracker
lost::UserSpecifiedOutputStream Class Reference

An output stream which might be a file or stdout. More...

#include <io.hpp>

Public Member Functions

 UserSpecifiedOutputStream (std::string filePath, bool isBinary)
 Create a PromptedOutputStream which will output to the given file. More...
 
 ~UserSpecifiedOutputStream ()
 
std::ostream & Stream ()
 return the inner output stream, suitable for use with << More...
 

Detailed Description

An output stream which might be a file or stdout.

Definition at line 35 of file io.hpp.

Constructor & Destructor Documentation

◆ UserSpecifiedOutputStream()

lost::UserSpecifiedOutputStream::UserSpecifiedOutputStream ( std::string  filePath,
bool  isBinary 
)
explicit

Create a PromptedOutputStream which will output to the given file.

Definition at line 34 of file io.cpp.

◆ ~UserSpecifiedOutputStream()

lost::UserSpecifiedOutputStream::~UserSpecifiedOutputStream ( )

Definition at line 51 of file io.cpp.

Member Function Documentation

◆ Stream()

std::ostream& lost::UserSpecifiedOutputStream::Stream ( )
inline

return the inner output stream, suitable for use with <<

Definition at line 41 of file io.hpp.


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