refloc.h

Go to the documentation of this file.
00001 //file: refloc.h
00002 #ifndef REFLOC_H
00003 #define REFLOC_H
00004 
00005 #include <vector>
00006 #include <string>
00007 #include <iostream>
00008 #include "util.h"
00009 #include <map>
00010 using namespace std;
00011 
00012 //#define DEBUG
00013 
00014 // authentic journal records with vol, year information
00015 // Reference Location the most authentic and the most freqent one
00016 
00017 class refloc
00018 {
00019         public:
00020                 refloc(const string &s);
00021                 refloc(const refloc &rl);
00022                 refloc& operator=(const refloc &rl);
00023                 string key() const;
00024                 friend ostream& operator<<(ostream &os, const refloc &rl);
00025 
00030                 void loadMap(map<string,string> &m) const;
00031 
00032         private:
00033                 string name;  // name of the journal
00034                 string vol;
00035                 string startpg;
00036                 string endpg;
00037                 string year;
00038                 bool suppl;
00039 
00040                 static const int key_limit = 20;
00041                 //vector<string> authors;  // should not be here!
00042 };
00043 
00044 #endif

Generated on Wed Aug 10 11:56:58 2011 for Softwares from Orpara by  doxygen 1.5.6