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

Search Toolkit Book for CValidError_CI

#include <objects/valerr/ValidError.hpp>

+ Collaboration diagram for CValidError_CI:

Public Member Functions

 CValidError_CI ()
 
 CValidError_CI (const CValidError &ve, const string &errcode=kEmptyStr, EDiagSev minsev=eDiagSevMin, EDiagSev maxsev=eDiagSevMax)
 
 CValidError_CI (const CValidError_CI &iter)
 
virtual ~CValidError_CI ()
 
CValidError_CIoperator= (const CValidError_CI &iter)
 
CValidError_CIoperator++ ()
 
bool IsValid () const
 
 DECLARE_OPERATOR_BOOL (IsValid())
 
const CValidErrItemoperator* () const
 
const CValidErrItemoperator-> () const
 

Private Member Functions

bool Filter (const CValidErrItem &item) const
 
bool AtEnd () const
 
void Next ()
 

Private Attributes

CConstRef< CValidErrorm_Validator
 
CValidError::TErrs::const_iterator m_Current
 
string m_ErrCodeFilter
 
EDiagSev m_MinSeverity
 
EDiagSev m_MaxSeverity
 

Detailed Description

Definition at line 145 of file ValidError.hpp.

Constructor & Destructor Documentation

◆ CValidError_CI() [1/3]

CValidError_CI::CValidError_CI ( void  )

Definition at line 209 of file ValidError.cpp.

◆ CValidError_CI() [2/3]

CValidError_CI::CValidError_CI ( const CValidError ve,
const string errcode = kEmptyStr,
EDiagSev  minsev = eDiagSevMin,
EDiagSev  maxsev = eDiagSevMax 
)

Definition at line 218 of file ValidError.cpp.

References Filter(), IsValid(), m_Current, and Next().

◆ CValidError_CI() [3/3]

CValidError_CI::CValidError_CI ( const CValidError_CI iter)

Definition at line 235 of file ValidError.cpp.

◆ ~CValidError_CI()

CValidError_CI::~CValidError_CI ( void  )
virtual

Definition at line 243 of file ValidError.cpp.

Member Function Documentation

◆ AtEnd()

bool CValidError_CI::AtEnd ( void  ) const
private

Definition at line 312 of file ValidError.cpp.

References CValidError_Base::GetErrs(), m_Current, and m_Validator.

Referenced by Next().

◆ DECLARE_OPERATOR_BOOL()

CValidError_CI::DECLARE_OPERATOR_BOOL ( IsValid()  )

◆ Filter()

bool CValidError_CI::Filter ( const CValidErrItem item) const
private

◆ IsValid()

bool CValidError_CI::IsValid ( void  ) const

Definition at line 270 of file ValidError.cpp.

References CValidError_Base::GetErrs(), m_Current, and m_Validator.

Referenced by CValidError_CI().

◆ Next()

void CValidError_CI::Next ( void  )
private

Definition at line 300 of file ValidError.cpp.

References AtEnd(), Filter(), and m_Current.

Referenced by CValidError_CI(), and operator++().

◆ operator*()

const CValidErrItem & CValidError_CI::operator* ( void  ) const

Definition at line 276 of file ValidError.cpp.

References m_Current.

◆ operator++()

CValidError_CI & CValidError_CI::operator++ ( void  )

Definition at line 263 of file ValidError.cpp.

References Next().

◆ operator->()

const CValidErrItem * CValidError_CI::operator-> ( void  ) const

Definition at line 282 of file ValidError.cpp.

◆ operator=()

CValidError_CI & CValidError_CI::operator= ( const CValidError_CI iter)

Definition at line 248 of file ValidError.cpp.

References m_Current, m_ErrCodeFilter, m_MaxSeverity, m_MinSeverity, and m_Validator.

Member Data Documentation

◆ m_Current

CValidError::TErrs::const_iterator CValidError_CI::m_Current
private

Definition at line 172 of file ValidError.hpp.

Referenced by AtEnd(), CValidError_CI(), IsValid(), Next(), operator*(), and operator=().

◆ m_ErrCodeFilter

string CValidError_CI::m_ErrCodeFilter
private

Definition at line 175 of file ValidError.hpp.

Referenced by Filter(), and operator=().

◆ m_MaxSeverity

EDiagSev CValidError_CI::m_MaxSeverity
private

Definition at line 177 of file ValidError.hpp.

Referenced by Filter(), and operator=().

◆ m_MinSeverity

EDiagSev CValidError_CI::m_MinSeverity
private

Definition at line 176 of file ValidError.hpp.

Referenced by Filter(), and operator=().

◆ m_Validator

CConstRef<CValidError> CValidError_CI::m_Validator
private

Definition at line 171 of file ValidError.hpp.

Referenced by AtEnd(), IsValid(), and operator=().


The documentation for this class was generated from the following files:
Modified on Fri Jan 05 07:24:02 2024 by modify_doxy.py rev. 669887