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

#include <Tuple.h>

Public Member Functions

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

Detailed Description

Const iterator on tuple values

Constructor & Destructor Documentation

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

Member Function Documentation

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

Go to next value

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

Go to next value

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

Go to next value

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

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