neuray API Programmer's Manual

iexport_result.h File Reference

Description

Result of an export operation.

Code Example

iexport_result.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_IEXPORT_RESULT_H
#define MI_NEURAYLIB_IEXPORT_RESULT_H

#include <mi/base/enums.h>
#include <mi/base/interface_declare.h>
#include <mi/neuraylib/version.h>

namespace mi {

namespace neuraylib {


















class IExport_result :
    public base::Interface_declare<0xb900251e,0x34e9,0x4a56,0x83,0x77,0x69,0x97,0x69,0x6b,0x82,0x84>
{
public:
    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 IExport_result_ext :
    public base::Interface_declare<0xfbf13ba1,0x7310,0x4e1a,0x80,0x0a,0x88,0xc4,0x20,0x3e,0xad,0x96,
                                   neuraylib::IExport_result>
{
public:
    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_messages( const IExport_result* export_result) = 0;
};
 // end group mi_neuray_impexp

} // namespace neuraylib

#ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
using neuraylib::IExport_result;
using neuraylib::IExport_result_ext;
#endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION

} // namespace mi

#endif // MI_NEURAYLIB_IEXPORT_RESULT_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...

Classes

class 
This interface represents the result of an export operation. More...
class 
This interface represents the result of an export operation. More...