diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-05 18:59:02 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-05 18:59:02 +0200 |
commit | f407d6d4c5ea35f73c5aec72f8b492c259dc7dfe (patch) | |
tree | 0dcc05c86bf24ea36e5a5c9b9283535baca8454c /src/iteratorimpl.h | |
parent | 5d84ff5483f2db57762311714ff3c779db1e0f96 (diff) |
renamed iteratorimpl to valueiteratorimpl to make room for the upcoming iteratorimpl class
Diffstat (limited to 'src/iteratorimpl.h')
-rw-r--r-- | src/iteratorimpl.h | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/src/iteratorimpl.h b/src/iteratorimpl.h deleted file mode 100644 index babf9f0..0000000 --- a/src/iteratorimpl.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * IteratorImpl.h - * - * Interface that describes what an implementation of an iterator should - * look like. This is an internal class that extension developers do not - * need. - * - * @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com> - * @copyright 2014 Copernica BV - */ - -/** - * Set up namespace - */ -namespace Php { - -/** - * Class definition - */ -class IteratorImpl -{ -public: - /** - * Constructor - */ - IteratorImpl() {} - - /** - * Destructor - */ - virtual ~IteratorImpl() {} - - /** - * Clone the object - * @param tsrm_ls - * @return IteratorImpl* - */ - virtual IteratorImpl *clone() = 0; - - /** - * Increment position (pre-increment) - * @param tsrm_ls - * @return bool - */ - virtual bool increment() = 0; - - /** - * Decrement position (pre-decrement) - * @return bool - */ - virtual bool decrement() = 0; - - /** - * Compare with other iterator - * @param that - * @return bool - */ - virtual bool equals(const IteratorImpl *that) const = 0; - - /** - * Derefecence, this returns a std::pair with the current key and value - * @return std::pair - */ - virtual const std::pair<Value,Value> ¤t() const = 0; -}; - -/** - * End namespace - */ -} - |