Ref Class Reference

#include <vref.h>

Inheritance diagram for Ref:

Patent Refwithty Submission Book Inpress Journal Thesis Unpublished Online

List of all members.

Public Member Functions

 Ref (const Ref &ref)
 Ref (const string &austr)
Refoperator= (const Ref &ref)
virtual void writeAce (ostream &ous, ostream &pap) const
virtual string makeKey () const
void addRemark (const string &rm)
virtual void toAce (ostream &ou) const
 toAce() from different classes /////////////////////////

Static Public Member Functions

static void setCounter (int k)
static int nextCounter ()
static void loadKey (const string &inf)
static void dumpKey (const string &ouf)

Protected Attributes

vector< string > authors
string remark

Static Protected Attributes

static int counter = 1
static map< string, int > paperkey = map<string, int>()


Detailed Description

Author is present on all but submission with consrtm entries. Right now I am going to use the author place for consrtm during reconstruction phase.

Constructor & Destructor Documentation

Ref::Ref ( const Ref ref  )  [inline]

References authors, and remark.

Ref::Ref ( const string &  austr  ) 

References authors, and split().


Member Function Documentation

Ref & Ref::operator= ( const Ref ref  ) 

References authors, and remark.

Referenced by Refwithty::operator=().

void Ref::writeAce ( ostream &  ous,
ostream &  pap 
) const [virtual]

output the whole paper object

References makeKey(), nextCounter(), paperkey, and toAce().

virtual string Ref::makeKey (  )  const [inline, virtual]

Reimplemented in Refwithty, Inpress, Journal, Book, Thesis, Submission, and Patent.

Referenced by writeAce().

void Ref::addRemark ( const string &  rm  )  [inline]

References remark.

Referenced by Refreader::newRef().

void Ref::toAce ( ostream &  ou  )  const [virtual]

toAce() from different classes /////////////////////////

Reimplemented in Refwithty, Inpress, Journal, Book, Thesis, Submission, and Patent.

References authors, and remark.

Referenced by Patent::toAce(), Submission::toAce(), Refwithty::toAce(), and writeAce().

static void Ref::setCounter ( int  k  )  [inline, static]

References counter.

static int Ref::nextCounter (  )  [inline, static]

References counter.

Referenced by writeAce().

void Ref::loadKey ( const string &  inf  )  [static]

References counter, ifstream(), paperkey, and split().

Referenced by main().

void Ref::dumpKey ( const string &  ouf  )  [static]

References paperkey.

Referenced by main().


Member Data Documentation

vector<string> Ref::authors [protected]

string Ref::remark [protected]

Referenced by addRemark(), operator=(), Ref(), and toAce().

int Ref::counter = 1 [static, protected]

for keeping track of papers that do not have PM or MED unique accession numbers I need this number in order to keep PM and MD separately form those that don't have unique IDs.

Referenced by loadKey(), nextCounter(), and setCounter().

map< string, int > Ref::paperkey = map<string, int>() [static, protected]

Referenced by dumpKey(), loadKey(), and writeAce().


The documentation for this class was generated from the following files:

Generated on Wed Aug 10 11:57:14 2011 for Softwares from Orpara by  doxygen 1.5.6