Michele De Stefano's C++ Utilities
fileobj.hpp File Reference

Contains classes for managing python file objects from C++ code. More...

#include <mds_utils/python/common.hpp>
#include <mds_utils/python/obj.hpp>
#include <iostream>
#include <stdexcept>
#include <mds_utils/file_utils/cfile_stream.hpp>
#include <boost/iostreams/stream_buffer.hpp>
#include <boost/shared_ptr.hpp>

Go to the source code of this file.

Classes

class  mds_utils::python::FileObj
 Class for easily managment of Python file objects from C++ code. More...
 
class  mds_utils::python::iFileObj
 Class for easily managment of Python input file objects from C++ code. More...
 
class  mds_utils::python::oFileObj
 Class for easily managment of Python output file objects from C++ code. More...
 

Namespaces

 mds_utils
 Main namespace of all Michele De Stefano's C++ utilities.
 
 mds_utils::python
 Namespace of all Michele De Stefano's C++ Python utilities.
 

Detailed Description

Contains classes for managing python file objects from C++ code.

A usage example is given for the mds_utils::python::FileObj class only. Once you've seen it, it will be easy for you to modify it in order to use either mds_utils::python::iFileObj or mds_utils::python::oFileObj.

Definition in file fileobj.hpp.