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

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

Public Member Functions

 iterator (self)
 iterator(IntVector self) -> SwigPyIterator
 
 __iter__ (self)
 
 __bool__ (self)
 bool(IntVector self) -> bool
 
 __len__ (self)
 len(IntVector self) -> std::vector< int >::size_type
 
 __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 213 of file conopt.py.

Constructor & Destructor Documentation

◆ __init__()

conopt.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 372 of file conopt.py.

Member Function Documentation

◆ iterator()

conopt.IntVector.iterator ( self)

iterator(IntVector self) -> SwigPyIterator

Definition at line 219 of file conopt.py.

◆ __iter__()

conopt.IntVector.__iter__ ( self)

Definition at line 222 of file conopt.py.

◆ __bool__()

conopt.IntVector.__bool__ ( self)

bool(IntVector self) -> bool

Definition at line 225 of file conopt.py.

◆ __len__()

conopt.IntVector.__len__ ( self)

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

Definition at line 229 of file conopt.py.

◆ __delitem__()

conopt.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 233 of file conopt.py.

◆ __getitem__()

conopt.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 250 of file conopt.py.

◆ __setitem__()

conopt.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 267 of file conopt.py.

◆ pop()

conopt.IntVector.pop ( self)

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

Definition at line 292 of file conopt.py.

◆ append()

conopt.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 296 of file conopt.py.

◆ empty()

conopt.IntVector.empty ( self)

empty(IntVector self) -> bool

Definition at line 307 of file conopt.py.

◆ size()

conopt.IntVector.size ( self)

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

Definition at line 311 of file conopt.py.

◆ swap()

conopt.IntVector.swap ( self,
v )

swap(IntVector self, IntVector v)

Parameters

v: std::vector< int > &

Definition at line 315 of file conopt.py.

◆ begin()

conopt.IntVector.begin ( self)

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

Definition at line 326 of file conopt.py.

◆ end()

conopt.IntVector.end ( self)

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

Definition at line 330 of file conopt.py.

◆ rbegin()

conopt.IntVector.rbegin ( self)

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

Definition at line 334 of file conopt.py.

◆ rend()

conopt.IntVector.rend ( self)

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

Definition at line 338 of file conopt.py.

◆ clear()

conopt.IntVector.clear ( self)

clear(IntVector self)

Definition at line 342 of file conopt.py.

◆ get_allocator()

conopt.IntVector.get_allocator ( self)

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

Definition at line 346 of file conopt.py.

◆ pop_back()

conopt.IntVector.pop_back ( self)

pop_back(IntVector self)

Definition at line 350 of file conopt.py.

◆ erase()

conopt.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 354 of file conopt.py.

◆ push_back()

conopt.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 397 of file conopt.py.

◆ front()

conopt.IntVector.front ( self)

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

Definition at line 408 of file conopt.py.

◆ back()

conopt.IntVector.back ( self)

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

Definition at line 412 of file conopt.py.

◆ assign()

conopt.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 416 of file conopt.py.

◆ resize()

conopt.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 428 of file conopt.py.

◆ insert()

conopt.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 446 of file conopt.py.

◆ reserve()

conopt.IntVector.reserve ( self,
n )

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

Parameters

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

Definition at line 466 of file conopt.py.

◆ capacity()

conopt.IntVector.capacity ( self)

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

Definition at line 477 of file conopt.py.

Property Documentation

◆ thisown

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

Definition at line 216 of file conopt.py.


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