#ifndef _AnyTier_h_
#define _AnyTier_h_
/* Paul Boersma, August 23, 2000 */

#ifndef _Collection_h_
	#include "Collection.h"
#endif
#ifndef _PointProcess_h_
	#include "PointProcess.h"
#endif

#include "AnyTier_def.h"

#define AnyPoint_methods Data_methods
oo_CLASS_CREATE (AnyPoint, Data)

#define AnyTier_methods Function_methods
oo_CLASS_CREATE (AnyTier, Function)

long AnyTier_timeToLowIndex (I, double time);
long AnyTier_timeToHighIndex (I, double time);
long AnyTier_getWindowPoints (I, double tmin, double tmax, long *imin, long *imax);
long AnyTier_timeToNearestIndex (I, double time);
long AnyTier_hasPoint (I, double t);
int AnyTier_addPoint (I, Any point);
void AnyTier_removePoint (I, long i);
void AnyTier_removePointNear (I, double time);
void AnyTier_removePointsBetween (I, double tmin, double tmax);
PointProcess AnyTier_downto_PointProcess (I);

#define AnyPoint_members Data_members double time;

#endif
/* End of file AnyTier.h */
