RTI Connext Modern C++ API
Version 5.3.1
|
#include <Pointer.hpp>
Public Member Functions | |
pointer () OMG_NOEXCEPT | |
pointer (T *ptr) OMG_NOEXCEPT | |
void | set (T *ptr) OMG_NOEXCEPT |
T * | get () const OMG_NOEXCEPT |
pointer< T > & | operator= (T *other) OMG_NOEXCEPT |
bool | operator== (const pointer< T > &other) const |
bool | operator!= (const pointer< T > &other) const |
Helper class for generated types that contain IDL pointers (an RTI extension)
It wraps a loaned pointer and provides overloads of certain operators to access the contents rather than the pointer. It never deep-copies or deletes the underlying pointer.
|
inline |
Initialize to NULL
|
inline |
Shallow-copy the pointer and allow automatic conversion from T *
|
inline |
Set the underlying pointer. This function does not copy or delete, it just replaces this pointer.
|
inline |
Returns the underlying pointer
|
inline |
Assign another pointer replacing the current one
|
inline |
Deep equality comparison
|
inline |
Deep inequality comparison