Project Euler Solutions
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
c::p0012::triangle_iterator Struct Reference
Inheritance diagram for c::p0012::triangle_iterator:
Inheritance graph
[legend]
Collaboration diagram for c::p0012::triangle_iterator:
Collaboration graph
[legend]

Public Member Functions

triangle_iterator triangle_iterator0 ()
 

Public Attributes

unsigned long long current
 
unsigned long long idx
 
- Public Attributes inherited from c::include::iterator::Iterator
bool exhausted: 1
 An indicator that the iterator has stopped. More...
 
bool started: 1
 An indicator that the iterator has started. More...
 
bool phase: 1
 An indicator that changes each time the iterator moves. More...
 

Private Member Functions

unsigned long long advance_triangle_iterator (triangle_iterator *ti)
 

Private Attributes

unsigned long long(*const iterator_function )(triangle_iterator *it)
 The pointer to the iteration function. More...
 
void(*const destructor )(void *it)
 The pointer to the destructor function. More...
 

Additional Inherited Members

Member Function Documentation

unsigned long long advance_triangle_iterator ( triangle_iterator ti)
private

Here is the call graph for this function:

Here is the caller graph for this function:

triangle_iterator triangle_iterator0 ( )

Here is the caller graph for this function:

Member Data Documentation

unsigned long long c::p0012::triangle_iterator::current
void(*const c::p0012::triangle_iterator::destructor) (void *it)
private

The pointer to the destructor function.

See also
free_iterator
unsigned long long c::p0012::triangle_iterator::idx
unsigned long long(*const c::p0012::triangle_iterator::iterator_function) (triangle_iterator *it)
private

The pointer to the iteration function.

See also
next

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