neuray API Programmer's Manual

mi::neuraylib::User_class< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, I> Template Class Reference

[Extensions and Plugins]

template< Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IUser_class>

class mi::neuraylib::User_class< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, I>

Description

This mixin class should be used to implement the IUser_class interface. This interface provides a default implementation of some of the pure virtual methods of the mi::neuraylib::IUser_class interface.

Public Typedefs

typedef base::Uuid_t< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11> IID
Declares the class ID.

Public Constructors

 User_class()
Default constructor.
 User_class( const User_class& other)
Copy constructor.

Public Destructors

 ~User_class()
Destructor.

Public Member Functions

virtual base::​Uuid get_class_id() const
Returns the class ID corresponding to the template parameters of this mixin class.
virtual const char* get_class_name() const
Returns a human readable class name.
User_classoperator=( const User_class& other)
Assignment operator.
virtual Uint32 release() const
Decrements the reference count. More...

Typedefs

typedef base::Uuid_t< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11> mi::neuraylib::User_class< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, I>::IID

Declares the class ID.

Constructors

mi::neuraylib::User_class< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, I>::User_class() [inline]

Default constructor.

mi::neuraylib::User_class< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, I>::User_class( const User_class& other) [inline]

Copy constructor.

Destructors

mi::neuraylib::User_class< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, I>::~User_class() [inline]

Destructor.

Member Functions

virtual base::​Uuid mi::neuraylib::User_class< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, I>::get_class_id() const [inline, virtual]

Returns the class ID corresponding to the template parameters of this mixin class.

virtual const char* mi::neuraylib::User_class< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, I>::get_class_name() const [inline, virtual]

Returns a human readable class name.

User_class& mi::neuraylib::User_class< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, I>::operator=( const User_class& other) [inline]

Assignment operator.

virtual Uint32 mi::neuraylib::User_class< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, I>::release() const [inline, virtual]

Decrements the reference count. Decrements the reference count of the object referenced through this interface and returns the new reference count. If the reference count dropped to zero, the object will be deleted. The operation is thread-safe.