MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstVector_char_VertId:

Public Member Functions

bool __eq__ (self, ConstVector_char_VertId b)
str __getitem__ (self, ConstVertId i)
 __init__ (self, *args, **kwargs)
typing.Iterator[str] __iter__ (self)
int __len__ (self)
bool __ne__ (self, ConstVector_char_VertId b)
str back (self)
VertId backId (self)
VertId beginId (self)
int capacity (self)
str data (self)
bool empty (self)
VertId endId (self)
str front (self)
int heapBytes (self)
int max_size (self)
int size (self)
Const_std_vector_char_Allocator_char vec (self)

Static Public Attributes

 ConstStdVector = Const_std_vector_char_Allocator_char
 StdVector = std_vector_char_Allocator_char

Static Protected Attributes

typing _offsetof_vec = 0

Detailed Description

Generated from:  MR::Vector<char, MR::VertId>

Vector<T> is indexed by size_t

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstVector_char_VertId.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstVector_char_VertId) -> None

creates empty vector

2. __init__(self: meshlib.mrmeshpy.ConstVector_char_VertId, size: int) -> None

creates a vector with \\p size elements with default value

3. __init__(self: meshlib.mrmeshpy.ConstVector_char_VertId, size: int, val: str) -> None

creates a vector with \\p size elements with the given value

4. __init__(self: meshlib.mrmeshpy.ConstVector_char_VertId, arg0: list) -> None

5. __init__(self: meshlib.mrmeshpy.ConstVector_char_VertId, arg0: meshlib.mrmeshpy.ConstVector_char_VertId) -> None

Implicit copy constructor.

6. __init__(self: meshlib.mrmeshpy.ConstVector_char_VertId, : meshlib.mrmeshpy.ConstVector_char_VertId) -> None

Member Function Documentation

◆ __eq__()

bool mrmeshpy.ConstVector_char_VertId.__eq__ ( self,
ConstVector_char_VertId b )

◆ __getitem__()

str mrmeshpy.ConstVector_char_VertId.__getitem__ ( self,
ConstVertId i )

◆ __iter__()

typing.Iterator[str] mrmeshpy.ConstVector_char_VertId.__iter__ ( self)

◆ __len__()

int mrmeshpy.ConstVector_char_VertId.__len__ ( self)

◆ __ne__()

bool mrmeshpy.ConstVector_char_VertId.__ne__ ( self,
ConstVector_char_VertId b )

◆ back()

str mrmeshpy.ConstVector_char_VertId.back ( self)

◆ backId()

VertId mrmeshpy.ConstVector_char_VertId.backId ( self)
returns the identifier of the back() element

◆ beginId()

VertId mrmeshpy.ConstVector_char_VertId.beginId ( self)
returns the identifier of the first element

◆ capacity()

int mrmeshpy.ConstVector_char_VertId.capacity ( self)

◆ data()

str mrmeshpy.ConstVector_char_VertId.data ( self)

◆ empty()

bool mrmeshpy.ConstVector_char_VertId.empty ( self)

◆ endId()

VertId mrmeshpy.ConstVector_char_VertId.endId ( self)
returns backId() + 1

◆ front()

str mrmeshpy.ConstVector_char_VertId.front ( self)

◆ heapBytes()

int mrmeshpy.ConstVector_char_VertId.heapBytes ( self)
returns the amount of memory this object occupies on heap

◆ max_size()

int mrmeshpy.ConstVector_char_VertId.max_size ( self)

◆ size()

int mrmeshpy.ConstVector_char_VertId.size ( self)

◆ vec()

Const_std_vector_char_Allocator_char mrmeshpy.ConstVector_char_VertId.vec ( self)
The user can directly manipulate the vector, they can't break anything anyway.

Reimplemented in mrmeshpy.Vector_char_VertId, and mrmeshpy.Vector_char_VertId.

Member Data Documentation

◆ _offsetof_vec

typing mrmeshpy.ConstVector_char_VertId._offsetof_vec = 0
staticprotected

◆ ConstStdVector

mrmeshpy.ConstVector_char_VertId.ConstStdVector = Const_std_vector_char_Allocator_char
static

◆ StdVector

mrmeshpy.ConstVector_char_VertId.StdVector = std_vector_char_Allocator_char
static

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