This mixin class can be used to implement the mi::neuraylib::IElement interface. More...
#include <dice.h>

Public Member Functions | |
| Element ()=default | |
| Default constructor. More... | |
| Element (const Element &) | |
| Copy constructor. More... | |
| Element & | operator= (const Element &other) |
| Assignment operator. More... | |
| ~Element () | |
| Destructor. More... | |
| virtual void | get_references (ITag_set *result) const |
Empty body, i.e., leaves result unaltered. More... | |
| virtual Size | get_size () const |
Assumes that the size of the database element is given by sizeof. More... | |
| virtual bool | get_send_to_all_nodes () const |
| By default, multicast distribution for database elements is enabled. More... | |
| virtual bool | get_offload_to_disk () const |
| By default, offloading to disk is disabled. More... | |
Public Member Functions inherited from mi::neuraylib::Base< id1, ... > | |
| virtual const base::IInterface * | get_interface (const base::Uuid &interface_id) const |
| Acquires a const interface. More... | |
| virtual base::IInterface * | get_interface (const base::Uuid &interface_id) |
| Acquires a mutable interface. More... | |
| virtual base::Uuid | get_class_id () const |
| Returns the class ID corresponding to the template parameters of this mixin class. More... | |
Public Member Functions inherited from mi::base::Interface_implement<IElement> | |
| Interface_implement (Uint32 initial=1) | |
| Constructor. More... | |
| Interface_implement (const Interface_implement<IElement> &other) | |
| Copy constructor. More... | |
| Interface_implement (Interface_implement &&other) | |
| Move constructor. More... | |
| Interface_implement<IElement> & | operator= (const Interface_implement<IElement> &other) |
| Assignment operator. More... | |
| Interface_implement & | operator= (Interface_implement &&other) |
| Move assignment. More... | |
| Uint32 | retain () const override |
| Increments the reference count. More... | |
| Uint32 | release () const override |
| Decrements the reference count. More... | |
| const IInterface * | get_interface (const Uuid &interface_id) const override |
| Acquires a const interface. More... | |
| IInterface * | get_interface (const Uuid &interface_id) override |
| Acquires a mutable interface. More... | |
| Uuid | get_iid () const override |
| Returns the interface ID of the most derived interface. More... | |
Additional Inherited Members | |
Public Types inherited from mi::neuraylib::Base< id1, ... > | |
| using | Self = Base< id1, ... > |
| Own type. More... | |
| using | IID = base::Uuid_t< id1, ... > |
| Declares the interface ID. More... | |
Static Public Member Functions inherited from mi::neuraylib::Base< id1, ... > | |
| static bool | compare_iid (const base::Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and its ancestors. More... | |
Protected Member Functions inherited from mi::base::Interface_implement<IElement> | |
| Atom32 & | refcount () const |
| Get the current refcount. More... | |
This mixin class can be used to implement the mi::neuraylib::IElement interface.
This mixin class provides a default implementation of some of the pure virtual methods of the mi::neuraylib::IElement interface. The documentation here just lists the behavior of the default implementation, see mi::neuraylib::IElement for the documentation of the methods themselves.
|
default |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Destructor.
|
inlinevirtual |
By default, offloading to disk is disabled.
|
inlinevirtual |
Empty body, i.e., leaves result unaltered.
|
inlinevirtual |
By default, multicast distribution for database elements is enabled.
|
inlinevirtual |
Assumes that the size of the database element is given by sizeof.