|
lsst.astshim
22.0.1+01bcf6a671
|
#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... | |
Public Member Functions inherited from ast::Stream | |
| 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 | |
Protected Member Functions inherited from ast::Stream | |
| void | setIsFits (bool isFits) |
| set isFits More... | |
Protected Attributes inherited from ast::Stream | |
| 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.