diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-07-27 16:30:17 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-07-27 16:30:17 +0200 |
commit | 5cf1b5d53db6ddeb4b8d371baef0d9c37c0fa231 (patch) | |
tree | 42419b2397dc2c40137fe71f0bb49b11dfb9f536 /include/value.h | |
parent | 5e8c9017107dd48150790ac7027d9cdc67d8b09c (diff) |
renamed subclassOf() to derivedFrom() (added to pull request #110)
Diffstat (limited to 'include/value.h')
-rw-r--r-- | include/value.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/value.h b/include/value.h index e6b8d69..853be96 100644 --- a/include/value.h +++ b/include/value.h @@ -991,9 +991,9 @@ public: * @param allowString Is it allowed for 'this' to be a string * @return bool */ - bool subclassOf(const char *classname, size_t size, bool allowString = false) const; - bool subclassOf(const char *classname, bool allowString = false) const { return subclassOf(classname, strlen(classname), allowString); } - bool subclassOf(const std::string &classname, bool allowString = false) const { return subclassOf(classname.c_str(), classname.size(), allowString); } + bool derivedFrom(const char *classname, size_t size, bool allowString = false) const; + bool derivedFrom(const char *classname, bool allowString = false) const { return derivedFrom(classname, strlen(classname), allowString); } + bool derivedFrom(const std::string &classname, bool allowString = false) const { return derivedFrom(classname.c_str(), classname.size(), allowString); } private: |