iwriter.h File Reference
Description
Writers, used by exporters.
Code Example
iwriter.h
//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************
#ifndef MI_NEURAYLIB_IWRITER_H
#define MI_NEURAYLIB_IWRITER_H
#include <mi/neuraylib/ireader_writer_base.h>
#include <mi/neuraylib/version.h>
namespace mi {
namespace neuraylib {
class IWriter :
public base::Interface_declare<0x0e6ecfbc,0x78c3,0x4082,0xba,0x51,0xa3,0x60,0xbb,0x1d,0x6f,0xc0,
neuraylib::IReader_writer_base>
{
public:
virtual Sint64
write( const char* buffer, Sint64 size) = 0;
virtual bool writeline( const char* str) = 0;
virtual bool flush() = 0;
};
// end group mi_neuray_impexp
} // namespace neuraylib
#ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
using neuraylib::IReader_writer_base;
using neuraylib::IWriter;
#endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
} // namespace mi
#endif // MI_NEURAYLIB_IWRITER_H
Namespaces
- namespace
- Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
- namespace
- Namespace for the neuray API. More...
Classes
- class
- A writer supports binary block writes and string-oriented line writes that accept a zero-terminated string as argument. More...