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

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

Public Member Functions

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

Definition at line 865 of file pyconopt.py.

Constructor & Destructor Documentation

◆ __init__()

pyconopt.StringVector.__init__ ( self,
* args )

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

Parameters

other: std::vector< std::string > const &

init(StringVector self, std::vector< std::string >::size_type size) -> StringVector

Parameters

size: std::vector< std::string >::size_type

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

Parameters

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

Definition at line 1072 of file pyconopt.py.

Member Function Documentation

◆ iterator()

pyconopt.StringVector.iterator ( self)

iterator(StringVector self) -> SwigPyIterator

Definition at line 871 of file pyconopt.py.

◆ __iter__()

pyconopt.StringVector.__iter__ ( self)

Definition at line 874 of file pyconopt.py.

◆ __nonzero__()

pyconopt.StringVector.__nonzero__ ( self)

nonzero(StringVector self) -> bool

Definition at line 877 of file pyconopt.py.

◆ __bool__()

pyconopt.StringVector.__bool__ ( self)

bool(StringVector self) -> bool

Definition at line 881 of file pyconopt.py.

◆ __len__()

pyconopt.StringVector.__len__ ( self)

len(StringVector self) -> std::vector< std::string >::size_type

Definition at line 885 of file pyconopt.py.

◆ __getslice__()

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

getslice(StringVector self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) -> StringVector

Parameters

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

Definition at line 889 of file pyconopt.py.

◆ __setslice__()

pyconopt.StringVector.__setslice__ ( self,
* args )

setslice(StringVector self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j)

Parameters

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

setslice(StringVector self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j, StringVector v)

Parameters

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

Definition at line 901 of file pyconopt.py.

◆ __delslice__()

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

delslice(StringVector self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j)

Parameters

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

Definition at line 921 of file pyconopt.py.

◆ __delitem__()

pyconopt.StringVector.__delitem__ ( self,
* args )

delitem(StringVector self, std::vector< std::string >::difference_type i)

Parameters

i: std::vector< std::string >::difference_type

delitem(StringVector self, SWIGPY_SLICEOBJECT * slice)

Parameters

slice: SWIGPY_SLICEOBJECT *

Definition at line 933 of file pyconopt.py.

◆ __getitem__()

pyconopt.StringVector.__getitem__ ( self,
* args )

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

Parameters

slice: SWIGPY_SLICEOBJECT *

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

Parameters

i: std::vector< std::string >::difference_type

Definition at line 950 of file pyconopt.py.

◆ __setitem__()

pyconopt.StringVector.__setitem__ ( self,
* args )

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

Parameters

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

setitem(StringVector self, SWIGPY_SLICEOBJECT * slice)

Parameters

slice: SWIGPY_SLICEOBJECT *

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

Parameters

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

Definition at line 967 of file pyconopt.py.

◆ pop()

pyconopt.StringVector.pop ( self)

pop(StringVector self) -> std::vector< std::string >::value_type

Definition at line 992 of file pyconopt.py.

◆ append()

pyconopt.StringVector.append ( self,
x )

append(StringVector self, std::vector< std::string >::value_type const & x)

Parameters

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

Definition at line 996 of file pyconopt.py.

◆ empty()

pyconopt.StringVector.empty ( self)

empty(StringVector self) -> bool

Definition at line 1007 of file pyconopt.py.

◆ size()

pyconopt.StringVector.size ( self)

size(StringVector self) -> std::vector< std::string >::size_type

Definition at line 1011 of file pyconopt.py.

◆ swap()

pyconopt.StringVector.swap ( self,
v )

swap(StringVector self, StringVector v)

Parameters

v: std::vector< std::string > &

Definition at line 1015 of file pyconopt.py.

◆ begin()

pyconopt.StringVector.begin ( self)

begin(StringVector self) -> std::vector< std::string >::iterator

Definition at line 1026 of file pyconopt.py.

◆ end()

pyconopt.StringVector.end ( self)

end(StringVector self) -> std::vector< std::string >::iterator

Definition at line 1030 of file pyconopt.py.

◆ rbegin()

pyconopt.StringVector.rbegin ( self)

rbegin(StringVector self) -> std::vector< std::string >::reverse_iterator

Definition at line 1034 of file pyconopt.py.

◆ rend()

pyconopt.StringVector.rend ( self)

rend(StringVector self) -> std::vector< std::string >::reverse_iterator

Definition at line 1038 of file pyconopt.py.

◆ clear()

pyconopt.StringVector.clear ( self)

clear(StringVector self)

Definition at line 1042 of file pyconopt.py.

◆ get_allocator()

pyconopt.StringVector.get_allocator ( self)

get_allocator(StringVector self) -> std::vector< std::string >::allocator_type

Definition at line 1046 of file pyconopt.py.

◆ pop_back()

pyconopt.StringVector.pop_back ( self)

pop_back(StringVector self)

Definition at line 1050 of file pyconopt.py.

◆ erase()

pyconopt.StringVector.erase ( self,
* args )

erase(StringVector self, std::vector< std::string >::iterator pos) -> std::vector< std::string >::iterator

Parameters

pos: std::vector< std::string >::iterator

erase(StringVector self, std::vector< std::string >::iterator first, std::vector< std::string >::iterator last) -> std::vector< std::string >::iterator

Parameters

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

Definition at line 1054 of file pyconopt.py.

◆ push_back()

pyconopt.StringVector.push_back ( self,
x )

push_back(StringVector self, std::vector< std::string >::value_type const & x)

Parameters

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

Definition at line 1097 of file pyconopt.py.

◆ front()

pyconopt.StringVector.front ( self)

front(StringVector self) -> std::vector< std::string >::value_type const &

Definition at line 1108 of file pyconopt.py.

◆ back()

pyconopt.StringVector.back ( self)

back(StringVector self) -> std::vector< std::string >::value_type const &

Definition at line 1112 of file pyconopt.py.

◆ assign()

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

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

Parameters

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

Definition at line 1116 of file pyconopt.py.

◆ resize()

pyconopt.StringVector.resize ( self,
* args )

resize(StringVector self, std::vector< std::string >::size_type new_size)

Parameters

new_size: std::vector< std::string >::size_type

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

Parameters

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

Definition at line 1128 of file pyconopt.py.

◆ insert()

pyconopt.StringVector.insert ( self,
* args )

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

Parameters

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

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

Parameters

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

Definition at line 1146 of file pyconopt.py.

◆ reserve()

pyconopt.StringVector.reserve ( self,
n )

reserve(StringVector self, std::vector< std::string >::size_type n)

Parameters

n: std::vector< std::string >::size_type

Definition at line 1166 of file pyconopt.py.

◆ capacity()

pyconopt.StringVector.capacity ( self)

capacity(StringVector self) -> std::vector< std::string >::size_type

Definition at line 1177 of file pyconopt.py.

Property Documentation

◆ thisown

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

Definition at line 868 of file pyconopt.py.


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