StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
RecordList.h
1 /*
2  * StDbFieldI.h
3  *
4  * Created on Aug 20, 2007
5  *
6  * Author: Zhengqiang Liang (Wayne State University)
7  * Valeri Fine (Brookhaven National Laboratory)
8  * Jerome Lauret (Brookhaven National Laboratory)
9  *
10  *
11  * This file is part of the UCM project funded under an SBIR
12  * Copyright (c) 2007-2008 STAR Collaboration - Brookhaven National Laboratory
13  *
14  * @(#)cpp/api:$Id: RecordList.h,v 1.1 2010/03/30 20:05:36 fine Exp $
15  *
16  *
17  *
18  * This is free software; you can redistribute it and/or modify
19  * it under the terms of the GNU General Public License as published by
20  * the Free Software Foundation; either version 2 of the License, or
21  * (at your option) any later version.
22  *
23  * STAR Scheduler is distributed in the hope that it will be useful,
24  * but WITHOUT ANY WARRANTY; without even the implied warranty of
25  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26  * GNU General Public License for more details.
27  *
28  * You should have received a copy of the GNU General Public License
29  * along with STAR Scheduler; if not, write to the Free Software
30  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31  */
32 
33 #ifndef RECORDLIST_H
34 #define RECORDLIST_H
35 #include <vector>
36 namespace TxLogging {
37 class Iterator;
38 class StRecord;
39 class RecordList : public std::vector<StRecord*> {
40  public:
41  RecordList();
42  RecordList(const RecordList &me);
43  RecordList &operator=(const RecordList &me);
44  virtual ~RecordList();
45  virtual void Print();
46  void Clear();
47  TxLogging::Iterator iterator();
48 };
49 typedef std::vector<StRecord*>::iterator RecordIterator;
50 }
51 #endif