Commit 56d5ce57 authored by Mike Kremer's avatar Mike Kremer

Made property_exists() template function private.

git-svn-id: http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk@226 66977474-1d4b-4f09-8fe9-267525286df2
parent a64ae736
......@@ -218,6 +218,8 @@ public:
Properties::const_iterator mesh_props_end() const { return mesh_props_.end(); }
private:
template <class FullPropT, class PropIterT>
bool property_exists(const PropIterT& _begin, const PropIterT& _end, const std::string& _name) const {
......@@ -235,6 +237,8 @@ public:
return false;
}
public:
template <class PropT>
bool vertex_property_exists(const std::string& _name) const {
return property_exists<VertexPropertyT<PropT> >(vertex_props_begin(), vertex_props_end(), _name);
......
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