neuray API Programmer's Manual

iimpexp_state.h File Reference

Description

State passed to recursive calls of importers and exporters.

Code Example

iimpexp_state.h

‎/***************************************************************************************************
 * Copyright 2024 NVIDIA Corporation. All rights reserved.
 **************************************************************************************************/

#ifndef MI_NEURAYLIB_IIMPEXP_STATE_H
#define MI_NEURAYLIB_IIMPEXP_STATE_H

#include <mi/base/interface_declare.h>

namespace mi {

namespace neuraylib {














class IImpexp_state :
    public base::Interface_declare<0x8646a2cb,0x609f,0x453d,0xbd,0xd6,0xc7,0xbf,0xea,0xdd,0x82,0x1d>
{
public:
    virtual const char* get_uri() const = 0;

    virtual Uint32 
               get_line_number() const = 0;

    virtual void set_line_number( Uint32 n) = 0;

    virtual void incr_line_number() = 0;

    virtual const IImpexp_state* get_parent_state() const = 0;
};

/*
@}
*/ // end group mi_neuray_impexp

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IIMPEXP_STATE_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 states that are passed to recursive calls of importers and exporters. More...