MLIR  20.0.0git
Public Member Functions | List of all members
mlir::PyFileAccumulator Class Reference

Accumulates int a python file-like object, either writing text (default) or binary. More...

#include "Bindings/Python/PybindUtils.h"

Public Member Functions

 PyFileAccumulator (const pybind11::object &fileObject, bool binary)
 
void * getUserData ()
 
MlirStringCallback getCallback ()
 

Detailed Description

Accumulates int a python file-like object, either writing text (default) or binary.

Definition at line 125 of file PybindUtils.h.

Constructor & Destructor Documentation

◆ PyFileAccumulator()

mlir::PyFileAccumulator::PyFileAccumulator ( const pybind11::object &  fileObject,
bool  binary 
)
inline

Definition at line 127 of file PybindUtils.h.

Member Function Documentation

◆ getCallback()

MlirStringCallback mlir::PyFileAccumulator::getCallback ( )
inline

◆ getUserData()

void* mlir::PyFileAccumulator::getUserData ( )
inline

The documentation for this class was generated from the following file: