Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes
iterator_rep< T > Class Template Reference

#include <iterator.hpp>

Inheritance diagram for iterator_rep< T >:
Inheritance graph
[legend]
Collaboration diagram for iterator_rep< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 iterator_rep ()
virtual ~iterator_rep ()
virtual bool busy ()=0
virtual T next ()=0
virtual int remains ()

Public Attributes

int ref_count

Detailed Description

template<class T>
class iterator_rep< T >

Definition at line 19 of file iterator.hpp.


Constructor & Destructor Documentation

template<class T >
iterator_rep< T >::iterator_rep ( ) [inline]

Definition at line 21 of file iterator.hpp.

{ TM_DEBUG(iterator_count++); }

Here is the call graph for this function:

template<class T >
virtual iterator_rep< T >::~iterator_rep ( ) [inline, virtual]

Definition at line 22 of file iterator.hpp.

{ TM_DEBUG(iterator_count--); }

Here is the call graph for this function:


Member Function Documentation

template<class T >
virtual bool iterator_rep< T >::busy ( ) [pure virtual]
template<class T >
virtual T iterator_rep< T >::next ( ) [pure virtual]
template<class T >
int iterator_rep< T >::remains ( ) [virtual]

Definition at line 19 of file iterator.cpp.

                          {
  if (busy ()) return -1;
  else return 0;
}

Member Data Documentation

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.


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