NCBI C++ ToolKit
|
Search Toolkit Book for CNumberValidator
#include <gui/widgets/wx/number_validator.hpp>
Public Member Functions | |
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 () |
virtual wxObject * | Clone () const |
bool | Copy (const CNumberValidator &val) |
virtual bool | Validate (wxWindow *parent) |
virtual bool | TransferToWindow () |
virtual bool | TransferFromWindow () |
Protected Member Functions | |
bool | CheckValidator () const |
Protected Attributes | |
long * | m_ValPtr |
long | m_MinVal |
long | m_MaxVal |
wxString | m_ErrMsg |
Private Member Functions | |
CNumberValidator & | operator= (const CNumberValidator &) |
Definition at line 43 of file number_validator.hpp.
CNumberValidator::CNumberValidator | ( | long * | val_ptr, |
long | minVal = numeric_limits<long>::min() , |
||
long | maxVal = numeric_limits<long>::max() , |
||
const char * | szErrMsg = 0 |
||
) |
CNumberValidator::CNumberValidator | ( | const CNumberValidator & | val | ) |
Definition at line 75 of file number_validator.cpp.
|
inlinevirtual |
Definition at line 51 of file number_validator.hpp.
|
protected |
Definition at line 91 of file number_validator.cpp.
References m_MaxVal, m_MinVal, and wxT.
Referenced by TransferFromWindow(), TransferToWindow(), CNumberOrBlankValidator::TransferToWindow(), Validate(), and CNumberOrBlankValidator::Validate().
|
inlinevirtual |
Reimplemented in CNumberOrBlankValidator.
Definition at line 57 of file number_validator.hpp.
References CNumberValidator().
bool CNumberValidator::Copy | ( | const CNumberValidator & | val | ) |
Definition at line 81 of file number_validator.cpp.
References m_ErrMsg, m_MaxVal, m_MinVal, m_ValPtr, and val.
Referenced by CNumberValidator().
|
private |
|
virtual |
Definition at line 121 of file number_validator.cpp.
References CheckValidator(), and m_ValPtr.
|
virtual |
Reimplemented in CNumberOrBlankValidator.
Definition at line 105 of file number_validator.cpp.
References CheckValidator(), m_ValPtr, and wxT.
|
virtual |
Reimplemented in CNumberOrBlankValidator.
Definition at line 136 of file number_validator.cpp.
References CheckValidator(), m_ErrMsg, m_MaxVal, m_MinVal, val, and wxT.
|
protected |
Definition at line 76 of file number_validator.hpp.
Referenced by CNumberValidator(), Copy(), Validate(), and CNumberOrBlankValidator::Validate().
|
protected |
Definition at line 75 of file number_validator.hpp.
Referenced by CheckValidator(), CNumberValidator(), Copy(), Validate(), and CNumberOrBlankValidator::Validate().
|
protected |
Definition at line 74 of file number_validator.hpp.
Referenced by CheckValidator(), CNumberValidator(), Copy(), Validate(), and CNumberOrBlankValidator::Validate().
|
protected |
Definition at line 73 of file number_validator.hpp.
Referenced by CNumberValidator(), Copy(), TransferFromWindow(), TransferToWindow(), and CNumberOrBlankValidator::TransferToWindow().