ecto
Classes | Namespaces | Macros | Functions
streambuf.hpp File Reference
#include <boost/python/object.hpp>
#include <boost/python/str.hpp>
#include <boost/python/extract.hpp>
#include <boost/optional.hpp>
#include <boost/utility/typed_in_place_factory.hpp>
#include <streambuf>
#include <iostream>
Include dependency graph for streambuf.hpp:

Go to the source code of this file.

Classes

class  ecto::py::streambuf
 
class  ecto::py::streambuf::istream
 
class  ecto::py::streambuf::ostream
 
struct  ecto::py::streambuf_capsule
 
struct  ecto::py::ostream
 
struct  ecto::py::istream
 

Namespaces

 ecto
 
 ecto::py
 

Macros

#define TBXX_ASSERT(condition)
 
#define TBXX_UNREACHABLE_ERROR()
 

Functions

std::string ecto::py::file_and_line_as_string (const char *file, long line)
 A stream buffer getting data from and putting data into a Python file object. More...
 

Macro Definition Documentation

#define TBXX_ASSERT (   condition)
Value:
if (!(condition)) { \
throw std::runtime_error( \
__FILE__, __LINE__) \
+ ": ASSERT(" #condition ") failure."); \
}
std::string file_and_line_as_string(const char *file, long line)
A stream buffer getting data from and putting data into a Python file object.
Definition: streambuf.hpp:167
#define TBXX_UNREACHABLE_ERROR ( )
Value:
std::runtime_error( \
"Control flow passes through branch that should be unreachable: " \
+ file_and_line_as_string(__FILE__, __LINE__))
std::string file_and_line_as_string(const char *file, long line)
A stream buffer getting data from and putting data into a Python file object.
Definition: streambuf.hpp:167