Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::IStream_position Class Referenceabstract

Represents the position in a data stream. More...

Inheritance diagram for mi::neuraylib::IStream_position:
mi::base::Interface_declare< 0xdbd2d643, 0x7788, 0x41fb, 0xad, 0xcd, 0xad, 0xbc, 0x52, 0x3f, 0xf2, 0x9f > mi::base::IInterface

Public Member Functions

virtual bool is_valid () const =0
 Indicates whether the stream position is valid. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0xdbd2d643, 0x7788, 0x41fb, 0xad, 0xcd, 0xad, 0xbc, 0x52, 0x3f, 0xf2, 0x9f >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
IInterface
Self
 Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
 Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0xdbd2d643, 0x7788, 0x41fb, 0xad, 0xcd, 0xad, 0xbc, 0x52, 0x3f, 0xf2, 0x9f >
static bool compare_iid (const Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

Represents the position in a data stream.

See Also
mi::neuraylib::IReader_writer_base

Member Function Documentation

virtual bool mi::neuraylib::IStream_position::is_valid ( ) const
pure virtual

Indicates whether the stream position is valid.

Returns
true, if the stream position is valid and can be used with mi::neuraylib::IReader_writer_base::seek_position(), and false otherwise.