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

Public Member Functions

def __init__ (self, rows, cols, rowMajor)
 
def __iter__ (self)
 
def __next__ (self)
 
def next (self)
 
- Public Member Functions inherited from object
template<typename T >
T cast () &&
 
template<typename T >
T cast () const &
 
template<>
void cast () const &
 
 object ()=default
 
 object (const object &o)
 Copy constructor; always increases the reference count. More...
 
 object (handle h, borrowed_t)
 
 object (handle h, stolen_t)
 
 object (object &&other) noexcept
 Move constructor; steals the object from other and preserves its reference count. More...
 
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...
 
template<typename T , detail::enable_if_t< detail::all_of< detail::none_of< std::is_base_of< handle, T >, detail::is_pyobj_ptr_or_nullptr_t< T >>, std::is_convertible< T, PyObject * >>::value, int > = 0>
 handle (T &obj)
 Enable implicit conversion through T::operator PyObject *(). More...
 
template<typename T , detail::enable_if_t< detail::is_pyobj_ptr_or_nullptr_t< T >::value, int > = 0>
 handle (T ptr)
 
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 ()
 
PyObject * ptr () const
 Return the underlying PyObject * pointer. More...
 

Public Attributes

 cols
 
 currentCol
 
 currentRow
 
 rowMajor
 
 rows
 
- Public Attributes inherited from object
bool is_borrowed: handle(h) { if (is_borrowed) { inc_ref()
 

Additional Inherited Members

- Static Public Member Functions inherited from handle
static std::size_t inc_ref_counter ()
 
- Protected Attributes inherited from handle
PyObject * m_ptr = nullptr
 

Detailed Description

Definition at line 34 of file printers.py.

Constructor & Destructor Documentation

◆ __init__()

def gdb.printers._MatrixEntryIterator.__init__ (   self,
  rows,
  cols,
  rowMajor 
)

Definition at line 36 of file printers.py.

Member Function Documentation

◆ __iter__()

def gdb.printers._MatrixEntryIterator.__iter__ (   self)

Definition at line 43 of file printers.py.

◆ __next__()

def gdb.printers._MatrixEntryIterator.__next__ (   self)

◆ next()

def gdb.printers._MatrixEntryIterator.next (   self)

Definition at line 46 of file printers.py.

Member Data Documentation

◆ cols

gdb.printers._MatrixEntryIterator.cols

Definition at line 38 of file printers.py.

◆ currentCol

gdb.printers._MatrixEntryIterator.currentCol

Definition at line 40 of file printers.py.

◆ currentRow

gdb.printers._MatrixEntryIterator.currentRow

Definition at line 39 of file printers.py.

◆ rowMajor

gdb.printers._MatrixEntryIterator.rowMajor

Definition at line 41 of file printers.py.

◆ rows

gdb.printers._MatrixEntryIterator.rows

Definition at line 37 of file printers.py.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:15:06