julian::SmartPointer< T > Class Template Reference
Template of deep-coping smart pointer. More...
#include <smartPointer.hpp>
Public Member Functions | |
| SmartPointer () | |
| Default constructor. More... | |
| SmartPointer (const T &inner) | |
| Constructor. More... | |
| ~SmartPointer () | |
| Destructor. More... | |
| SmartPointer (const SmartPointer< T > &original) | |
| Copy constructor. More... | |
| SmartPointer & | operator= (const SmartPointer< T > &original) |
| Assignment operator. More... | |
| T & | operator* () |
| Method dereferencing pointer. More... | |
| const T & | operator* () const |
| Method dereferencing pointer. More... | |
| T * | operator-> () |
| Method dereferencing pointer. More... | |
| const T * | operator-> () const |
| Method dereferencing pointer. More... | |
| bool | isEmpty () const |
| Check if pointer owns any object. More... | |
Private Attributes | |
| T * | data_ptr_ |
| Pointer to data owned by pointer. More... | |
Detailed Description
template<class T>
class julian::SmartPointer< T >
Template of deep-coping smart pointer.
Constructor & Destructor Documentation
template<class T>
|
inline |
Default constructor.
template<class T>
|
inline |
Constructor.
template<class T>
|
inline |
Destructor.
template<class T>
|
inline |
Copy constructor.
Member Function Documentation
template<class T>
|
inline |
Check if pointer owns any object.
template<class T>
|
inline |
Method dereferencing pointer.
template<class T>
|
inline |
Method dereferencing pointer.
template<class T>
|
inline |
Method dereferencing pointer.
template<class T>
|
inline |
Method dereferencing pointer.
template<class T>
|
inline |
Assignment operator.
Member Data Documentation
template<class T>
|
private |
Pointer to data owned by pointer.
The documentation for this class was generated from the following file:
- C:/Unix/home/OEM/jULIAN/src/utils/smartPointer.hpp

1.8.11