iimport_result.h File Reference
Description
Result of an import operation.
Code Example
iimport_result.h
/***************************************************************************************************
* Copyright 2024 NVIDIA Corporation. All rights reserved.
**************************************************************************************************/
#ifndef MI_NEURAYLIB_IIMPORT_RESULT_H
#define MI_NEURAYLIB_IIMPORT_RESULT_H
#include <mi/base/enums.h>
#include <mi/base/interface_declare.h>
namespace mi {
namespace neuraylib {
class IImport_result :
public base::Interface_declare<0xa47741d4,0x49c5,0x418d,0xa5,0x4b,0xa6,0xfb,0xf4,0xa0,0x91,0x44>
{
public:
virtual const char* get_rootgroup() const = 0;
virtual const char* get_camera_inst() const = 0;
virtual const char* get_options() const = 0;
virtual Size
get_elements_length() const = 0;
virtual const char* get_element( Size index) const = 0;
virtual Uint32
get_error_number() const = 0;
virtual const char* get_error_message() const = 0;
virtual Size
get_messages_length() const = 0;
virtual Uint32
get_message_number( Size index) const = 0;
virtual const char* get_message( Size index) const = 0;
virtual base::Message_severity
get_message_severity( Size index) const = 0;
};
class IImport_result_ext :
public base::Interface_declare<0xe43ae7a3,0x7816,0x4915,0xb1,0x98,0x42,0x12,0x1d,0x1b,0xe2,0x09,
neuraylib::IImport_result>
{
public:
virtual Sint32
set_rootgroup( const char* group) = 0;
virtual Sint32
set_camera_inst( const char* camera) = 0;
virtual Sint32
set_options( const char* options) = 0;
virtual Sint32
element_push_back( const char* element) = 0;
virtual Sint32
set_element( Size index, const char* element) = 0;
virtual void clear_elements() = 0;
virtual Sint32
set_message(
Uint32 number, base::Message_severity severity, const char* message) = 0;
virtual Sint32
message_push_back(
Uint32 number, base::Message_severity severity, const char* message) = 0;
virtual Sint32
set_message(
Size index, Uint32 number, base::Message_severity severity, const char* message) = 0;
virtual void clear_messages() = 0;
virtual Sint32
append_elements( const IImport_result* import_result) = 0;
virtual Sint32
append_messages( const IImport_result* import_result) = 0;
};
/*
@}
*/ // end group mi_neuray_impexp
} // namespace neuraylib
} // namespace mi
#endif // MI_NEURAYLIB_IIMPORT_RESULT_H
Namespaces
- namespace
- Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
- namespace
- Namespace for the neuray API. More...