+ make isReadOnly & isHidden of PropertyContainer non-virtual

This commit is contained in:
wmayer
2015-11-14 02:07:57 +01:00
parent 68fc3b5917
commit 0cddf520d0
8 changed files with 37 additions and 46 deletions

View File

@@ -156,7 +156,7 @@ public:
const char* getPropertyGroup(const char *name) const {
return props->getPropertyGroup(name);
}
/// get the Group of a Property
/// get the Documentation of a Property
const char* getPropertyDocumentation(const Property* prop) const {
return props->getPropertyDocumentation(prop);
}
@@ -164,22 +164,6 @@ public:
const char* getPropertyDocumentation(const char *name) const {
return props->getPropertyDocumentation(name);
}
/// check if the property is read-only
bool isReadOnly(const Property* prop) const {
return props->isReadOnly(prop);
}
/// check if the nameed property is read-only
bool isReadOnly(const char *name) const {
return props->isReadOnly(name);
}
/// check if the property is hidden
bool isHidden(const Property* prop) const {
return props->isHidden(prop);
}
/// check if the named property is hidden
bool isHidden(const char *name) const {
return props->isHidden(name);
}
//@}
/** @name Property serialization */