|
Public Member Functions |
| | OSCtxtPtr (OSContext *rf=0) |
| | This constructor set the internal context pointer to the given value and, if it is non-zero, increases the reference count by one.
|
| | OSCtxtPtr (const OSCtxtPtr &o) |
| | The copy constructor copies the pointer from the source pointer object and, if it is non-zero, increases the reference count by one.
|
| | ~OSCtxtPtr () |
| | The destructor decrements the reference counter to the internal context pointer object.
|
| OSCtxtPtr & | operator= (const OSCtxtPtr &rf) |
| | This assignment operator assigns this OSCtxtPtr to another.
|
|
OSCtxtPtr & | operator= (OSContext *rf) |
| | This assignment operator assigns does a direct assignment of an OSContext object to this OSCtxtPtr object.
|
|
| operator OSContext * () |
| | The 'OSContext*' operator returns the context object pointer.
|
|
| operator const OSContext * () const |
|
OSContext * | operator-> () |
| | The '->' operator returns the context object pointer.
|
|
const OSContext * | operator-> () const |
|
OSBOOL | operator== (const OSContext *o) const |
| | The '==' operator compares two OSContext pointer values.
|
|
OSBOOL | isNull () const |
| | The isNull method returns TRUE if the underlying context pointer is NULL.
|
|
OSCTXT * | getCtxtPtr () |
| | This method returns the standard context pointer used in C function calls.
|
Protected Attributes |
|
OSContext * | mPointer |
| | The mPointer member variable is a pointer to a reference-counted ASN.1 context wrapper class object.
|
This class allows a context object to automatically be released when its reference count goes to zero. It is very similar to the standard C++ library auto_ptr smart pointer class but only works with an OSContext object.