Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, int size) |
None | __init__ (self, int size, Dipole val) |
None | __init__ (self, std_vector_Dipole vec) |
None | __init__ (self, Dipoles arg0) |
typing.Iterator | __iter__ (self) |
Dipole | autoResizeAt (self, NodeId i) |
None | autoResizeSet (self, NodeId pos, int len, Dipole val) |
None | autoResizeSet (self, NodeId i, Dipole val) |
Dipole | back (self) |
Dipole | back (self) |
NodeId | backId (self) |
NodeId | beginId (self) |
int | capacity (self) |
None | clear (self) |
Dipole | data (self) |
Dipole | data (self) |
bool | empty (self) |
NodeId | endId (self) |
Dipole | front (self) |
Dipole | front (self) |
int | heapBytes (self) |
None | pop_back (self) |
None | push_back (self, Dipole t) |
None | push_back (self, Dipole t) |
None | reserve (self, int capacity) |
None | resize (self, int newSize) |
None | resize (self, int newSize, Dipole t) |
None | resizeWithReserve (self, int newSize) |
None | resizeWithReserve (self, int newSize, Dipole value) |
int | size (self) |
None | swap (self, Dipoles b) |
std_vector_Dipole | vec_ (self) |
None | vec_ (self, std_vector_Dipole arg1) |
Protected Member Functions | |
Dipole | _Subscript (self, NodeId i) |
Dipole | _Subscript (self, NodeId i) |
Generated from: MR::Dipoles Aliases: Vector_Dipole_NodeId \\brief std::vector<T>-like container that requires specific indexing type, \\tparam T type of stored elements \\tparam I type of index (shall be convertible to size_t) \\ingroup BasicGroup
None meshlib.mrmeshpy.Dipoles.__init__ | ( | self | ) |
None meshlib.mrmeshpy.Dipoles.__init__ | ( | self, | |
int | size ) |
None meshlib.mrmeshpy.Dipoles.__init__ | ( | self, | |
int | size, | ||
Dipole | val ) |
None meshlib.mrmeshpy.Dipoles.__init__ | ( | self, | |
std_vector_Dipole | vec ) |
None meshlib.mrmeshpy.Dipoles.__init__ | ( | self, | |
Dipoles | arg0 ) |
Implicit copy constructor.
typing.Iterator meshlib.mrmeshpy.Dipoles.__iter__ | ( | self | ) |
this accessor automatically adjusts the size of the vector
sets elements [pos, pos+len) to given value, adjusting the size of the vector to include new elements
Dipole meshlib.mrmeshpy.Dipoles.back | ( | self | ) |
Dipole meshlib.mrmeshpy.Dipoles.back | ( | self | ) |
NodeId meshlib.mrmeshpy.Dipoles.backId | ( | self | ) |
returns the identifier of the back() element
NodeId meshlib.mrmeshpy.Dipoles.beginId | ( | self | ) |
returns the identifier of the first element
int meshlib.mrmeshpy.Dipoles.capacity | ( | self | ) |
None meshlib.mrmeshpy.Dipoles.clear | ( | self | ) |
Dipole meshlib.mrmeshpy.Dipoles.data | ( | self | ) |
Dipole meshlib.mrmeshpy.Dipoles.data | ( | self | ) |
bool meshlib.mrmeshpy.Dipoles.empty | ( | self | ) |
NodeId meshlib.mrmeshpy.Dipoles.endId | ( | self | ) |
returns backId() + 1
Dipole meshlib.mrmeshpy.Dipoles.front | ( | self | ) |
Dipole meshlib.mrmeshpy.Dipoles.front | ( | self | ) |
int meshlib.mrmeshpy.Dipoles.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
None meshlib.mrmeshpy.Dipoles.pop_back | ( | self | ) |
None meshlib.mrmeshpy.Dipoles.push_back | ( | self, | |
Dipole | t ) |
None meshlib.mrmeshpy.Dipoles.push_back | ( | self, | |
Dipole | t ) |
None meshlib.mrmeshpy.Dipoles.reserve | ( | self, | |
int | capacity ) |
None meshlib.mrmeshpy.Dipoles.resize | ( | self, | |
int | newSize ) |
None meshlib.mrmeshpy.Dipoles.resize | ( | self, | |
int | newSize, | ||
Dipole | t ) |
None meshlib.mrmeshpy.Dipoles.resizeWithReserve | ( | self, | |
int | newSize ) |
doubles reserved memory until resize(newSize) can be done without reallocation
None meshlib.mrmeshpy.Dipoles.resizeWithReserve | ( | self, | |
int | newSize, | ||
Dipole | value ) |
doubles reserved memory until resize(newSize) can be done without reallocation
int meshlib.mrmeshpy.Dipoles.size | ( | self | ) |
None meshlib.mrmeshpy.Dipoles.swap | ( | self, | |
Dipoles | b ) |
std_vector_Dipole meshlib.mrmeshpy.Dipoles.vec_ | ( | self | ) |
the user can directly manipulate the vector, anyway she cannot break anything
None meshlib.mrmeshpy.Dipoles.vec_ | ( | self, | |
std_vector_Dipole | arg1 ) |