// This may look like C code, but it is really -*- C++ -*-
// 
// <copyright> 
//  
//  Copyright (c) 1994
//  Institute for Information Processing and Computer Supported New Media (IICM), 
//  Graz University of Technology, Austria. 
//  
// </copyright> 
// 
// 
// <file> 
// 
// Name:        datalist.C
// 
// Purpose:     
// 
// Created:     5 Jul 95   Joerg Faschingbauer
// 
// Modified:    
// 
// Description: 
// 
// 
// </file> 
#include "datalist.h"

// --------------------------------------------------------------------
Fieldsimplement (DataListBase, DataPtr) 

boolean DataList :: shift (DataPtr& p) {
   if (! count())
      return false ;
   p = DataListBase::operator[] (0) ;
   DataListBase::remove (0) ;
   return true ;
}

