NCBI C++ ToolKit
Public Member Functions | Protected Attributes | List of all members
CImportMessageHandler Class Reference

Search Toolkit Book for CImportMessageHandler

#include <objtools/import/import_message_handler.hpp>

+ Collaboration diagram for CImportMessageHandler:

Public Member Functions

 CImportMessageHandler ()
virtual ~CImportMessageHandler ()
virtual void ReportError (const CImportError &)
virtual void ReportProgress (const CImportProgress &)
CImportError::ErrorLevel GetWorstErrorLevel () const
void Dump (CNcbiOstream &out)

Protected Attributes

std::vector< CImportErrormErrors
CImportError::ErrorLevel mWorstErrorLevel

Detailed Description

Definition at line 45 of file import_message_handler.hpp.

Constructor & Destructor Documentation

◆ CImportMessageHandler()

CImportMessageHandler::CImportMessageHandler ( )

Definition at line 40 of file import_message_handler.cpp.

◆ ~CImportMessageHandler()

CImportMessageHandler::~CImportMessageHandler ( )

Definition at line 47 of file import_message_handler.cpp.

Member Function Documentation

◆ Dump()

void CImportMessageHandler::Dump ( CNcbiOstream out)

Definition at line 85 of file import_message_handler.cpp.

References mErrors, and out().

Referenced by CFeatImportApp::Run(), and sRunTest().

◆ GetWorstErrorLevel()

CImportError::ErrorLevel CImportMessageHandler::GetWorstErrorLevel ( ) const

Definition at line 61 of file import_message_handler.hpp.

References mWorstErrorLevel.

Referenced by sRunTest().

◆ ReportError()

void CImportMessageHandler::ReportError ( const CImportError error)

◆ ReportProgress()

void CImportMessageHandler::ReportProgress ( const CImportProgress progress)

Definition at line 76 of file import_message_handler.cpp.

References CImportProgress::Serialize().

Referenced by CFeatLineReader::xReportProgress().

Member Data Documentation

◆ mErrors

std::vector<CImportError> CImportMessageHandler::mErrors

Definition at line 67 of file import_message_handler.hpp.

Referenced by Dump(), and ReportError().

◆ mWorstErrorLevel

CImportError::ErrorLevel CImportMessageHandler::mWorstErrorLevel

Definition at line 68 of file import_message_handler.hpp.

Referenced by GetWorstErrorLevel(), and ReportError().

The documentation for this class was generated from the following files:
Modified on Wed Jun 12 11:11:58 2024 by rev. 669887