43 #ifndef BASEPROPERTY_HH_
44 #define BASEPROPERTY_HH_
48 #include "OpenVolumeMeshHandle.hh"
50 namespace OpenVolumeMesh {
52 class ResourceManager;
66 virtual const std::string& name()
const = 0;
68 virtual void delete_element(
size_t _idx) = 0;
70 virtual void serialize(std::ostream& _ostr)
const = 0;
72 virtual void deserialize(std::istream& _istr) = 0;
76 virtual bool persistent()
const = 0;
78 virtual bool anonymous()
const = 0;
82 virtual void delete_multiple_entries(
const std::vector<bool>& _tags) = 0;
84 virtual void resize(
unsigned int ) = 0;
88 void lock() { lock_ =
true; }
90 void unlock() { lock_ =
false; }
92 bool locked()
const {
return lock_; }