Sparksee  6.0.2
Values Class Reference

Value set class. More...

Inheritance diagram for Values:
Inheritance graph
Collaboration diagram for Values:
Collaboration graph

Public Member Functions

virtual ~Values ()
 Destructor.
 
int64_t Count ()
 Gets the number of elements into the collection. More...
 
ValuesIteratorIterator (Order order)
 Gets a ValuesIterator. More...
 

Private Member Functions

sparksee_core::Values * GetHandler ()
 Gets the handled reference. More...
 
const sparksee_core::Values * GetHandler () const
 Gets the handled reference. More...
 
void SetHandler (sparksee_core::Values *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
 
class ValuesIterator
 

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

int64_t Values::Count ( )

Gets the number of elements into the collection.

Returns
The number of elements into the collection.
ValuesIterator* Values::Iterator ( Order  order)

Gets a ValuesIterator.

Returns
ValuesIterator instance.
Parameters
order[in] Ascending or descending order.

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