CONOPT
Loading...
Searching...
No Matches
pyconopt.IntVector Class Reference

Proxy of C++ std::vector< int > class. More...

Public Member Functions

 iterator (self)
 iterator(IntVector self) -> SwigPyIterator
 
 __iter__ (self)
 
 __nonzero__ (self)
 nonzero(IntVector self) -> bool
 
 __bool__ (self)
 bool(IntVector self) -> bool
 
 __len__ (self)
 len(IntVector self) -> std::vector< int >::size_type
 
 __getslice__ (self, i, j)
 getslice(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> IntVector
 
 __setslice__ (self, *args)
 setslice(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)
 
 __delslice__ (self, i, j)
 delslice(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)
 
 __delitem__ (self, *args)
 delitem(IntVector self, std::vector< int >::difference_type i)
 
 __getitem__ (self, *args)
 getitem(IntVector self, SWIGPY_SLICEOBJECT * slice) -> IntVector
 
 __setitem__ (self, *args)
 setitem(IntVector self, SWIGPY_SLICEOBJECT * slice, IntVector v)
 
 pop (self)
 pop(IntVector self) -> std::vector< int >::value_type
 
 append (self, x)
 append(IntVector self, std::vector< int >::value_type const & x)
 
 empty (self)
 empty(IntVector self) -> bool
 
 size (self)
 size(IntVector self) -> std::vector< int >::size_type
 
 swap (self, v)
 swap(IntVector self, IntVector v)
 
 begin (self)
 begin(IntVector self) -> std::vector< int >::iterator
 
 end (self)
 end(IntVector self) -> std::vector< int >::iterator
 
 rbegin (self)
 rbegin(IntVector self) -> std::vector< int >::reverse_iterator
 
 rend (self)
 rend(IntVector self) -> std::vector< int >::reverse_iterator
 
 clear (self)
 clear(IntVector self)
 
 get_allocator (self)
 get_allocator(IntVector self) -> std::vector< int >::allocator_type
 
 pop_back (self)
 pop_back(IntVector self)
 
 erase (self, *args)
 erase(IntVector self, std::vector< int >::iterator pos) -> std::vector< int >::iterator
 
 __init__ (self, *args)
 init(IntVector self) -> IntVector init(IntVector self, IntVector other) -> IntVector
 
 push_back (self, x)
 push_back(IntVector self, std::vector< int >::value_type const & x)
 
 front (self)
 front(IntVector self) -> std::vector< int >::value_type const &
 
 back (self)
 back(IntVector self) -> std::vector< int >::value_type const &
 
 assign (self, n, x)
 assign(IntVector self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)
 
 resize (self, *args)
 resize(IntVector self, std::vector< int >::size_type new_size)
 
 insert (self, *args)
 insert(IntVector self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator
 
 reserve (self, n)
 reserve(IntVector self, std::vector< int >::size_type n)
 
 capacity (self)
 capacity(IntVector self) -> std::vector< int >::size_type
 

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< int > class.

Definition at line 227 of file pyconopt.py.

Constructor & Destructor Documentation

◆ __init__()

pyconopt.IntVector.__init__ ( self,
* args )

init(IntVector self) -> IntVector init(IntVector self, IntVector other) -> IntVector

Parameters

other: std::vector< int > const &

init(IntVector self, std::vector< int >::size_type size) -> IntVector

Parameters

size: std::vector< int >::size_type

init(IntVector self, std::vector< int >::size_type size, std::vector< int >::value_type const & value) -> IntVector

Parameters

size: std::vector< int >::size_type value: std::vector< int >::value_type const &

Definition at line 434 of file pyconopt.py.

Member Function Documentation

◆ iterator()

pyconopt.IntVector.iterator ( self)

iterator(IntVector self) -> SwigPyIterator

Definition at line 233 of file pyconopt.py.

◆ __iter__()

pyconopt.IntVector.__iter__ ( self)

Definition at line 236 of file pyconopt.py.

◆ __nonzero__()

pyconopt.IntVector.__nonzero__ ( self)

nonzero(IntVector self) -> bool

Definition at line 239 of file pyconopt.py.

◆ __bool__()

pyconopt.IntVector.__bool__ ( self)

bool(IntVector self) -> bool

Definition at line 243 of file pyconopt.py.

◆ __len__()

pyconopt.IntVector.__len__ ( self)

len(IntVector self) -> std::vector< int >::size_type

Definition at line 247 of file pyconopt.py.

◆ __getslice__()

pyconopt.IntVector.__getslice__ ( self,
i,
j )

getslice(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> IntVector

Parameters

i: std::vector< int >::difference_type j: std::vector< int >::difference_type

Definition at line 251 of file pyconopt.py.

◆ __setslice__()

pyconopt.IntVector.__setslice__ ( self,
* args )

setslice(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)

Parameters

i: std::vector< int >::difference_type j: std::vector< int >::difference_type

setslice(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, IntVector v)

Parameters

i: std::vector< int >::difference_type j: std::vector< int >::difference_type v: std::vector< int,std::allocator< int > > const &

Definition at line 263 of file pyconopt.py.

◆ __delslice__()

pyconopt.IntVector.__delslice__ ( self,
i,
j )

delslice(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)

Parameters

i: std::vector< int >::difference_type j: std::vector< int >::difference_type

Definition at line 283 of file pyconopt.py.

◆ __delitem__()

pyconopt.IntVector.__delitem__ ( self,
* args )

delitem(IntVector self, std::vector< int >::difference_type i)

Parameters

i: std::vector< int >::difference_type

delitem(IntVector self, SWIGPY_SLICEOBJECT * slice)

Parameters

slice: SWIGPY_SLICEOBJECT *

Definition at line 295 of file pyconopt.py.

◆ __getitem__()

pyconopt.IntVector.__getitem__ ( self,
* args )

getitem(IntVector self, SWIGPY_SLICEOBJECT * slice) -> IntVector

Parameters

slice: SWIGPY_SLICEOBJECT *

getitem(IntVector self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const &

Parameters

i: std::vector< int >::difference_type

Definition at line 312 of file pyconopt.py.

◆ __setitem__()

pyconopt.IntVector.__setitem__ ( self,
* args )

setitem(IntVector self, SWIGPY_SLICEOBJECT * slice, IntVector v)

Parameters

slice: SWIGPY_SLICEOBJECT * v: std::vector< int,std::allocator< int > > const &

setitem(IntVector self, SWIGPY_SLICEOBJECT * slice)

Parameters

slice: SWIGPY_SLICEOBJECT *

setitem(IntVector self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)

Parameters

i: std::vector< int >::difference_type x: std::vector< int >::value_type const &

Definition at line 329 of file pyconopt.py.

◆ pop()

pyconopt.IntVector.pop ( self)

pop(IntVector self) -> std::vector< int >::value_type

Definition at line 354 of file pyconopt.py.

◆ append()

pyconopt.IntVector.append ( self,
x )

append(IntVector self, std::vector< int >::value_type const & x)

Parameters

x: std::vector< int >::value_type const &

Definition at line 358 of file pyconopt.py.

◆ empty()

pyconopt.IntVector.empty ( self)

empty(IntVector self) -> bool

Definition at line 369 of file pyconopt.py.

◆ size()

pyconopt.IntVector.size ( self)

size(IntVector self) -> std::vector< int >::size_type

Definition at line 373 of file pyconopt.py.

◆ swap()

pyconopt.IntVector.swap ( self,
v )

swap(IntVector self, IntVector v)

Parameters

v: std::vector< int > &

Definition at line 377 of file pyconopt.py.

◆ begin()

pyconopt.IntVector.begin ( self)

begin(IntVector self) -> std::vector< int >::iterator

Definition at line 388 of file pyconopt.py.

◆ end()

pyconopt.IntVector.end ( self)

end(IntVector self) -> std::vector< int >::iterator

Definition at line 392 of file pyconopt.py.

◆ rbegin()

pyconopt.IntVector.rbegin ( self)

rbegin(IntVector self) -> std::vector< int >::reverse_iterator

Definition at line 396 of file pyconopt.py.

◆ rend()

pyconopt.IntVector.rend ( self)

rend(IntVector self) -> std::vector< int >::reverse_iterator

Definition at line 400 of file pyconopt.py.

◆ clear()

pyconopt.IntVector.clear ( self)

clear(IntVector self)

Definition at line 404 of file pyconopt.py.

◆ get_allocator()

pyconopt.IntVector.get_allocator ( self)

get_allocator(IntVector self) -> std::vector< int >::allocator_type

Definition at line 408 of file pyconopt.py.

◆ pop_back()

pyconopt.IntVector.pop_back ( self)

pop_back(IntVector self)

Definition at line 412 of file pyconopt.py.

◆ erase()

pyconopt.IntVector.erase ( self,
* args )

erase(IntVector self, std::vector< int >::iterator pos) -> std::vector< int >::iterator

Parameters

pos: std::vector< int >::iterator

erase(IntVector self, std::vector< int >::iterator first, std::vector< int >::iterator last) -> std::vector< int >::iterator

Parameters

first: std::vector< int >::iterator last: std::vector< int >::iterator

Definition at line 416 of file pyconopt.py.

◆ push_back()

pyconopt.IntVector.push_back ( self,
x )

push_back(IntVector self, std::vector< int >::value_type const & x)

Parameters

x: std::vector< int >::value_type const &

Definition at line 459 of file pyconopt.py.

◆ front()

pyconopt.IntVector.front ( self)

front(IntVector self) -> std::vector< int >::value_type const &

Definition at line 470 of file pyconopt.py.

◆ back()

pyconopt.IntVector.back ( self)

back(IntVector self) -> std::vector< int >::value_type const &

Definition at line 474 of file pyconopt.py.

◆ assign()

pyconopt.IntVector.assign ( self,
n,
x )

assign(IntVector self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)

Parameters

n: std::vector< int >::size_type x: std::vector< int >::value_type const &

Definition at line 478 of file pyconopt.py.

◆ resize()

pyconopt.IntVector.resize ( self,
* args )

resize(IntVector self, std::vector< int >::size_type new_size)

Parameters

new_size: std::vector< int >::size_type

resize(IntVector self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x)

Parameters

new_size: std::vector< int >::size_type x: std::vector< int >::value_type const &

Definition at line 490 of file pyconopt.py.

◆ insert()

pyconopt.IntVector.insert ( self,
* args )

insert(IntVector self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator

Parameters

pos: std::vector< int >::iterator x: std::vector< int >::value_type const &

insert(IntVector self, std::vector< int >::iterator pos, std::vector< int >::size_type n, std::vector< int >::value_type const & x)

Parameters

pos: std::vector< int >::iterator n: std::vector< int >::size_type x: std::vector< int >::value_type const &

Definition at line 508 of file pyconopt.py.

◆ reserve()

pyconopt.IntVector.reserve ( self,
n )

reserve(IntVector self, std::vector< int >::size_type n)

Parameters

n: std::vector< int >::size_type

Definition at line 528 of file pyconopt.py.

◆ capacity()

pyconopt.IntVector.capacity ( self)

capacity(IntVector self) -> std::vector< int >::size_type

Definition at line 539 of file pyconopt.py.

Property Documentation

◆ thisown

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

Definition at line 230 of file pyconopt.py.


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