Filter Library Camera Interface Physics

CIntegerEdit Class Reference
[Numeric Edit Control]

#include <ControlIntegerEdit.h>

Inheritance diagram for CIntegerEdit:

CFilterEdit List of all members.

Detailed Description

Class CIntegerEdit provides the following facilities:

Definition at line 46 of file ControlIntegerEdit.h.

Public Types

typedef int integer
 the integer type

Public Member Functions

Operators
 operator integer () const
 convert to integer.
selfoperator= (integer value)
 assign integer value.
Accessors
integer GetValue () const
 get value.
Mutators
void SetValue (integer value)
 set integer value.
void SetSigned (bool bSigned=true)
 set number to unsigned, signed (default).
void SetUseBase (bool bUseBase=true)
 set number to use base (0, 0x) for conversion.
void SetFormat (const char *format=_T("%d"))
 set the presentation format [%d].

Protected Member Functions

virtual bool Check (const CString &csText)
 true if input is complete and valid.
virtual bool Match (const CString &csText)
 true if partial input is acceptable.

Private Types

typedef CIntegerEdit self
 this type

Private Attributes

bool m_bSigned
 accept signed numbers
bool m_bUseBase
 determina base from leading 0[x]
CString m_csFormat
 display format


The documentation for this class was generated from the following files:
Camera Filter Library documentation © 2004-2007 by Leiden Probe Microscopy