#include <Type-OpenVolumeMesh/libs/OpenVolumeMesh/src/OpenVolumeMesh/Core/OpenVolumeMeshBaseProperty.hh>
|
| OpenVolumeMeshBaseProperty (const std::string &_name, const std::string &_internal_type_name) |
|
| OpenVolumeMeshBaseProperty (const OpenVolumeMeshBaseProperty &_rhs)=default |
|
virtual void | reserve (size_t _n)=0 |
| Reserve memory for n elements.
|
|
virtual void | resize (size_t _n)=0 |
| Resize storage to hold n elements.
|
|
virtual size_t | size () const =0 |
| Return underlying container size.
|
|
virtual void | clear ()=0 |
| Clear all elements and free memory.
|
|
virtual void | push_back ()=0 |
| Extend the number of elements by one.
|
|
virtual void | swap (size_t _i0, size_t _i1)=0 |
| Let two elements swap their storage place.
|
|
virtual void | delete_element (size_t _idx)=0 |
| Erase an element of the vector.
|
|
virtual OpenVolumeMeshBaseProperty * | clone () const =0 |
| Return a deep copy of self.
|
|
const std::string & | name () const |
| Return the name of the property.
|
|
const std::string & | internal_type_name () const |
|
virtual void | serialize (std::ostream &) const |
|
virtual void | deserialize (std::istream &) |
|
void | set_persistent (bool _persistent) |
|
bool | persistent () const |
|
virtual size_t | n_elements () const =0 |
| Number of elements in property.
|
|
virtual size_t | element_size () const =0 |
| Size of one element in bytes or UnknownSize if not known.
|
|
virtual size_t | size_of () const |
| Return size of property in bytes.
|
|
virtual size_t | size_of (size_t _n_elem) const |
|
const OpenVolumeMeshHandle & | handle () const |
|
void | set_handle (const OpenVolumeMeshHandle &_handle) |
|
|
static const size_t | UnknownSize = std::numeric_limits<size_t>::max() |
| Indicates an error when a size is returned by a member.
|
|
|
class | ResourceManager |
|
template<class PropT , class HandleT > |
class | PropertyPtr |
|
Abstract class defining the basic interface of a dynamic property.
Definition at line 53 of file OpenVolumeMeshBaseProperty.hh.
◆ size_of()
virtual size_t OpenVolumeMesh::OpenVolumeMeshBaseProperty::size_of |
( |
size_t |
_n_elem | ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following files: