Public Member Functions | Public Attributes | List of all members
conftest.Capture Class Reference
Inheritance diagram for conftest.Capture:
Inheritance graph
[legend]

Public Member Functions

def __contains__ (self, item)
 
def __enter__ (self)
 
def __eq__ (self, other)
 
def __exit__ (self, args)
 
def __init__ (self, capfd)
 
def __str__ (self)
 
def stderr (self)
 
def unordered (self)
 
- Public Member Functions inherited from object
template<typename T >
T cast () const &
 
template<typename T >
T cast ()&&
 
template<>
void cast () const &
 
template<>
void cast ()&&
 
 object ()=default
 
 object (const object &o)
 Copy constructor; always increases the reference count. More...
 
 object (object &&other) noexcept
 Move constructor; steals the object from other and preserves its reference count. More...
 
 object (handle h, borrowed_t)
 
 object (handle h, stolen_t)
 
objectoperator= (const object &other)
 
objectoperator= (object &&other) noexcept
 
 PYBIND11_DEPRECATED ("Use reinterpret_borrow<object>() or reinterpret_steal<object>()") object(handle h
 
handle release ()
 
 ~object ()
 Destructor; automatically calls handle::dec_ref() More...
 
- Public Member Functions inherited from handle
template<typename T >
T cast () const
 
template<>
void cast () const
 
bool check () const
 
const handledec_ref () const &
 
 handle ()=default
 The default constructor creates a handle with a nullptr-valued pointer. More...
 
 handle (PyObject *ptr)
 Creates a handle from the given raw Python object pointer. More...
 
const handleinc_ref () const &
 
 operator bool () const
 Return true when the handle wraps a valid Python object. More...
 
bool operator!= (const handle &h) const
 
bool operator== (const handle &h) const
 
PyObject * ptr () const
 Return the underlying PyObject * pointer. More...
 
PyObject *& ptr ()
 

Public Attributes

 capfd
 
 err
 
 explanation
 
 out
 
- Public Attributes inherited from object
bool is_borrowed: handle(h) { if (is_borrowed) inc_ref()
 

Additional Inherited Members

- Protected Attributes inherited from handle
PyObject * m_ptr = nullptr
 

Detailed Description

Definition at line 78 of file conftest.py.

Constructor & Destructor Documentation

def conftest.Capture.__init__ (   self,
  capfd 
)

Definition at line 79 of file conftest.py.

Member Function Documentation

def conftest.Capture.__contains__ (   self,
  item 
)

Definition at line 103 of file conftest.py.

def conftest.Capture.__enter__ (   self)

Definition at line 84 of file conftest.py.

def conftest.Capture.__eq__ (   self,
  other 
)

Definition at line 91 of file conftest.py.

def conftest.Capture.__exit__ (   self,
  args 
)

Definition at line 88 of file conftest.py.

def conftest.Capture.__str__ (   self)

Definition at line 100 of file conftest.py.

def conftest.Capture.stderr (   self)

Definition at line 111 of file conftest.py.

def conftest.Capture.unordered (   self)

Definition at line 107 of file conftest.py.

Member Data Documentation

conftest.Capture.capfd

Definition at line 80 of file conftest.py.

conftest.Capture.err

Definition at line 82 of file conftest.py.

conftest.Capture.explanation

Definition at line 97 of file conftest.py.

conftest.Capture.out

Definition at line 81 of file conftest.py.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:58