commore  1.0.6-SNAPSHOT
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
commore::Tuple::ValueIterator Class Reference

#include <Tuple.h>

Public Member Functions

 ValueIterator (Tuple &t)
 
 operator bool () const
 
Symbol get_name () const
 
bool more () const
 
bool next ()
 
ValueIteratoroperator++ ()
 
ValueIterator operator++ (int)
 
Valueoperator-> () const
 
Types get_type ()
 

Detailed Description

Iterator on tuple values

Constructor & Destructor Documentation

commore::Tuple::ValueIterator::ValueIterator ( Tuple t)
Parameters
ttuple on which iteration should start

Member Function Documentation

Symbol commore::Tuple::ValueIterator::get_name ( ) const
Returns
current value name
Types commore::Tuple::ValueIterator::get_type ( )
Returns
type of current value
bool commore::Tuple::ValueIterator::more ( ) const
Returns
true if the iterator is at the end of the list of values.
bool commore::Tuple::ValueIterator::next ( )

Go to next value

Returns
false if the iterator is at the end of the list of values.
commore::Tuple::ValueIterator::operator bool ( ) const
inline
Returns
true if the iterator is at the end of the list of values.
ValueIterator& commore::Tuple::ValueIterator::operator++ ( )
inline

Go to next value

Returns
current iterator
ValueIterator commore::Tuple::ValueIterator::operator++ ( int  )
inline

Go to next value

Returns
previous iterator
Value* commore::Tuple::ValueIterator::operator-> ( ) const
inline
Returns
pointer to current value

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