CONOPT
|
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") | |
Proxy of C++ std::vector< int > class.
Definition at line 227 of file pyconopt.py.
pyconopt.IntVector.__init__ | ( | self, | |
* | args ) |
init(IntVector self) -> IntVector init(IntVector self, IntVector other) -> IntVector
other: std::vector< int > const &
init(IntVector self, std::vector< int >::size_type size) -> IntVector
size: std::vector< int >::size_type
init(IntVector self, std::vector< int >::size_type size, std::vector< int >::value_type const & value) -> IntVector
size: std::vector< int >::size_type value: std::vector< int >::value_type const &
Definition at line 434 of file pyconopt.py.
pyconopt.IntVector.iterator | ( | self | ) |
iterator(IntVector self) -> SwigPyIterator
Definition at line 233 of file pyconopt.py.
pyconopt.IntVector.__iter__ | ( | self | ) |
Definition at line 236 of file pyconopt.py.
pyconopt.IntVector.__nonzero__ | ( | self | ) |
nonzero(IntVector self) -> bool
Definition at line 239 of file pyconopt.py.
pyconopt.IntVector.__bool__ | ( | self | ) |
bool(IntVector self) -> bool
Definition at line 243 of file pyconopt.py.
pyconopt.IntVector.__len__ | ( | self | ) |
len(IntVector self) -> std::vector< int >::size_type
Definition at line 247 of file pyconopt.py.
pyconopt.IntVector.__getslice__ | ( | self, | |
i, | |||
j ) |
getslice(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> IntVector
i: std::vector< int >::difference_type j: std::vector< int >::difference_type
Definition at line 251 of file pyconopt.py.
pyconopt.IntVector.__setslice__ | ( | self, | |
* | args ) |
setslice(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)
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)
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.
pyconopt.IntVector.__delslice__ | ( | self, | |
i, | |||
j ) |
delslice(IntVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)
i: std::vector< int >::difference_type j: std::vector< int >::difference_type
Definition at line 283 of file pyconopt.py.
pyconopt.IntVector.__delitem__ | ( | self, | |
* | args ) |
delitem(IntVector self, std::vector< int >::difference_type i)
i: std::vector< int >::difference_type
delitem(IntVector self, SWIGPY_SLICEOBJECT * slice)
slice: SWIGPY_SLICEOBJECT *
Definition at line 295 of file pyconopt.py.
pyconopt.IntVector.__getitem__ | ( | self, | |
* | args ) |
getitem(IntVector self, SWIGPY_SLICEOBJECT * slice) -> IntVector
slice: SWIGPY_SLICEOBJECT *
getitem(IntVector self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const &
i: std::vector< int >::difference_type
Definition at line 312 of file pyconopt.py.
pyconopt.IntVector.__setitem__ | ( | self, | |
* | args ) |
setitem(IntVector self, SWIGPY_SLICEOBJECT * slice, IntVector v)
slice: SWIGPY_SLICEOBJECT * v: std::vector< int,std::allocator< int > > const &
setitem(IntVector self, SWIGPY_SLICEOBJECT * slice)
slice: SWIGPY_SLICEOBJECT *
setitem(IntVector self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)
i: std::vector< int >::difference_type x: std::vector< int >::value_type const &
Definition at line 329 of file pyconopt.py.
pyconopt.IntVector.pop | ( | self | ) |
pop(IntVector self) -> std::vector< int >::value_type
Definition at line 354 of file pyconopt.py.
pyconopt.IntVector.append | ( | self, | |
x ) |
append(IntVector self, std::vector< int >::value_type const & x)
x: std::vector< int >::value_type const &
Definition at line 358 of file pyconopt.py.
pyconopt.IntVector.empty | ( | self | ) |
empty(IntVector self) -> bool
Definition at line 369 of file pyconopt.py.
pyconopt.IntVector.size | ( | self | ) |
size(IntVector self) -> std::vector< int >::size_type
Definition at line 373 of file pyconopt.py.
pyconopt.IntVector.swap | ( | self, | |
v ) |
swap(IntVector self, IntVector v)
v: std::vector< int > &
Definition at line 377 of file pyconopt.py.
pyconopt.IntVector.begin | ( | self | ) |
begin(IntVector self) -> std::vector< int >::iterator
Definition at line 388 of file pyconopt.py.
pyconopt.IntVector.end | ( | self | ) |
end(IntVector self) -> std::vector< int >::iterator
Definition at line 392 of file pyconopt.py.
pyconopt.IntVector.rbegin | ( | self | ) |
rbegin(IntVector self) -> std::vector< int >::reverse_iterator
Definition at line 396 of file pyconopt.py.
pyconopt.IntVector.rend | ( | self | ) |
rend(IntVector self) -> std::vector< int >::reverse_iterator
Definition at line 400 of file pyconopt.py.
pyconopt.IntVector.clear | ( | self | ) |
clear(IntVector self)
Definition at line 404 of file pyconopt.py.
pyconopt.IntVector.get_allocator | ( | self | ) |
get_allocator(IntVector self) -> std::vector< int >::allocator_type
Definition at line 408 of file pyconopt.py.
pyconopt.IntVector.pop_back | ( | self | ) |
pop_back(IntVector self)
Definition at line 412 of file pyconopt.py.
pyconopt.IntVector.erase | ( | self, | |
* | args ) |
erase(IntVector self, std::vector< int >::iterator pos) -> std::vector< int >::iterator
pos: std::vector< int >::iterator
erase(IntVector self, std::vector< int >::iterator first, std::vector< int >::iterator last) -> std::vector< int >::iterator
first: std::vector< int >::iterator last: std::vector< int >::iterator
Definition at line 416 of file pyconopt.py.
pyconopt.IntVector.push_back | ( | self, | |
x ) |
push_back(IntVector self, std::vector< int >::value_type const & x)
x: std::vector< int >::value_type const &
Definition at line 459 of file pyconopt.py.
pyconopt.IntVector.front | ( | self | ) |
front(IntVector self) -> std::vector< int >::value_type const &
Definition at line 470 of file pyconopt.py.
pyconopt.IntVector.back | ( | self | ) |
back(IntVector self) -> std::vector< int >::value_type const &
Definition at line 474 of file pyconopt.py.
pyconopt.IntVector.assign | ( | self, | |
n, | |||
x ) |
assign(IntVector self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)
n: std::vector< int >::size_type x: std::vector< int >::value_type const &
Definition at line 478 of file pyconopt.py.
pyconopt.IntVector.resize | ( | self, | |
* | args ) |
resize(IntVector self, std::vector< int >::size_type new_size)
new_size: std::vector< int >::size_type
resize(IntVector self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x)
new_size: std::vector< int >::size_type x: std::vector< int >::value_type const &
Definition at line 490 of file pyconopt.py.
pyconopt.IntVector.insert | ( | self, | |
* | args ) |
insert(IntVector self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator
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)
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.
pyconopt.IntVector.reserve | ( | self, | |
n ) |
reserve(IntVector self, std::vector< int >::size_type n)
n: std::vector< int >::size_type
Definition at line 528 of file pyconopt.py.
pyconopt.IntVector.capacity | ( | self | ) |
capacity(IntVector self) -> std::vector< int >::size_type
Definition at line 539 of file pyconopt.py.
|
static |
Definition at line 230 of file pyconopt.py.