Sparksee  6.0.2
KeyValues Class Reference

Value set class. More...

Inheritance diagram for KeyValues:
Inheritance graph
Collaboration diagram for KeyValues:
Collaboration graph

Public Member Functions

virtual ~KeyValues ()
 Destructor.
 
bool_t HasNext ()
 Checks if the KeyValues has more KeyValue pairs. More...
 
KeyValueNext ()
 Gets the next KeyValue pair. More...
 
void Next (KeyValue &kv)
 Gets the next KeyValue pair. More...
 

Private Member Functions

sparksee_core::KeyValues * GetHandler ()
 Gets the handled reference. More...
 
const sparksee_core::KeyValues * GetHandler () const
 Gets the handled reference. More...
 
void SetHandler (sparksee_core::KeyValues *h)
 Sets the handled reference. More...
 
void FreeHandler ()
 Frees (deletes) the handled reference.
 
bool_t IsNull () const
 Gets if the handler is NULL. More...
 

Friends

class Graph
 

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

Member Function Documentation

bool_t KeyValues::HasNext ( )

Checks if the KeyValues has more KeyValue pairs.

Returns
Returns ture if there are more KeyValue pairs
KeyValue* KeyValues::Next ( )

Gets the next KeyValue pair.

Returns
Returns the next KeyValue pair
void KeyValues::Next ( KeyValue kv)

Gets the next KeyValue pair.

Parameters
kvReturns the next KeyValue pair

The documentation for this class was generated from the following file: