head	1.1;
access;
symbols
	bobbase:1.1
	bob:1.1;
locks; strict;
comment	@// @;


1.1
date	94.10.03.21.01.43;	author thoth;	state Exp;
branches;
next	;


desc
@ValueSet iterator declaration.
@


1.1
log
@Initial revision
@
text
@// Emacs -*- C++ -*-

//
//	Copyright 1994, Center for Computer Vision and Visualization,
//	University of Florida.  All rights reserved.
//

//
// $Log: VSIter.h,v $

#ifndef VSIter_h_
#define VSIter_h_

#include "ValueSet.h"
#include "BSetIter.h"

template <class T>
class IA_ValueSetIter :
public IA_BaseSetIter<T> {

    // just to speed member accesses
    IA_ValueSet<T> *vsp() { return (IA_ValueSet<T>*) domain; }

    int	idx;

public:
    IA_ValueSetIter(IA_ValueSet<T> *set)
	:IA_BaseSetIter<T>(set) { idx=0; }
    // default copy constructor is just fine

    IA_BaseSetIter<T> * clone_self() const ;

    int next( T & );

    void reset();
};

#endif // VSIter_h_
@
