Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Iterator Class Reference

#include <meta_class_iter.h>

Inheritance diagram for Iterator:

AggregateIterator BaseListIterator EmptyIterator NewAggregateIterator ObjectIterator ObjectRefIterator SingleElementIterator UnionIterator VirtualIterator List of all members.

Public Types

enum  Contents {
  All,
  Referenced,
  Owned
}

Public Methods

virtual const MetaClasscurrent_meta_class () const = 0
virtual const LStringcurrent_name () const = 0
virtual Address current () const = 0
virtual ObjectWrapper current_object () const
virtual FieldWrapper current_field () const
virtual bool is_valid () const = 0
virtual void next () = 0
virtual void previous () = 0
virtual void set_to ( size_t index )
virtual size_t length () const
virtual void first () = 0
virtual void add ( Address object )
virtual void print_to_default () const
virtual Iterator* clone () const = 0
 Iterator ()
virtual ~Iterator ()


Detailed Description


Member Enumeration Documentation

enum Iterator::Contents

Enumeration values:
All  
Referenced  
Owned  

Constructor & Destructor Documentation

Iterator::Iterator () [inline]

Iterator::~Iterator () [virtual]


Member Function Documentation

void Iterator::add ( Address object) [virtual]

virtual Iterator* Iterator::clone ( void) const [pure virtual]

Reimplemented in AggregateIterator, EmptyIterator, ListIterator, NewAggregateIterator, ObjectIterator, ObjectRefIterator, STLIterator, SingleElementIterator, UnionIterator, and VirtualIterator.

virtual Address Iterator::current ( void) const [pure virtual]

Reimplemented in AggregateIterator, EmptyIterator, ListIterator, NewAggregateIterator, ObjectIterator, ObjectRefIterator, STLIterator, SingleElementIterator, UnionIterator, and VirtualIterator.

FieldWrapper Iterator::current_field () const [virtual]

virtual const MetaClass* Iterator::current_meta_class () const [pure virtual]

Reimplemented in AggregateIterator, BaseListIterator, EmptyIterator, NewAggregateIterator, ObjectIterator, ObjectRefIterator, SingleElementIterator, UnionIterator, and VirtualIterator.

virtual const LString& Iterator::current_name () const [pure virtual]

Reimplemented in AggregateIterator, BaseListIterator, EmptyIterator, NewAggregateIterator, ObjectIterator, ObjectRefIterator, SingleElementIterator, UnionIterator, and VirtualIterator.

ObjectWrapper Iterator::current_object () const [virtual]

virtual void Iterator::first () [pure virtual]

Reimplemented in AggregateIterator, EmptyIterator, ListIterator, NewAggregateIterator, ObjectIterator, ObjectRefIterator, STLIterator, SingleElementIterator, UnionIterator, and VirtualIterator.

virtual bool Iterator::is_valid ( void) const [pure virtual]

Reimplemented in AggregateIterator, BaseListIterator, EmptyIterator, NewAggregateIterator, ObjectIterator, ObjectRefIterator, SingleElementIterator, UnionIterator, and VirtualIterator.

size_t Iterator::length () const [virtual]

Reimplemented in AggregateIterator, EmptyIterator, ListIterator, STLIterator, SingleElementIterator, and UnionIterator.

virtual void Iterator::next ( void) [pure virtual]

Reimplemented in AggregateIterator, EmptyIterator, ListIterator, NewAggregateIterator, ObjectIterator, ObjectRefIterator, STLIterator, SingleElementIterator, UnionIterator, and VirtualIterator.

virtual void Iterator::previous () [pure virtual]

Reimplemented in AggregateIterator, EmptyIterator, ListIterator, NewAggregateIterator, ObjectIterator, ObjectRefIterator, STLIterator, SingleElementIterator, UnionIterator, and VirtualIterator.

void Iterator::print_to_default () const [virtual]

Reimplemented in ObjectIterator, and ObjectRefIterator.

void Iterator::set_to ( size_t index) [virtual]

Reimplemented in ListIterator, and VirtualIterator.


The documentation for this class was generated from the following files:
Generated at Mon Jul 31 13:43:21 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000