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 (self, __res_arg=0)
 
def copy (self, __s, __n, __pos=0)
 
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 begin (self)
 
def end (self)
 
def rbegin (self)
 
def rend (self)
 
def get_allocator (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 200 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 371 of file pcbnew.py.

Member Function Documentation

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

Definition at line 500 of file pcbnew.py.

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

Definition at line 414 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 442 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 437 of file pcbnew.py.

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

Definition at line 520 of file pcbnew.py.

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

Definition at line 540 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 450 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 424 of file pcbnew.py.

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

Definition at line 530 of file pcbnew.py.

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

Definition at line 495 of file pcbnew.py.

def pcbnew.string.__iter__ (   self)

Definition at line 406 of file pcbnew.py.

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

Definition at line 545 of file pcbnew.py.

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

Definition at line 419 of file pcbnew.py.

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

Definition at line 535 of file pcbnew.py.

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

Definition at line 525 of file pcbnew.py.

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

Definition at line 409 of file pcbnew.py.

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

Definition at line 505 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 515 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 458 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)
__setslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j, string v)

Definition at line 429 of file pcbnew.py.

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

Definition at line 510 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 384 of file pcbnew.py.

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

Definition at line 335 of file pcbnew.py.

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

Definition at line 240 of file pcbnew.py.

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

Definition at line 219 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 232 of file pcbnew.py.

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

Definition at line 320 of file pcbnew.py.

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

Definition at line 340 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 360 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 245 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 289 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 267 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 300 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 278 of file pcbnew.py.

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

Definition at line 355 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 467 of file pcbnew.py.

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

Definition at line 402 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 209 of file pcbnew.py.

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

Definition at line 214 of file pcbnew.py.

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

Definition at line 345 of file pcbnew.py.

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

Definition at line 350 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 480 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 224 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 394 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 256 of file pcbnew.py.

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

Definition at line 325 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 311 of file pcbnew.py.

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

Definition at line 330 of file pcbnew.py.

Member Data Documentation

pcbnew.string.this

Definition at line 382 of file pcbnew.py.


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