Commit 7d9d01a7 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

PropertyManager: Added PropertyManager::propertyExists() method.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@807 fdac6126-5c0c-442c-9429-916003d36597
parent 152719a8
......@@ -115,6 +115,11 @@ class PropertyManager {
std::swap(retain_, rhs.retain_);
}
static bool propertyExists(MeshT &mesh, const char *propname) {
PROPTYPE dummy;
return mesh.get_property_handle(dummy, propname);
}
#if __cplusplus > 199711L or __GXX_EXPERIMENTAL_CXX0X__
/**
* Move constructor. Transfers ownership (delete responsibility).
......
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