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

Search Toolkit Book for CNumberOrBlankValidator

#include <gui/widgets/wx/number_validator.hpp>

+ Inheritance diagram for CNumberOrBlankValidator:
+ Collaboration diagram for CNumberOrBlankValidator:

Public Member Functions

 CNumberOrBlankValidator (long *val_ptr, long minVal=numeric_limits< long >::min(), long maxVal=numeric_limits< long >::max(), const char *szErrMsg=0)
 
 CNumberOrBlankValidator (const CNumberOrBlankValidator &val)
 
virtual ~CNumberOrBlankValidator ()
 
virtual wxObject * Clone () const
 
virtual bool Validate (wxWindow *parent)
 
virtual bool TransferToWindow ()
 
- Public Member Functions inherited from CNumberValidator
 CNumberValidator (long *val_ptr, long minVal=numeric_limits< long >::min(), long maxVal=numeric_limits< long >::max(), const char *szErrMsg=0)
 
 CNumberValidator (const CNumberValidator &val)
 
virtual ~CNumberValidator ()
 
bool Copy (const CNumberValidator &val)
 
virtual bool TransferFromWindow ()
 

Private Member Functions

CNumberValidatoroperator= (const CNumberValidator &)
 

Additional Inherited Members

- Protected Member Functions inherited from CNumberValidator
bool CheckValidator () const
 
- Protected Attributes inherited from CNumberValidator
long * m_ValPtr
 
long m_MinVal
 
long m_MaxVal
 
wxString m_ErrMsg
 

Detailed Description

Definition at line 82 of file number_validator.hpp.

Constructor & Destructor Documentation

◆ CNumberOrBlankValidator() [1/2]

CNumberOrBlankValidator::CNumberOrBlankValidator ( long *  val_ptr,
long  minVal = numeric_limits<long>::min(),
long  maxVal = numeric_limits<long>::max(),
const char *  szErrMsg = 0 
)

Definition at line 162 of file number_validator.cpp.

Referenced by Clone().

◆ CNumberOrBlankValidator() [2/2]

CNumberOrBlankValidator::CNumberOrBlankValidator ( const CNumberOrBlankValidator val)

Definition at line 169 of file number_validator.cpp.

References val.

◆ ~CNumberOrBlankValidator()

virtual CNumberOrBlankValidator::~CNumberOrBlankValidator ( )
inlinevirtual

Definition at line 90 of file number_validator.hpp.

Member Function Documentation

◆ Clone()

virtual wxObject* CNumberOrBlankValidator::Clone ( void  ) const
inlinevirtual

Reimplemented from CNumberValidator.

Definition at line 95 of file number_validator.hpp.

References CNumberOrBlankValidator().

◆ operator=()

CNumberValidator& CNumberOrBlankValidator::operator= ( const CNumberValidator )
private

◆ TransferToWindow()

bool CNumberOrBlankValidator::TransferToWindow ( void  )
virtual

Reimplemented from CNumberValidator.

Definition at line 176 of file number_validator.cpp.

References CNumberValidator::CheckValidator(), CNumberValidator::m_ValPtr, and wxT.

◆ Validate()

bool CNumberOrBlankValidator::Validate ( wxWindow *  parent)
virtual

The documentation for this class was generated from the following files:
Modified on Wed Apr 24 14:11:16 2024 by modify_doxy.py rev. 669887