Filter Library Camera Interface Physics

CRealEdit Class Reference
[Numeric Edit Control]

#include <ControlRealEdit.h>

Inheritance diagram for CRealEdit:

CFilterEdit List of all members.

Detailed Description

Class CRealEdit provides the following facilities:

Definition at line 43 of file ControlRealEdit.h.

Public Types

typedef double real
 the real number type

Public Member Functions

Operators
 operator real () const
 convert to real type.
selfoperator= (real value)
 assign real value.
Accessors
real GetValue () const
 get real value.
Mutators
void SetValue (real value)
 set real value.
void SetSigned (bool bSigned=true)
 set number to unsigned, signed (default).
void SetFormat (const char *fmt="%g")
 set the presentation format [%g].

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 CRealEdit self
 this type

Private Attributes

bool m_bSigned
 accept signed numbers
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