Iray SDK API nvidia_logo_transpbg.gif Up
iimpexp_state.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IIMPEXP_STATE_H
8#define MI_NEURAYLIB_IIMPEXP_STATE_H
9
11
12namespace mi {
13
14namespace neuraylib {
15
35 public base::Interface_declare<0x8646a2cb,0x609f,0x453d,0xbd,0xd6,0xc7,0xbf,0xea,0xdd,0x82,0x1d>
36{
37public:
42 virtual const char* get_uri() const = 0;
43
48 virtual Uint32 get_line_number() const = 0;
49
53 virtual void set_line_number( Uint32 n) = 0;
54
58 virtual void incr_line_number() = 0;
59
64 virtual const IImpexp_state* get_parent_state() const = 0;
65};
66
67/*
68@}
69*/ // end group mi_neuray_impexp
70
71} // namespace neuraylib
72
73} // namespace mi
74
75#endif // MI_NEURAYLIB_IIMPEXP_STATE_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This interface represents states that are passed to recursive calls of importers and exporters.
Definition: iimpexp_state.h:36
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
virtual const IImpexp_state * get_parent_state() const =0
Returns the state of the parent importer or exporter.
virtual void incr_line_number()=0
Convenience function that increments the line number by one.
virtual const char * get_uri() const =0
Returns the URI for this file.
virtual Uint32 get_line_number() const =0
Returns the line number after the last read or write operation.
virtual void set_line_number(Uint32 n)=0
Sets the line number to n.
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179