NCBI C++ ToolKit
|
Search Toolkit Book for CTmpStreamGuard
Public Member Functions | |
CTmpStreamGuard (const string &tmp_dir, const string &name, CNcbiOstream &orig_stream, bool cache_std_out_err) | |
~CTmpStreamGuard () | |
CNcbiOstream & | GetOStream () |
void | Close () |
Private Attributes | |
CNcbiOstream & | m_OrigStream |
unique_ptr< CFileReaderWriter > | m_ReaderWriter |
unique_ptr< CNcbiOstream > | m_StreamGuard |
CNcbiOstream * | m_Stream |
string | m_Name |
Definition at line 824 of file exec_helpers.cpp.
|
inline |
Definition at line 827 of file exec_helpers.cpp.
References CFileIO_Base::eCreate, ERR_POST, CDirEntry::GetPathSeparator(), m_Name, m_OrigStream, m_ReaderWriter, m_Stream, m_StreamGuard, and CException::what().
|
inline |
Definition at line 861 of file exec_helpers.cpp.
|
inline |
Definition at line 874 of file exec_helpers.cpp.
References CFileIO_Base::eBegin, ERR_POST, m_Name, m_OrigStream, m_ReaderWriter, m_StreamGuard, and NcbiStreamCopy().
Referenced by CRemoteAppLauncher::ExecRemoteApp(), and ~CTmpStreamGuard().
|
inline |
Definition at line 872 of file exec_helpers.cpp.
References m_Stream.
Referenced by CRemoteAppLauncher::ExecRemoteApp().
|
private |
Definition at line 895 of file exec_helpers.cpp.
Referenced by Close(), CTmpStreamGuard(), and ~CTmpStreamGuard().
|
private |
Definition at line 891 of file exec_helpers.cpp.
Referenced by Close(), and CTmpStreamGuard().
|
private |
Definition at line 892 of file exec_helpers.cpp.
Referenced by Close(), and CTmpStreamGuard().
|
private |
Definition at line 894 of file exec_helpers.cpp.
Referenced by CTmpStreamGuard(), and GetOStream().
|
private |
Definition at line 893 of file exec_helpers.cpp.
Referenced by Close(), and CTmpStreamGuard().