lsst.astshim g545b398f03+0a940c1c1f
|
#include <Stream.h>
Public Member Functions | |
FileStream (std::string const &path, bool doWrite=false) | |
virtual | ~FileStream () |
std::string | getPath () const |
Get the path to the file, as a string. More... | |
![]() | |
Stream (std::istream *istreamPtr, std::ostream *ostreamPtr) | |
Stream () | |
virtual | ~Stream () |
Stream (Stream const &)=default | |
Stream (Stream &&)=default | |
Stream & | operator= (Stream const &)=default |
Stream & | operator= (Stream &&)=default |
bool | hasStdStream () |
char const * | source () |
bool | sink (char const *cstr) |
bool | getIsFits () const |
get isfits More... | |
Additional Inherited Members | |
![]() | |
void | setIsFits (bool isFits) |
set isFits More... | |
![]() | |
std::shared_ptr< std::istream > | _istreamPtr |
input stream More... | |
std::shared_ptr< std::ostream > | _ostreamPtr |
std::string | _sourceStr |
bool | _isFits |
is this a FITS stream? More... | |
File-based source or sink (not both) for channels
|
inlineexplicit |
Construct a FileStream for reading or writing, but not both
[in] | path | Path to file as a string |
[in] | doWrite | If true then write to the file, otherwise read from the file |
|
inlinevirtual |
|
inline |
Get the path to the file, as a string.