#include <CMaskedValuePredicate.h>
Inheritance diagram for CMaskedValuePredicate< T >:
Public Member Functions | |
CMaskedValuePredicate (T am_TValue, T am_TMask=COS_ALLBITS) | |
CMaskedValuePredicate (const STD(string)&rName, T am_TValue, T am_TMask=COS_ALLBITS) | |
CMaskedValuePredicate (const char *pName, T am_TValue, T am_TMask=COS_ALLBITS) | |
~CMaskedValuePredicate () | |
int | operator== (const CMaskedValuePredicate< T > &aCMaskedValuePredicate) const |
T | getMask () const |
T | getValue () const |
virtual bool | operator() (T nValue) |
virtual | STD (string) DescribeSelf() |
Protected Member Functions | |
void | setMask (const T am_TMask) |
void | setValue (const T am_TValue) |
Private Member Functions | |
CMaskedValuePredicate (const CMaskedValuePredicate< T > &aCMaskedValuePredicate) | |
CMaskedValuePredicate< T > | operator= (const CMaskedValuePredicate< T > &aCMaskedValuePredicate) |
Private Attributes | |
T | m_TValue |
T | m_TMask |
|
The predicate mask |
|
|
|
|
|
|
|
|
|
Definition at line 359 of file CMaskedValuePredicate.h. |
|
Definition at line 364 of file CMaskedValuePredicate.h. |
|
Operation Type: Override behavior Purpose: Returns true if (nValue & m_TMask) == m_TValue Implements CPointerPredicate< T >. Definition at line 301 of file CMaskedValuePredicate.cpp. |
|
|
|
Definition at line 340 of file CMaskedValuePredicate.h. References CMaskedValuePredicate< T >::m_TMask, CMaskedValuePredicate< T >::m_TValue, and CPointerPredicate< T >::operator==(). |
|
Definition at line 372 of file CMaskedValuePredicate.h. References CMaskedValuePredicate< T >::m_TMask. |
|
Definition at line 377 of file CMaskedValuePredicate.h. References CMaskedValuePredicate< T >::m_TValue. |
|
The name of the object Implements CPointerPredicate< T >. |
|
The predicate value Definition at line 311 of file CMaskedValuePredicate.h. Referenced by CMaskedValuePredicate< T >::operator==(), and CMaskedValuePredicate< T >::setMask(). |
|
Definition at line 310 of file CMaskedValuePredicate.h. Referenced by CMaskedValuePredicate< T >::operator==(), and CMaskedValuePredicate< T >::setValue(). |