#include <SUIT_DataObjectKey.h>
Public Member Functions | |
SUIT_DataObjectKeyHandle () | |
SUIT_DataObjectKeyHandle (SUIT_DataObjectKey *) | |
SUIT_DataObjectKeyHandle (const SUIT_DataObjectKeyHandle &) | |
~SUIT_DataObjectKeyHandle () | |
void | nullify () |
bool | isNull () const |
bool | operator< (const SUIT_DataObjectKeyHandle &) const |
bool | operator== (const SUIT_DataObjectKeyHandle &) const |
SUIT_DataObjectKeyHandle & | operator= (const SUIT_DataObjectKeyHandle &) |
Private Member Functions | |
void | beginScope () |
void | endScope () |
Private Attributes | |
SUIT_DataObjectKey * | myKey |
Wrapper around the pointer of class SUIT_DataObjectKey.
SUIT_DataObjectKeyHandle::SUIT_DataObjectKeyHandle | ( | ) |
Constructor.
SUIT_DataObjectKeyHandle::SUIT_DataObjectKeyHandle | ( | SUIT_DataObjectKey * | key | ) |
Constructor. Initialize by key key.
References beginScope().
SUIT_DataObjectKeyHandle::SUIT_DataObjectKeyHandle | ( | const SUIT_DataObjectKeyHandle & | other | ) |
Copy Constructor.
References beginScope(), and myKey.
SUIT_DataObjectKeyHandle::~SUIT_DataObjectKeyHandle | ( | ) |
Destructor.
References nullify().
|
private |
Inctrement reference counter for current key.
References myKey, and SUIT_DataObjectKey::refCounter.
|
private |
Decrement reference counter for current key.
References myKey, and SUIT_DataObjectKey::refCounter.
bool SUIT_DataObjectKeyHandle::isNull | ( | ) | const |
void SUIT_DataObjectKeyHandle::nullify | ( | ) |
Nullify key.
References endScope().
bool SUIT_DataObjectKeyHandle::operator< | ( | const SUIT_DataObjectKeyHandle & | kw | ) | const |
Operator less.
boolean. | true - If current key less than kw. |
References _typeinfo, SUIT_DataObjectKey::isLess(), and myKey.
SUIT_DataObjectKeyHandle & SUIT_DataObjectKeyHandle::operator= | ( | const SUIT_DataObjectKeyHandle & | kw | ) |
Copy value of key kw to current.
References beginScope(), endScope(), and myKey.
bool SUIT_DataObjectKeyHandle::operator== | ( | const SUIT_DataObjectKeyHandle & | kw | ) | const |
Operator is equal.
boolean. | true - If current key equal kw. |
References SUIT_DataObjectKey::isEqual(), and myKey.
|
private |