|
| NCollection_Handle () |
| Default constructor; creates null handle. More...
|
|
| NCollection_Handle (T *theObject) |
| Constructor of handle from pointer on newly allocated object. More...
|
|
T * | get () |
| Cast handle to contained type. More...
|
|
const T * | get () const |
| Cast handle to contained type. More...
|
|
T * | operator-> () |
| Cast handle to contained type. More...
|
|
const T * | operator-> () const |
| Cast handle to contained type. More...
|
|
T & | operator* () |
| Cast handle to contained type. More...
|
|
const T & | operator* () const |
| Cast handle to contained type. More...
|
|
Public Member Functions inherited from opencascade::handle< Standard_Transient > |
| handle () |
| Empty constructor. More...
|
|
| handle (const Standard_Transient *thePtr) |
| Constructor from pointer to new object. More...
|
|
| handle (const handle &theHandle) |
| Copy constructor. More...
|
|
| handle (handle &&theHandle) |
| Move constructor. More...
|
|
| ~handle () |
| Destructor. More...
|
|
void | Nullify () |
| Nullify the handle. More...
|
|
bool | IsNull () const |
| Check for being null. More...
|
|
void | reset (Standard_Transient *thePtr) |
| Reset by new pointer. More...
|
|
handle & | operator= (const handle &theHandle) |
| Assignment operator. More...
|
|
handle & | operator= (const Standard_Transient *thePtr) |
| Assignment to pointer. More...
|
|
handle & | operator= (handle &&theHandle) |
| Move operator. More...
|
|
Standard_Transient * | get () const |
| STL-like cast to pointer to referred object (note non-const). More...
|
|
Standard_Transient * | operator-> () const |
| Member access operator (note non-const) More...
|
|
Standard_Transient & | operator* () const |
| Dereferencing operator (note non-const) More...
|
|
bool | operator== (const handle< T2 > &theHandle) const |
| Check for equality. More...
|
|
bool | operator== (const T2 *thePtr) const |
| Check for equality. More...
|
|
bool | operator!= (const handle< T2 > &theHandle) const |
| Check for inequality. More...
|
|
bool | operator!= (const T2 *thePtr) const |
| Check for inequality. More...
|
|
bool | operator< (const handle< T2 > &theHandle) const |
| Compare operator for possible use in std::map<> etc. More...
|
|
| operator Standard_Transient *handle::* () const |
| Conversion to bool-compatible type for use in conditional expressions. More...
|
|
| operator const handle< T2 > & () const |
| Upcast to const reference to base type. NB: this implementation will cause ambiguity errors on calls to overloaded functions accepting handles to different types, since compatibility is checked in the cast code rather than ensured by SFINAE (possible with C++11) More...
|
|
| operator handle< T2 > & () |
| Upcast to non-const reference to base type. NB: this cast can be dangerous, but required for legacy code; see #26377. More...
|
|