7#ifndef MI_NEURAYLIB_IREF_H
8#define MI_NEURAYLIB_IREF_H
23 public base::Interface_declare<0x3572250a,0x605e,0x4b6c,0xa0,0xc3,0xae,0xd5,0x7e,0x24,0x69,0x9b,
76 const T* ptr_T =
static_cast<const T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
99 T* ptr_T =
static_cast<T*
>( ptr_iinterface->
get_interface(
typename T::IID()));
A reference is an object that acts as a pointer to other database elements.
Definition: iref.h:25
virtual Sint32 set_reference(const char *name)=0
Sets the reference to the database element named name.
virtual base::IInterface * get_reference()=0
Returns the reference.
T * get_reference()
Returns the reference.
Definition: iref.h:94
const T * get_reference() const
Returns the reference.
Definition: iref.h:71
virtual const base::IInterface * get_reference() const =0
Returns the reference.
virtual const char * get_reference_name() const =0
Returns the name of the referenced element.
virtual Sint32 set_reference(const base::IInterface *db_element)=0
Sets the reference to db_element.
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: neuraylib.h:179