ireader.h File Reference
Description
Readers, used by importers.
Code Example
ireader.h
/***************************************************************************************************
* Copyright 2024 NVIDIA Corporation. All rights reserved.
**************************************************************************************************/
#ifndef MI_NEURAYLIB_IREADER_H
#define MI_NEURAYLIB_IREADER_H
#include <mi/neuraylib/ireader_writer_base.h>
namespace mi {
namespace neuraylib {
class IReader :
public base::Interface_declare<0xc03de0cf,0x5a03,0x4e8f,0xa1,0x59,0x6c,0xad,0xd6,0xf8,0xae,0x58,
neuraylib::IReader_writer_base>
{
public:
virtual Sint64
read( char* buffer, Sint64 size) = 0;
virtual bool readline( char* buffer, Sint32 size) = 0;
virtual bool supports_lookahead() const = 0;
virtual Sint64
lookahead( Sint64 size, const char** buffer) const = 0;
};
// end group mi_neuray_impexp
} // namespace neuraylib
} // namespace mi
#endif // MI_NEURAYLIB_IREADER_H
Namespaces
- namespace
- Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
- namespace
- Namespace for the neuray API. More...
Classes
- class
- A reader supports binary block reads and string-oriented line reads that zero-terminate the result. More...