A simple raw ostream subclass that forwards write_impl calls to the user-supplied callback together with opaque user-supplied data.
More...
#include "mlir/CAPI/Utils.h"
A simple raw ostream subclass that forwards write_impl calls to the user-supplied callback together with opaque user-supplied data.
Definition at line 30 of file Utils.h.
◆ CallbackOstream()
mlir::detail::CallbackOstream::CallbackOstream |
( |
std::function< void(MlirStringRef, void *)> |
callback, |
|
|
void * |
opaqueData |
|
) |
| |
|
inline |
◆ current_pos()
uint64_t mlir::detail::CallbackOstream::current_pos |
( |
| ) |
const |
|
inlineoverride |
◆ write_impl()
void mlir::detail::CallbackOstream::write_impl |
( |
const char * |
ptr, |
|
|
size_t |
size |
|
) |
| |
|
inlineoverride |
The documentation for this class was generated from the following file: