KiCAD pcbnew scripting
Public Member Functions | Public Attributes | List of all members
pcbnew.string Class Reference
Inheritance diagram for pcbnew.string:
Inheritance graph
[legend]

Public Member Functions

def length (self)
 
def max_size (self)
 
def capacity (self)
 
def reserve
 
def copy
 
def c_str (self)
 
def find (self, args)
 
def rfind (self, args)
 
def find_first_of (self, args)
 
def find_last_of (self, args)
 
def find_first_not_of (self, args)
 
def find_last_not_of (self, args)
 
def substr (self, args)
 
def empty (self)
 
def size (self)
 
def swap (self, v)
 
def get_allocator (self)
 
def begin (self)
 
def end (self)
 
def rbegin (self)
 
def rend (self)
 
def erase (self, args)
 
def __init__ (self, args)
 
def assign (self, args)
 
def resize (self, args)
 
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 insert (self, args)
 
def replace (self, args)
 
def __iadd__ (self, v)
 
def __add__ (self, v)
 
def __radd__ (self, v)
 
def __str__ (self)
 
def __rlshift__ (self, out)
 
def __eq__ (self, v)
 
def __ne__ (self, v)
 
def __gt__ (self, v)
 
def __lt__ (self, v)
 
def __ge__ (self, v)
 
def __le__ (self, v)
 

Public Attributes

 this
 

Detailed Description

Proxy of C++ std::basic_string<(char)> class

Definition at line 199 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.string.__init__ (   self,
  args 
)
__init__(std::basic_string<(char)> self, char const * __s, std::basic_string< char >::size_type __n) -> string
__init__(std::basic_string<(char)> self) -> string
__init__(std::basic_string<(char)> self, string arg2) -> string
__init__(std::basic_string<(char)> self, std::basic_string< char >::size_type size, std::basic_string< char >::value_type value) -> string

Definition at line 369 of file pcbnew.py.

Member Function Documentation

def pcbnew.string.__add__ (   self,
  v 
)
__add__(string self, string v) -> string

Definition at line 498 of file pcbnew.py.

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

Definition at line 412 of file pcbnew.py.

def pcbnew.string.__delitem__ (   self,
  args 
)
__delitem__(string self, std::basic_string< char >::difference_type i)
__delitem__(string self, PySliceObject * slice)

Definition at line 440 of file pcbnew.py.

def pcbnew.string.__delslice__ (   self,
  i,
  j 
)
__delslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j)

Definition at line 435 of file pcbnew.py.

def pcbnew.string.__eq__ (   self,
  v 
)
__eq__(string self, string v) -> bool

Definition at line 518 of file pcbnew.py.

def pcbnew.string.__ge__ (   self,
  v 
)
__ge__(string self, string v) -> bool

Definition at line 538 of file pcbnew.py.

def pcbnew.string.__getitem__ (   self,
  args 
)
__getitem__(string self, PySliceObject * slice) -> string
__getitem__(string self, std::basic_string< char >::difference_type i) -> std::basic_string< char >::value_type

Definition at line 448 of file pcbnew.py.

def pcbnew.string.__getslice__ (   self,
  i,
  j 
)
__getslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j) -> string

Definition at line 422 of file pcbnew.py.

def pcbnew.string.__gt__ (   self,
  v 
)
__gt__(string self, string v) -> bool

Definition at line 528 of file pcbnew.py.

def pcbnew.string.__iadd__ (   self,
  v 
)
__iadd__(string self, string v) -> string

Definition at line 493 of file pcbnew.py.

def pcbnew.string.__iter__ (   self)

Definition at line 404 of file pcbnew.py.

def pcbnew.string.__le__ (   self,
  v 
)
__le__(string self, string v) -> bool

Definition at line 543 of file pcbnew.py.

def pcbnew.string.__len__ (   self)
__len__(string self) -> std::basic_string< char >::size_type

Definition at line 417 of file pcbnew.py.

def pcbnew.string.__lt__ (   self,
  v 
)
__lt__(string self, string v) -> bool

Definition at line 533 of file pcbnew.py.

def pcbnew.string.__ne__ (   self,
  v 
)
__ne__(string self, string v) -> bool

Definition at line 523 of file pcbnew.py.

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

Definition at line 407 of file pcbnew.py.

def pcbnew.string.__radd__ (   self,
  v 
)
__radd__(string self, string v) -> string

Definition at line 503 of file pcbnew.py.

def pcbnew.string.__rlshift__ (   self,
  out 
)
__rlshift__(string self, std::basic_ostream< char,std::char_traits< char > > & out) -> std::basic_ostream< char,std::char_traits< char > > &

Definition at line 513 of file pcbnew.py.

def pcbnew.string.__setitem__ (   self,
  args 
)
__setitem__(string self, PySliceObject * slice, string v)
__setitem__(string self, PySliceObject * slice)
__setitem__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::value_type x)

Definition at line 456 of file pcbnew.py.

def pcbnew.string.__setslice__ (   self,
  args 
)
__setslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j, string v)
__setslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j)

Definition at line 427 of file pcbnew.py.

def pcbnew.string.__str__ (   self)
__str__(string self) -> string

Definition at line 508 of file pcbnew.py.

Here is the caller graph for this function:

def pcbnew.string.assign (   self,
  args 
)
assign(string self, string __str) -> string
assign(string self, string __str, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> string
assign(string self, char const * __s, std::basic_string< char >::size_type __n) -> string
assign(string self, std::basic_string< char >::size_type n, std::basic_string< char >::value_type x)

Definition at line 382 of file pcbnew.py.

def pcbnew.string.begin (   self)
begin(string self) -> std::basic_string< char >::iterator

Definition at line 338 of file pcbnew.py.

def pcbnew.string.c_str (   self)
c_str(string self) -> char const *

Definition at line 238 of file pcbnew.py.

def pcbnew.string.capacity (   self)
capacity(string self) -> std::basic_string< char >::size_type

Definition at line 217 of file pcbnew.py.

def pcbnew.string.copy (   self,
  __s,
  __n,
  __pos = 0 
)
copy(string self, char * __s, std::basic_string< char >::size_type __n, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
copy(string self, char * __s, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type

Definition at line 230 of file pcbnew.py.

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

Definition at line 318 of file pcbnew.py.

def pcbnew.string.end (   self)
end(string self) -> std::basic_string< char >::iterator

Definition at line 343 of file pcbnew.py.

def pcbnew.string.erase (   self,
  args 
)
erase(string self, std::basic_string< char >::size_type __pos=0, std::basic_string< char >::size_type __n) -> string
erase(string self, std::basic_string< char >::size_type __pos=0) -> string
erase(string self) -> string
erase(string self, std::basic_string< char >::iterator pos) -> std::basic_string< char >::iterator
erase(string self, std::basic_string< char >::iterator first, std::basic_string< char >::iterator last) -> std::basic_string< char >::iterator

Definition at line 358 of file pcbnew.py.

def pcbnew.string.find (   self,
  args 
)
find(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
find(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
find(string self, string __str) -> std::basic_string< char >::size_type
find(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
find(string self, char __c) -> std::basic_string< char >::size_type

Definition at line 243 of file pcbnew.py.

def pcbnew.string.find_first_not_of (   self,
  args 
)
find_first_not_of(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
find_first_not_of(string self, string __str) -> std::basic_string< char >::size_type
find_first_not_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
find_first_not_of(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
find_first_not_of(string self, char __c) -> std::basic_string< char >::size_type

Definition at line 287 of file pcbnew.py.

def pcbnew.string.find_first_of (   self,
  args 
)
find_first_of(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
find_first_of(string self, string __str) -> std::basic_string< char >::size_type
find_first_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
find_first_of(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
find_first_of(string self, char __c) -> std::basic_string< char >::size_type

Definition at line 265 of file pcbnew.py.

def pcbnew.string.find_last_not_of (   self,
  args 
)
find_last_not_of(string self, string __str, std::basic_string< char >::size_type __pos) -> std::basic_string< char >::size_type
find_last_not_of(string self, string __str) -> std::basic_string< char >::size_type
find_last_not_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
find_last_not_of(string self, char __c, std::basic_string< char >::size_type __pos) -> std::basic_string< char >::size_type
find_last_not_of(string self, char __c) -> std::basic_string< char >::size_type

Definition at line 298 of file pcbnew.py.

def pcbnew.string.find_last_of (   self,
  args 
)
find_last_of(string self, string __str, std::basic_string< char >::size_type __pos) -> std::basic_string< char >::size_type
find_last_of(string self, string __str) -> std::basic_string< char >::size_type
find_last_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
find_last_of(string self, char __c, std::basic_string< char >::size_type __pos) -> std::basic_string< char >::size_type
find_last_of(string self, char __c) -> std::basic_string< char >::size_type

Definition at line 276 of file pcbnew.py.

def pcbnew.string.get_allocator (   self)
get_allocator(string self) -> std::basic_string< char >::allocator_type

Definition at line 333 of file pcbnew.py.

def pcbnew.string.insert (   self,
  args 
)
insert(string self, std::basic_string< char >::size_type __pos1, string __str) -> string
insert(string self, std::basic_string< char >::size_type __pos1, string __str, std::basic_string< char >::size_type __pos2, std::basic_string< char >::size_type __n) -> string
insert(string self, std::basic_string< char >::size_type __pos, char const * __s, std::basic_string< char >::size_type __n) -> string
insert(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n, char __c) -> string
insert(string self, std::basic_string< char >::iterator pos, std::basic_string< char >::value_type x) -> std::basic_string< char >::iterator
insert(string self, std::basic_string< char >::iterator pos, std::basic_string< char >::size_type n, std::basic_string< char >::value_type x)
insert(string self, std::basic_string< char >::iterator __p, std::basic_string< char >::size_type __n, char __c)

Definition at line 465 of file pcbnew.py.

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

Definition at line 400 of file pcbnew.py.

Here is the caller graph for this function:

def pcbnew.string.length (   self)
length(string self) -> std::basic_string< char >::size_type

Definition at line 207 of file pcbnew.py.

def pcbnew.string.max_size (   self)
max_size(string self) -> std::basic_string< char >::size_type

Definition at line 212 of file pcbnew.py.

def pcbnew.string.rbegin (   self)
rbegin(string self) -> std::basic_string< char >::reverse_iterator

Definition at line 348 of file pcbnew.py.

def pcbnew.string.rend (   self)
rend(string self) -> std::basic_string< char >::reverse_iterator

Definition at line 353 of file pcbnew.py.

def pcbnew.string.replace (   self,
  args 
)
replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n, string __str) -> string
replace(string self, std::basic_string< char >::size_type __pos1, std::basic_string< char >::size_type __n1, string __str, std::basic_string< char >::size_type __pos2, std::basic_string< char >::size_type __n2) -> string
replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n1, char const * __s, std::basic_string< char >::size_type __n2) -> string
replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n1, std::basic_string< char >::size_type __n2, char __c) -> string
replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, string __str) -> string
replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, char const * __s, std::basic_string< char >::size_type __n) -> string
replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, std::basic_string< char >::size_type __n, char __c) -> string
replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, char const * __k1, char const * __k2) -> string
replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, std::basic_string< char >::const_iterator __k1, std::basic_string< char >::const_iterator __k2) -> string

Definition at line 478 of file pcbnew.py.

def pcbnew.string.reserve (   self,
  __res_arg = 0 
)
reserve(string self, std::basic_string< char >::size_type __res_arg=0)
reserve(string self)

Definition at line 222 of file pcbnew.py.

def pcbnew.string.resize (   self,
  args 
)
resize(string self, std::basic_string< char >::size_type new_size)
resize(string self, std::basic_string< char >::size_type new_size, std::basic_string< char >::value_type x)

Definition at line 392 of file pcbnew.py.

def pcbnew.string.rfind (   self,
  args 
)
rfind(string self, string __str, std::basic_string< char >::size_type __pos) -> std::basic_string< char >::size_type
rfind(string self, string __str) -> std::basic_string< char >::size_type
rfind(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
rfind(string self, char __c, std::basic_string< char >::size_type __pos) -> std::basic_string< char >::size_type
rfind(string self, char __c) -> std::basic_string< char >::size_type

Definition at line 254 of file pcbnew.py.

def pcbnew.string.size (   self)
size(string self) -> std::basic_string< char >::size_type

Definition at line 323 of file pcbnew.py.

def pcbnew.string.substr (   self,
  args 
)
substr(string self, std::basic_string< char >::size_type __pos=0, std::basic_string< char >::size_type __n) -> string
substr(string self, std::basic_string< char >::size_type __pos=0) -> string
substr(string self) -> string

Definition at line 309 of file pcbnew.py.

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

Definition at line 328 of file pcbnew.py.

Member Data Documentation

pcbnew.string.this

Definition at line 380 of file pcbnew.py.


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