Commit 6707088d authored by Mike Kremer's avatar Mike Kremer
Browse files

Made properties unresizable by user.

git-svn-id: http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk@112 66977474-1d4b-4f09-8fe9-267525286df2
parent 4dcc56e0
...@@ -65,8 +65,6 @@ public: ...@@ -65,8 +65,6 @@ public:
virtual BaseProperty& operator= (BaseProperty& _rhs); virtual BaseProperty& operator= (BaseProperty& _rhs);
virtual void resize(unsigned int /*_size*/) = 0;
virtual const std::string& name() const = 0; virtual const std::string& name() const = 0;
virtual void delete_element(size_t _idx) = 0; virtual void delete_element(size_t _idx) = 0;
...@@ -76,6 +74,7 @@ public: ...@@ -76,6 +74,7 @@ public:
virtual std::istream& deserialize(std::istream& _istr) = 0; virtual std::istream& deserialize(std::istream& _istr) = 0;
protected: protected:
virtual void resize(unsigned int /*_size*/) = 0;
virtual const void* ptr() const = 0; virtual const void* ptr() const = 0;
......
...@@ -113,8 +113,6 @@ public: ...@@ -113,8 +113,6 @@ public:
typename PropT::reference operator[](size_t _idx); typename PropT::reference operator[](size_t _idx);
virtual void resize(unsigned int _size);
virtual const std::string& name() const; virtual const std::string& name() const;
/// Access the encapsulated pointer /// Access the encapsulated pointer
...@@ -129,6 +127,8 @@ public: ...@@ -129,6 +127,8 @@ public:
protected: protected:
virtual void resize(unsigned int _size);
virtual const void* ptr() const { return h_->ptr_; } virtual const void* ptr() const { return h_->ptr_; }
virtual void set_handle(const OpenVolumeMeshHandle& _handle); virtual void set_handle(const OpenVolumeMeshHandle& _handle);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment