Sparksee 6.1.0
STSKeyValues Class Reference

Value set class. More...

#include <Sparksee.h>

Inheritance diagram for STSKeyValues:
Inheritance graph
Collaboration diagram for STSKeyValues:
Collaboration graph

Instance Methods

(BOOL) - hasNext
 Checks if the KeyValues has more KeyValue pairs.
(STSKeyValue *) - next
 Gets the next KeyValue pair.
(void) - nextKeyValue:
 Gets the next KeyValue pair.
(void) - close
 Closes the KeyValues instance.
(BOOL) - isClosed
 Check if the KeyValues instance is closed.

Detailed Description

Value set class.

This is a set of Value instances, that is there is no duplicated elements.

Use a ValuesIterator to traverse all the elements into the set.

When the Values instance is closed, it closes all existing and non-closed ValuesIterator instances too.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Method Documentation

◆ close

- (void) close

Closes the KeyValues instance.

It must be called to ensure the integrity of all data.

References close.

Referenced by close.

◆ hasNext

- (BOOL) hasNext

Checks if the KeyValues has more KeyValue pairs.

Returns
Returns ture if there are more KeyValue pairs

References hasNext.

Referenced by hasNext.

◆ next

- (STSKeyValue *) next

Gets the next KeyValue pair.

Returns
Returns the next KeyValue pair

References next.

Referenced by next.

◆ nextKeyValue:

- (void) nextKeyValue: (STSKeyValue *) kv

Gets the next KeyValue pair.

Parameters
kvReturns the next KeyValue pair

The documentation for this class was generated from the following file:
  • Sparksee.h