00001 /* #start# *********************************************************** 00002 00003 Scheduling Simulator 00004 Lehrstuhl f"ur Effiziente Algorithmen 00005 Technische Universit"at M"unchen 00006 00007 File : $Id: SLeaBibEntry.h,v 1.4 2003/01/08 18:57:10 meierb Exp $ 00008 00009 Purpose : A single entry in the LEABIB 00010 00011 RCS-Log: 00012 $Log: SLeaBibEntry.h,v $ 00013 Revision 1.4 2003/01/08 18:57:10 meierb 00014 added randomized release times 00015 00016 Revision 1.1.1.1 2002/12/02 22:26:19 meierb 00017 my_schedule 00018 00019 Revision 1.2 2002/11/07 12:05:23 taeubig 00020 Added standard namespace (std::) 00021 00022 Revision 1.1 2002/08/29 12:59:58 taeubig 00023 Added the sources 00024 00025 Revision 1.4 2001/07/16 12:35:03 taeubig 00026 cosmetics 00027 00028 Revision 1.3 2000/07/10 09:14:23 mayerh 00029 changed type of method getInfoList() 00030 00031 Revision 1.2 2000/07/05 21:51:27 mayerh 00032 added method getLeaBibEntry and made some changes 00033 00034 Revision 1.1 2000/06/28 08:31:03 schickin 00035 LEABIB-Support prepared and new get-methods for uniform distribution added 00036 00037 00038 * #end# ************************************************************* */ 00039 00040 #ifndef SLEABIBENTRY_H 00041 #define SLEABIBENTRY_H 00042 00043 // system header files 00044 #include "LEDA/string.h" 00045 #include "LEDA/d_array.h" 00046 #include "LEDA/array.h" 00047 #include "LEDA/list.h" 00048 00049 // project header files 00050 00051 class SLeaBibEntry : public leda_d_array<leda_string, leda_string> { 00052 public: 00053 SLeaBibEntry() : leda_d_array<leda_string, leda_string>() { 00054 initControl(); 00055 } 00056 /* perhaps that should be implemented: checks, whether the entries define 00057 a complete bib-entry (incomplete, means for example, that the author is 00058 missing */ 00059 // bool isComplete() const; 00060 leda_array<leda_string> getInfoList() const; 00061 leda_string SLeaBibEntry::getBibTexEntry() const; 00062 00063 private: 00064 static leda_d_array<leda_string, int> _order; 00065 static bool _boolFirstInit; 00066 void initControl(); 00067 }; 00068 00069 std::ostream& operator<<(std::ostream& rOs, const SLeaBibEntry& rEntry); 00070 00071 #endif // SLEABIBENTRY_H