From f6c60f3c46b0945bc5ec46b1592da709ecdb309e Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 16 Aug 2018 07:15:36 +0000 Subject: [PATCH] added StrBase::isEmpty() --- qse/include/qse/cmn/StrBase.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qse/include/qse/cmn/StrBase.hpp b/qse/include/qse/cmn/StrBase.hpp index 6caf0338..122cc079 100644 --- a/qse/include/qse/cmn/StrBase.hpp +++ b/qse/include/qse/cmn/StrBase.hpp @@ -359,6 +359,11 @@ protected: public: + bool isEmpty() const + { + return this->_item->size <= 0; + } + qse_size_t getSize () const { return this->_item->size;