ArrayMap::Iterator Class (C++)
To use this class, include the UnigineInterpreter.h file.
Unigine::ArrayMap::Iterator Class
Members
Iterator ()
Default constructor.Iterator (const Iterator & it)
Copy constructor.Arguments
- const Iterator & it - Iterator.
~Iterator ()
Destructor.Iterator & operator= (const Iterator & it)
Assignment operator for the iterator.Arguments
- const Iterator & it - Iterator to be assigned.
int operator== (const Iterator & it) const
Iterator equal comparison.Arguments
- const Iterator & it - The second iterator.
Return value
The result.int operator!= (const Iterator & it) const
Iterator not equal comparison.Arguments
- const Iterator & it - The second iterator.
Return value
The result.const Variable & key () const
Returns iterator's key.Return value
The iterator's key.const Variable & get () const
Returns iterator's data.Return value
The iterator's data.Iterator & operator++ ()
Increases the iterator position.Return value
The iterator referring to the next element.Iterator & operator-- ()
Decreases the iterator position.Return value
The iterator referring to the prev element.Iterator operator++ ()
Increases the iterator position.Return value
The iterator referring to the next element.Iterator operator-- ()
Decreases the iterator position.Return value
The iterator referring to the prev element.Last update: 03.07.2017
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter