#include <symbol.h>
Inheritance diagram for ModuleSymbol:
Public Member Functions | |
ModuleSymbol () | |
Creates a NULL symbol. | |
ModuleSymbol (const ModuleSymbol &s) | |
Copy constructor as usual. | |
~ModuleSymbol () | |
Destructor; nothing special. | |
ModuleSymbol & | operator= (const ModuleSymbol &s) |
Standard assignment operator. | |
void * | ptr () const |
Get the symbol pointer, no casting applied:. | |
bool | operator! () const |
Check for NULL pointers:. | |
operator bool () const | |
SharedObject | object () const |
Get the associated shared object. | |
Private Member Functions | |
ModuleSymbol (void *_ptr, const SharedObject &_so) | |
Module symbols are created by SharedObject and never directly. | |
Private Attributes | |
void * | sptr |
This is the symbol pointer; no casting applied. | |
SharedObject | so |
Associated shared object for reference counting. | |
Friends | |
class | _ISharedObject |
This is a completely "C++-safe" type (assignment & copy constructor).
See the docu for file pool.h for detailed information.
Definition at line 34 of file symbol.h.
|
Module symbols are created by SharedObject and never directly.
Definition at line 44 of file symbol.h. References SharedObject, so, and sptr. |
|
Creates a NULL symbol.
|
|
Copy constructor as usual.
|
|
Destructor; nothing special.
|
|
Get the associated shared object.
Definition at line 66 of file symbol.h. References SharedObject, and so. |
|
Definition at line 63 of file symbol.h. References sptr. |
|
Check for NULL pointers:.
Definition at line 62 of file symbol.h. References sptr. |
|
Standard assignment operator.
|
|
Get the symbol pointer, no casting applied:.
Definition at line 58 of file symbol.h. References sptr. Referenced by ModuleFunction< FPTR >::fptr(). |
|
|
|
Associated shared object for reference counting.
Definition at line 41 of file symbol.h. Referenced by ModuleSymbol(), object(), and operator=(). |
|
This is the symbol pointer; no casting applied.
Definition at line 39 of file symbol.h. Referenced by ModuleSymbol(), operator bool(), operator!(), operator=(), and ptr(). |