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

CP_KeyInputFilter_UnicodeAlphaNumeric Class Reference

Inheritance diagram for CP_KeyInputFilter_UnicodeAlphaNumeric:

CP_KeyInputFilter CP_M_RefCounted List of all members.

Public Member Functions

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

Protected Member Functions

Testers
bool IsADeleteKey (char inChar)
bool IsACursorKey (char inChar)
bool IsAScrollKey (char inChar)
Testers
bool IsADeleteKey (char inChar)
bool IsACursorKey (char inChar)
bool IsAScrollKey (char inChar)
Testers
bool IsADeleteKey (char inChar)
bool IsACursorKey (char inChar)
bool IsAScrollKey (char inChar)
Testers
bool IsADeleteKey (char inChar)
bool IsACursorKey (char inChar)
bool IsAScrollKey (char inChar)

Protected Attributes

bool fAllowSpace

Constructor & Destructor Documentation

CP_KeyInputFilter_UnicodeAlphaNumeric::CP_KeyInputFilter_UnicodeAlphaNumeric bool  inAllowSpace  ) 
 

Constructor.

Parameters:
inAllowSpace A flag to indicate if we should allow space as a valid character.
Exceptions:
none 

CP_KeyInputFilter_UnicodeAlphaNumeric::~CP_KeyInputFilter_UnicodeAlphaNumeric  )  [virtual]
 

Destructor.

Exceptions:
none 


Member Function Documentation

CP_CharStatus CP_KeyInputFilter_UnicodeAlphaNumeric::IsKeyValid char  inChar2  )  [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_UnicodeAlphaNumeric::IsKeyValid const CPUniChar inChar,
UInt32  inDataLength
[virtual]
 

Flag to indicate if space is considered allowable.

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.


Member Data Documentation

bool CP_KeyInputFilter_UnicodeAlphaNumeric::fAllowSpace [protected]
 


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