generator_ptr< T > Class Template Reference
#include <generic_fixture.h>
Public Member Functions | |
generator_ptr (abstract_generator< T > *ptr=0) | |
generator_ptr (const generator_ptr< T > &other) | |
generator_ptr & | operator= (const generator_ptr< T > &other) |
generator_ptr & | operator= (abstract_generator< T > *ptr) |
virtual | ~generator_ptr () |
const abstract_generator< T > & | operator* () const |
abstract_generator< T > & | operator* () |
const abstract_generator< T > * | operator-> () const |
abstract_generator< T > * | operator-> () |
bool | operator== (const abstract_generator< T > *other) |
bool | operator!= (const abstract_generator< T > *other) |
Friends | |
std::ostream & | operator<< (std::ostream &out, const generator_ptr< T > &ptr) |
Detailed Description
template<class T>
class illumina::interop::unittest::generator_ptr< T >
Smart pointer wrapper
Smart pointer wrapper
Performs deep copies
Constructor & Destructor Documentation
|
inline |
Constructor
- Parameters
-
ptr pointer to an abstract generator
|
inline |
Copy Constructor
- Parameters
-
other source object to copy
|
inlinevirtual |
Destructor
Member Function Documentation
|
inline |
Test if current pointer does not equal another
- Parameters
-
other
- Returns
- true if they do not point to same address
|
inline |
Get access to underlying object
- Returns
- reference to abstract generator
|
inline |
Get access to underlying object
- Returns
- reference to abstract generator
|
inline |
Get access to underlying pointer
- Returns
- pointer to abstract generator
|
inline |
Get access to underlying pointer
- Returns
- pointer to abstract generator
|
inline |
Copy operator
- Parameters
-
other source object to copy
- Returns
- this
|
inline |
Copy operator
- Parameters
-
ptr source object to copy
- Returns
- this
|
inline |
Test if current pointer equals another
- Parameters
-
other other pointer
- Returns
- true if they point to same address
Friends And Related Function Documentation
|
friend |
Write name of generator to output stream
- Parameters
-
out output stream ptr generator pointer
- Returns
- output stream
The documentation for this class was generated from the following file:
- /io/src/tests/interop/inc/generic_fixture.h