AGENT++  4.0.3
Public Member Functions | Protected Attributes | List of all members
ArrayCursor< T > Class Template Reference

#include <List.h>

Public Member Functions

void init (const Array< T > *l)
 
void initLast (const Array< T > *l)
 
T * get ()
 
int next ()
 
int prev ()
 
int isNext ()
 
int isPrev ()
 
int get_cursor ()
 
 ArrayCursor ()
 
 ArrayCursor (const List< T > *l)
 
 ArrayCursor (const ArrayCursor< T > &c)
 

Protected Attributes

const Array< T > * list
 
int cursor
 

Constructor & Destructor Documentation

template<class T>
ArrayCursor< T >::ArrayCursor ( )
inline
template<class T>
ArrayCursor< T >::ArrayCursor ( const List< T > *  l)
inline
template<class T>
ArrayCursor< T >::ArrayCursor ( const ArrayCursor< T > &  c)
inline

Member Function Documentation

template<class T>
T* ArrayCursor< T >::get ( )
inline
template<class T>
int ArrayCursor< T >::get_cursor ( )
inline
template<class T>
void ArrayCursor< T >::init ( const Array< T > *  l)
inline
template<class T>
void ArrayCursor< T >::initLast ( const Array< T > *  l)
inline
template<class T>
int ArrayCursor< T >::isNext ( )
inline
template<class T>
int ArrayCursor< T >::isPrev ( )
inline
template<class T>
int ArrayCursor< T >::next ( )
inline
template<class T>
int ArrayCursor< T >::prev ( )
inline

Member Data Documentation

template<class T>
int ArrayCursor< T >::cursor
protected
template<class T>
const Array<T>* ArrayCursor< T >::list
protected

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