NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
COutputFileHelper Class Reference

Search Toolkit Book for COutputFileHelper

Public Member Functions

 COutputFileHelper ()
 
FILE * CreateTemporaryFile (const char *output_file_name)
 
void SaveOutputFile ()
 
 ~COutputFileHelper ()
 

Private Attributes

string m_OutputFileName
 
string m_TemporaryFileName
 
FILE * m_OutputStream
 

Detailed Description

Definition at line 1238 of file grid_cli.cpp.

Constructor & Destructor Documentation

◆ COutputFileHelper()

COutputFileHelper::COutputFileHelper ( )
inline

Definition at line 1241 of file grid_cli.cpp.

◆ ~COutputFileHelper()

COutputFileHelper::~COutputFileHelper ( )

Definition at line 1272 of file grid_cli.cpp.

References m_OutputStream, m_TemporaryFileName, NULL, and CDirEntry::Remove().

Member Function Documentation

◆ CreateTemporaryFile()

FILE * COutputFileHelper::CreateTemporaryFile ( const char *  output_file_name)

◆ SaveOutputFile()

void COutputFileHelper::SaveOutputFile ( )

Definition at line 1263 of file grid_cli.cpp.

References m_OutputFileName, m_OutputStream, m_TemporaryFileName, and NULL.

Referenced by CGridCommandLineInterfaceApp::Run().

Member Data Documentation

◆ m_OutputFileName

string COutputFileHelper::m_OutputFileName
private

Definition at line 1247 of file grid_cli.cpp.

Referenced by CreateTemporaryFile(), and SaveOutputFile().

◆ m_OutputStream

FILE* COutputFileHelper::m_OutputStream
private

Definition at line 1249 of file grid_cli.cpp.

Referenced by CreateTemporaryFile(), SaveOutputFile(), and ~COutputFileHelper().

◆ m_TemporaryFileName

string COutputFileHelper::m_TemporaryFileName
private

Definition at line 1248 of file grid_cli.cpp.

Referenced by CreateTemporaryFile(), SaveOutputFile(), and ~COutputFileHelper().


The documentation for this class was generated from the following file:
Modified on Wed Apr 17 13:08:09 2024 by modify_doxy.py rev. 669887