Namespace: Rx – Class: CExceptionSafePointer – Header: Rx.Core/RxExceptionSafePointer.h
CExceptionSafePointer Class
C++
#include "Rx.Core/RxExceptionSafePointer.h"
class CExceptionSafePointer
Container for an Rx::IException31 pointer that simplifies copying of exceptions.
Constructors
CExceptionSafePointer() | Default constructor. |
CExceptionSafePointer(xExceptionSafePointer) | Copy constructor. Creates a copy of the exception provided by the given pointer. |
CExceptionSafePointer(xExceptionSafePointer) | Move constructor. |
CExceptionSafePointer(ex) | Copy Constructor. Creates a copy of the given exception. |
Destructor
~CExceptionSafePointer() | Destructor. Deletes the assigned exception. |
Methods
Get() | Gets the exception pointer. |
Get() | Gets the exception pointer dynamically casted to the given template argument. |
IsValid() | Query if this object is valid. |
Operators
operator=(xExceptionSafePointer) | Move assignment operator. |