Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_KeyInputFilter_Numeric Class Reference

Inheritance diagram for CP_KeyInputFilter_Numeric:

CP_KeyInputFilter CP_M_RefCounted List of all members.

Public Member Functions

Constructor / Destructor
 CP_KeyInputFilter_Numeric ()
 Constructor.
virtual ~CP_KeyInputFilter_Numeric ()
 Destructor.
Validation
virtual CP_CharStatus IsKeyValid (char inChar)
Validation
virtual CP_CharStatus IsKeyValid (const CPUniChar *inChar, UInt32 inDataLength)

Detailed Description

A CP_KeyInputFilter class to allow numeric keystrokes.


Constructor & Destructor Documentation

CP_KeyInputFilter_Numeric::CP_KeyInputFilter_Numeric  ) 
 

Constructor.

Exceptions:
none 

CP_KeyInputFilter_Numeric::~CP_KeyInputFilter_Numeric  )  [virtual]
 

Destructor.

Exceptions:
none 


Member Function Documentation

CP_CharStatus CP_KeyInputFilter_Numeric::IsKeyValid char  inChar  )  [virtual]
 

Test the inChar character to see if it is allowed.

Parameters:
inChar The character to test.
Exceptions:
bool Return true if the passed in character is a valid.

Implements CP_KeyInputFilter.

CP_CharStatus CP_KeyInputFilter_Numeric::IsKeyValid const CPUniChar inChar,
UInt32  inDataLength
[virtual]
 

Test the inChar character to see if it is allowed.

Parameters:
inChar The character to test.
Exceptions:
bool Return true if the passed in character is a valid.

Reimplemented from CP_KeyInputFilter.

bool CP_KeyInputFilter::IsADeleteKey char  inChar  )  [protected, inherited]
 

Return true if the passed in inChar is a delete key (backspace).

Parameters:
inChar The character to test.
Exceptions:
bool Return true if the passed in character is a delete key.

bool CP_KeyInputFilter::IsACursorKey char  inChar  )  [protected, inherited]
 

Return true if our inChar is one of our cursor keys. i.e. left, right, up and down editing arrows.

Parameters:
inChar The character to test.
Exceptions:
bool Return true if the passed in character is a cursor key.

bool CP_KeyInputFilter::IsAScrollKey char  inChar  )  [protected, inherited]
 

Return true if our inChar is one of our scroling keys. i.e. page up, page down, home or end.

Parameters:
inChar The character to test.
Exceptions:
bool Return true if the passed in character is a scroll key.

UInt32 CP_M_RefCounted::AddReference  )  const [inherited]
 

Add a reference to our object, returning the new reference count.

Exceptions:
none 
Returns:
UInt32 const Returns the new reference count.

UInt32 CP_M_RefCounted::RemoveReference  )  const [inherited]
 

Remove a reference to our object, returning the new reference count. If the count is 0, then this object is also deleted, and 0 is returned.

Exceptions:
none 
Returns:
UInt32 const Returns the new reference count.

void CP_M_RefCounted::Autorelease  )  const [inherited]
 

Add the object to the topmost auto-release pool. This will ensure that the object is eventually released.

See also:
CP_AutoReleasePool
Exceptions:
none 
Returns:
void

UInt32 CP_M_RefCounted::GetRefCount  )  const [inherited]
 

Returns the current ref count.

Exceptions:
none 
Returns:
UInt32 The current referencce count.


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:01:47 2005 for CPLAT by  doxygen 1.4.0