![]() |
Menge
Modular Pedestrian Simulation Framework for Research and Development
|
Base Class providing a pointer interface to Resources. More...
#include <Resource.h>
Public Member Functions | |
| ResourcePtr (Rsrc *rsrc=0x0) | |
| Constructor. More... | |
| ResourcePtr (const ResourcePtr< Rsrc > &rPtr) | |
| Copy constructor. More... | |
| ~ResourcePtr () | |
| Destructor. | |
| ResourcePtr< Rsrc > & | operator= (const ResourcePtr< Rsrc > &ptr) |
| Assignment operator. More... | |
| Rsrc * | operator-> () const |
| The indirection operator. More... | |
| bool | operator== (const ResourcePtr< Rsrc > &ptr) const |
| Reports if to Resource pointers (of the same type) refer to the same data. More... | |
Protected Attributes | |
| Rsrc * | _data |
| The underlying resource data. | |
Base Class providing a pointer interface to Resources.
|
inline |
Constructor.
| rsrc | A pointer to the underlying data |
|
inline |
Copy constructor.
| rPtr | A resource pointer to the underlying data. |
|
inline |
The indirection operator.
|
inline |
Assignment operator.
| ptr | A resource pointer to the underlying data. |
|
inline |
Reports if to Resource pointers (of the same type) refer to the same data.
| ptr | A pointer of the same type. |
1.8.8