Types
[neuray Services API]
Description
The neuray services type system defines the set of types that may be used as arguments to and returned from commands. These are based on and extend the core neuray library type system. Commands may use any of the core types as arguments and return values except for the following:
If a command needs to take a database reference as an argument or return one then they should simply pass an mi::IString set to the name of the database element.
In addition to the core types neuray services also supplies the following extensions:
-
mi::nservices::IBinary for returning arbitray binary data.
-
mi::nservices::ICanvas to pass around neuray library canvases (mi::neuraylib::ICanvas).
-
mi::nservices::IUser_type to represent user defined types.
Instances of all types can be created from the neuray services factory class, mi::nservices::IFactory.
Finally, a literal NULL (0), can also be used as a valid argument or return value.
See also:
Modules
- The neuray Services API allows the user to register custom data types which can be used as arguments and results in service commands. More...