Public Member Functions |
| OpenVolumeMeshBaseProperty (const std::string &_name="<unknown>") |
| OpenVolumeMeshBaseProperty (const OpenVolumeMeshBaseProperty &_rhs) |
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 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.
|
virtual void | serialize (std::ostream &_ostr) 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 Public Attributes |
static const size_t | UnknownSize = std::numeric_limits<size_t>::max() |
| Indicates an error when a size is returned by a member.
|
Protected Member Functions |
virtual void | delete_multiple_entries (const std::vector< bool > &)=0 |
| Delete multiple entries in list.
|
Friends |
class | ResourceManager |
class | PropertyPtr |
Member Function Documentation
virtual size_t OpenVolumeMesh::OpenVolumeMeshBaseProperty::size_of |
( |
size_t |
_n_elem | ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following files: