#include <libs_required/OpenVolumeMesh/src/OpenVolumeMesh/Core/OpenVolumeMeshProperty.hh>
|
|
typedef std::vector< bool > | vector_type |
| |
|
typedef bool | value_type |
| |
|
typedef vector_type::reference | reference |
| |
typedef
vector_type::const_reference | const_reference |
| |
|
|
| OpenVolumeMeshPropertyT (const std::string &_name="<unknown>", const bool _def=bool()) |
| |
|
virtual void | reserve (size_t _n) |
| | Reserve memory for n elements.
|
| |
|
virtual void | resize (size_t _n) |
| | Resize storage to hold n elements.
|
| |
|
virtual void | clear () |
| | Clear all elements and free memory.
|
| |
|
virtual void | push_back () |
| | Extend the number of elements by one.
|
| |
|
virtual void | swap (size_t _i0, size_t _i1) |
| | Let two elements swap their storage place.
|
| |
|
virtual void | copy (size_t _src_idx, size_t _dst_idx) |
| |
|
void | delete_element (size_t _idx) |
| | Erase an element of the vector.
|
| |
|
virtual size_t | n_elements () const |
| | Number of elements in property.
|
| |
|
virtual size_t | element_size () const |
| | 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 |
| |
|
virtual void | serialize (std::ostream &_ostr) const |
| |
|
virtual void | deserialize (std::istream &_istr) |
| |
|
reference | operator[] (size_t _idx) |
| | Access the i'th element. No range check is performed!
|
| |
|
const_reference | operator[] (size_t _idx) const |
| | Const access to the i'th element. No range check is performed!
|
| |
|
OpenVolumeMeshPropertyT< bool > * | clone () const |
| | Make a copy of self.
|
| |
|
vector_type::const_iterator | begin () const |
| |
|
vector_type::iterator | begin () |
| |
|
vector_type::const_iterator | end () const |
| |
|
vector_type::iterator | end () |
| |
|
| OpenVolumeMeshBaseProperty (const std::string &_name="<unknown>") |
| |
|
| OpenVolumeMeshBaseProperty (const OpenVolumeMeshBaseProperty &_rhs) |
| |
|
const std::string & | name () const |
| | Return the name of the property.
|
| |
|
void | set_persistent (bool _persistent) |
| |
|
bool | persistent () const |
| |
|
const OpenVolumeMeshHandle & | handle () const |
| |
|
void | set_handle (const OpenVolumeMeshHandle &_handle) |
| |
|
|
vector_type | data_ |
| |
|
const bool | def_ |
| |
|
|
template<class PropT , class HandleT > |
| class | PropertyPtr |
| |
|
|
static const size_t | UnknownSize = std::numeric_limits<size_t>::max() |
| | Indicates an error when a size is returned by a member.
|
| |
template<>
class OpenVolumeMesh::OpenVolumeMeshPropertyT< bool >
Property specialization for bool type.
Definition at line 240 of file OpenVolumeMeshProperty.hh.
The documentation for this class was generated from the following file: