Permitted actions in the database such as read, write and delete can be queried for an object. This is the answer. More...
#include <GloTypes.h>
Public Member Functions | |
LockPossibleSpecification () | |
LockPossibleSpecification (const LockPossibleSpecification &rT) | |
LockPossibleSpecification (unsigned long ulValue) | |
virtual | ~LockPossibleSpecification () |
unsigned long | getAsUL () |
LockPossibleSpecification & | operator= (const LockPossibleSpecification &rT) |
void | set (unsigned long ulValue) |
bool | operator== (const LockPossibleSpecification &rT) const |
Comparison operator. | |
bool | operator!= (const LockPossibleSpecification &rT) const |
Comparison operator. | |
Public Attributes | |
bool | m_bDelete |
bool | m_bRead |
bool | m_bWrite |
Permitted actions in the database such as read, write and delete can be queried for an object. This is the answer.
|
inline |
Stanmdard constructor to initialize the members.
References m_bDelete, m_bRead, and m_bWrite.
Referenced by LockPossibleSpecification(), operator!=(), operator=(), and operator==().
|
inline |
|
inlinevirtual |
Destructor
|
inline |
Copy constructor.
[in] | rT | The data is copied from this object. |
References LockPossibleSpecification(), m_bDelete, m_bRead, and m_bWrite.
|
inline |
|
inline |
Comparison operator.
[in] | rT | The object to be compared with this one. |
References LockPossibleSpecification().
|
inline |
Assignment operator.
[in] | rT | The data is transferred from this object. |
References LockPossibleSpecification(), m_bDelete, m_bRead, and m_bWrite.
|
inline |
Comparison operator.
[in] | rT | The object to be compared with this one. |
References LockPossibleSpecification(), m_bDelete, m_bRead, and m_bWrite.
|
inline |
Sets the allowed actions as bit patterns.
[in] | ulValue | values can be or concatenated e.g., for reading and writing (1 | 2).
|
References m_bDelete, m_bRead, and m_bWrite.
Referenced by LockPossibleSpecification().
bool glo::LockPossibleSpecification::m_bDelete |
If true, the requested object can be deleted in the database.
Referenced by LockPossibleSpecification(), LockPossibleSpecification(), LockPossibleSpecification(), getAsUL(), operator=(), operator==(), and set().
bool glo::LockPossibleSpecification::m_bRead |
If true, the requested object can be read from database.
Referenced by LockPossibleSpecification(), LockPossibleSpecification(), LockPossibleSpecification(), getAsUL(), operator=(), operator==(), and set().
bool glo::LockPossibleSpecification::m_bWrite |
If true, the requested object can be stored in the database.
Referenced by LockPossibleSpecification(), LockPossibleSpecification(), LockPossibleSpecification(), getAsUL(), operator=(), operator==(), and set().