CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CppAD::local::sparse_sizevec_const_iterator Class Reference

cons_iterator for one set of positive integers in a sparse_sizevec object. More...

Public Member Functions

size_t operator* (void)
 obtain value of this element of the set of positive integers (end_ for no such element) More...
 
sparse_sizevec_const_iteratoroperator++ (void)
 advance to next element in this list More...
 
 sparse_sizevec_const_iterator (const sparse_sizevec &vec_set, size_t i)
 construct a const_iterator for a set in a sparse_sizevec object More...
 

Private Attributes

const pod_vector< size_t > & data_
 data for the entire vector of sets More...
 
size_t data_index_
 data index of next entry, zero for no more entries More...
 
const size_t end_
 Possible elements in a list are 0, 1, ..., end_ - 1;. More...
 

Detailed Description

cons_iterator for one set of positive integers in a sparse_sizevec object.

All the public member functions for this class are also in the sparse_pack_const_iterator and sparse_list_const_iterator classes. This defines the CppAD vector_of_sets iterator concept.

Definition at line 1340 of file sparse_sizevec.hpp.


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