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