KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
pcbnew.VECTOR_SHAPEPTR Class Reference
Inheritance diagram for pcbnew.VECTOR_SHAPEPTR:
Inheritance graph
[legend]

Public Member Functions

def iterator (self)
 
def __iter__ (self)
 
def __nonzero__ (self)
 
def __bool__ (self)
 
def __len__ (self)
 
def __getslice__ (self, i, j)
 
def __setslice__ (self, *args)
 
def __delslice__ (self, i, j)
 
def __delitem__ (self, *args)
 
def __getitem__ (self, *args)
 
def __setitem__ (self, *args)
 
def pop (self)
 
def append (self, x)
 
def empty (self)
 
def size (self)
 
def swap (self, v)
 
def begin (self)
 
def end (self)
 
def rbegin (self)
 
def rend (self)
 
def clear (self)
 
def get_allocator (self)
 
def pop_back (self)
 
def erase (self, *args)
 
def __init__ (self, *args)
 
def push_back (self, x)
 
def front (self)
 
def back (self)
 
def assign (self, n, x)
 
def resize (self, *args)
 
def insert (self, *args)
 
def reserve (self, n)
 
def capacity (self)
 
def __iter__ (self)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Proxy of C++ std::vector< std::shared_ptr< SHAPE > > class.

Definition at line 7448 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.VECTOR_SHAPEPTR.__init__ (   self,
args 
)
    __init__(VECTOR_SHAPEPTR self) -> VECTOR_SHAPEPTR
    __init__(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR other) -> VECTOR_SHAPEPTR
    __init__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type size) -> VECTOR_SHAPEPTR
    __init__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type size, std::vector< std::shared_ptr< SHAPE > >::value_type const & value) -> VECTOR_SHAPEPTR

Definition at line 7564 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ __bool__()

def pcbnew.VECTOR_SHAPEPTR.__bool__ (   self)
__bool__(VECTOR_SHAPEPTR self) -> bool

Definition at line 7464 of file pcbnew.py.

◆ __delitem__()

def pcbnew.VECTOR_SHAPEPTR.__delitem__ (   self,
args 
)
    __delitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i)
    __delitem__(VECTOR_SHAPEPTR self, PySliceObject * slice)

Definition at line 7487 of file pcbnew.py.

Here is the caller graph for this function:

◆ __delslice__()

def pcbnew.VECTOR_SHAPEPTR.__delslice__ (   self,
  i,
  j 
)
__delslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)

Definition at line 7483 of file pcbnew.py.

◆ __getitem__()

def pcbnew.VECTOR_SHAPEPTR.__getitem__ (   self,
args 
)
    __getitem__(VECTOR_SHAPEPTR self, PySliceObject * slice) -> VECTOR_SHAPEPTR
    __getitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &

Definition at line 7494 of file pcbnew.py.

Here is the caller graph for this function:

◆ __getslice__()

def pcbnew.VECTOR_SHAPEPTR.__getslice__ (   self,
  i,
  j 
)
__getslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j) -> VECTOR_SHAPEPTR

Definition at line 7472 of file pcbnew.py.

◆ __iter__() [1/2]

def pcbnew.VECTOR_SHAPEPTR.__iter__ (   self)

Definition at line 7457 of file pcbnew.py.

◆ __iter__() [2/2]

def pcbnew.VECTOR_SHAPEPTR.__iter__ (   self)

Definition at line 7611 of file pcbnew.py.

◆ __len__()

def pcbnew.VECTOR_SHAPEPTR.__len__ (   self)
__len__(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type

Definition at line 7468 of file pcbnew.py.

◆ __nonzero__()

def pcbnew.VECTOR_SHAPEPTR.__nonzero__ (   self)
__nonzero__(VECTOR_SHAPEPTR self) -> bool

Definition at line 7460 of file pcbnew.py.

◆ __setitem__()

def pcbnew.VECTOR_SHAPEPTR.__setitem__ (   self,
args 
)
    __setitem__(VECTOR_SHAPEPTR self, PySliceObject * slice, VECTOR_SHAPEPTR v)
    __setitem__(VECTOR_SHAPEPTR self, PySliceObject * slice)
    __setitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)

Definition at line 7501 of file pcbnew.py.

Here is the caller graph for this function:

◆ __setslice__()

def pcbnew.VECTOR_SHAPEPTR.__setslice__ (   self,
args 
)
    __setslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)
    __setslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j, VECTOR_SHAPEPTR v)

Definition at line 7476 of file pcbnew.py.

Here is the caller graph for this function:

◆ append()

def pcbnew.VECTOR_SHAPEPTR.append (   self,
  x 
)
append(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)

Definition at line 7513 of file pcbnew.py.

◆ assign()

def pcbnew.VECTOR_SHAPEPTR.assign (   self,
  n,
  x 
)
assign(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)

Definition at line 7585 of file pcbnew.py.

◆ back()

def pcbnew.VECTOR_SHAPEPTR.back (   self)
back(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &

Definition at line 7581 of file pcbnew.py.

◆ begin()

def pcbnew.VECTOR_SHAPEPTR.begin (   self)
begin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator

Definition at line 7529 of file pcbnew.py.

◆ capacity()

def pcbnew.VECTOR_SHAPEPTR.capacity (   self)
capacity(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type

Definition at line 7607 of file pcbnew.py.

◆ clear()

def pcbnew.VECTOR_SHAPEPTR.clear (   self)
clear(VECTOR_SHAPEPTR self)

Definition at line 7545 of file pcbnew.py.

◆ empty()

def pcbnew.VECTOR_SHAPEPTR.empty (   self)
empty(VECTOR_SHAPEPTR self) -> bool

Definition at line 7517 of file pcbnew.py.

◆ end()

def pcbnew.VECTOR_SHAPEPTR.end (   self)
end(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator

Definition at line 7533 of file pcbnew.py.

◆ erase()

def pcbnew.VECTOR_SHAPEPTR.erase (   self,
args 
)
    erase(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator pos) -> std::vector< std::shared_ptr< SHAPE > >::iterator
    erase(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator first, std::vector< std::shared_ptr< SHAPE > >::iterator last) -> std::vector< std::shared_ptr< SHAPE > >::iterator

Definition at line 7557 of file pcbnew.py.

Here is the caller graph for this function:

◆ front()

def pcbnew.VECTOR_SHAPEPTR.front (   self)
front(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &

Definition at line 7577 of file pcbnew.py.

◆ get_allocator()

def pcbnew.VECTOR_SHAPEPTR.get_allocator (   self)
get_allocator(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::allocator_type

Definition at line 7549 of file pcbnew.py.

◆ insert()

def pcbnew.VECTOR_SHAPEPTR.insert (   self,
args 
)
    insert(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator pos, std::vector< std::shared_ptr< SHAPE > >::value_type const & x) -> std::vector< std::shared_ptr< SHAPE > >::iterator
    insert(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator pos, std::vector< std::shared_ptr< SHAPE > >::size_type n, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)

Definition at line 7596 of file pcbnew.py.

Here is the caller graph for this function:

◆ iterator()

def pcbnew.VECTOR_SHAPEPTR.iterator (   self)
iterator(VECTOR_SHAPEPTR self) -> SwigPyIterator

Definition at line 7454 of file pcbnew.py.

Here is the caller graph for this function:

◆ pop()

def pcbnew.VECTOR_SHAPEPTR.pop (   self)
pop(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type

Definition at line 7509 of file pcbnew.py.

◆ pop_back()

def pcbnew.VECTOR_SHAPEPTR.pop_back (   self)
pop_back(VECTOR_SHAPEPTR self)

Definition at line 7553 of file pcbnew.py.

◆ push_back()

def pcbnew.VECTOR_SHAPEPTR.push_back (   self,
  x 
)
push_back(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)

Definition at line 7573 of file pcbnew.py.

◆ rbegin()

def pcbnew.VECTOR_SHAPEPTR.rbegin (   self)
rbegin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator

Definition at line 7537 of file pcbnew.py.

◆ rend()

def pcbnew.VECTOR_SHAPEPTR.rend (   self)
rend(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator

Definition at line 7541 of file pcbnew.py.

◆ reserve()

def pcbnew.VECTOR_SHAPEPTR.reserve (   self,
  n 
)
reserve(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n)

Definition at line 7603 of file pcbnew.py.

◆ resize()

def pcbnew.VECTOR_SHAPEPTR.resize (   self,
args 
)
    resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size)
    resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)

Definition at line 7589 of file pcbnew.py.

Here is the caller graph for this function:

◆ size()

def pcbnew.VECTOR_SHAPEPTR.size (   self)
size(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type

Definition at line 7521 of file pcbnew.py.

◆ swap()

def pcbnew.VECTOR_SHAPEPTR.swap (   self,
  v 
)
swap(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR v)

Definition at line 7525 of file pcbnew.py.

Property Documentation

◆ thisown

pcbnew.VECTOR_SHAPEPTR.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 7451 of file pcbnew.py.


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