00001 /* 00002 * StDbFieldI.h 00003 * 00004 * Created on Aug 20, 2007 00005 * 00006 * Author: Zhengqiang Liang (Wayne State University) 00007 * Valeri Fine (Brookhaven National Laboratory) 00008 * Jerome Lauret (Brookhaven National Laboratory) 00009 * 00010 * 00011 * This file is part of the UCM project funded under an SBIR 00012 * Copyright (c) 2007-2008 STAR Collaboration - Brookhaven National Laboratory 00013 * 00014 * @(#)cpp/api:$Id: RecordList.h,v 1.1 2010/03/30 20:05:36 fine Exp $ 00015 * 00016 * 00017 * 00018 * This is free software; you can redistribute it and/or modify 00019 * it under the terms of the GNU General Public License as published by 00020 * the Free Software Foundation; either version 2 of the License, or 00021 * (at your option) any later version. 00022 * 00023 * STAR Scheduler is distributed in the hope that it will be useful, 00024 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00025 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00026 * GNU General Public License for more details. 00027 * 00028 * You should have received a copy of the GNU General Public License 00029 * along with STAR Scheduler; if not, write to the Free Software 00030 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00031 */ 00032 00033 #ifndef RECORDLIST_H 00034 #define RECORDLIST_H 00035 #include <vector> 00036 namespace TxLogging { 00037 class Iterator; 00038 class StRecord; 00039 class RecordList : public std::vector<StRecord*> { 00040 public: 00041 RecordList(); 00042 RecordList(const RecordList &me); 00043 RecordList &operator=(const RecordList &me); 00044 virtual ~RecordList(); 00045 virtual void Print(); 00046 void Clear(); 00047 TxLogging::Iterator iterator(); 00048 }; 00049 typedef std::vector<StRecord*>::iterator RecordIterator; 00050 } 00051 #endif
1.5.9