7#ifndef MI_NEURAYLIB_IPOINTER_H
8#define MI_NEURAYLIB_IPOINTER_H
41 public base::Interface_declare<0xd921b94b,0x0b64,0x4da0,0x97,0x95,0xdc,0x4d,0xaf,0x99,0x95,0xd5,
73 T* ptr_T =
static_cast<T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
100 public base::Interface_declare<0x67bfc3ef,0x7d18,0x406e,0x95,0x3b,0x98,0xe6,0xb2,0x98,0x93,0x39,
130 if ( !ptr_iinterface)
132 const T* ptr_T =
static_cast<const T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
This interface represents const pointers.
Definition: ipointer.h:102
virtual const base::IInterface * get_pointer() const =0
Returns the const pointer.
const T * get_pointer() const
Returns the const pointer.
Definition: ipointer.h:127
virtual Sint32 set_pointer(const base::IInterface *pointer)=0
Sets the const pointer.
This interface represents mutable pointers.
Definition: ipointer.h:43
virtual base::IInterface * get_pointer() const =0
Returns the pointer.
virtual Sint32 set_pointer(base::IInterface *pointer)=0
Sets the pointer.
T * get_pointer() const
Returns the pointer.
Definition: ipointer.h:68
The basic extensible interface.
Definition: iinterface.h:103
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
virtual const IInterface * get_interface(const Uuid &interface_id) const =0
Acquires a const interface from another.
virtual Uint32 release() const =0
Decrements the reference count.
signed int Sint32
32-bit signed integer.
Definition: types.h:46
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: example_derivatives.dox:5