#include <Refreader.h>
Public Member Functions | |
| Refreader () | |
| Refreader (const Refreader &ref) | |
| Refreader & | operator= (const Refreader &ref) |
| void | clear () |
| bool | next (istream &ins, string &ln) |
| Ref * | newRef () throw (gbreferr) |
| string | toString () const |
Private Attributes | |
| string | authors |
| string | consrtm |
| string | title |
| string | journal |
| int | medline |
| int | pubmed |
| string | remark |
Friends | |
| ostream & | operator<< (ostream &ou, const Refreader &ref) |
Check the vref.h class for proper definition of all subclasses of References.
| Refreader::Refreader | ( | ) | [inline] |
this one is called to initialize the internal buffer for the first call
| Refreader::Refreader | ( | const Refreader & | ref | ) |
| void Refreader::clear | ( | ) |
| bool Refreader::next | ( | istream & | ins, | |
| string & | ln | |||
| ) |
Simply reads in the next comple Reference object Since most author names are Last,F. and terminate the sentence with the same period. Occationaly it has institute as auther and it ends with the same period. I don't realy care about this now.
main reader method
References authors, clear(), consrtm, getf(), medline, pubmed, remark, title, and gbseq::VAL_START.
Referenced by gbseq::read().
The factory method, acting as the virtual constructor In case of some poor reference, I will return 0
Produces a new Ref object, returns a pointer to a Ref object.
References Ref::addRemark(), authors, consrtm, dissect(), length, medline, pubmed, R, remark, Journal::setMedline(), Journal::setPubmed(), substr(), and title.
Referenced by gbseq::read().
| string Refreader::toString | ( | ) | const |
| ostream& operator<< | ( | ostream & | ou, | |
| const Refreader & | ref | |||
| ) | [friend] |
string Refreader::authors [private] |
Referenced by clear(), newRef(), next(), operator<<(), operator=(), Refreader(), and toString().
string Refreader::consrtm [private] |
Referenced by clear(), newRef(), next(), operator<<(), operator=(), Refreader(), and toString().
string Refreader::title [private] |
Referenced by clear(), newRef(), next(), operator<<(), operator=(), Refreader(), and toString().
string Refreader::journal [private] |
Referenced by operator<<(), operator=(), and Refreader().
int Refreader::medline [private] |
Referenced by clear(), newRef(), next(), operator<<(), operator=(), Refreader(), and toString().
int Refreader::pubmed [private] |
Referenced by clear(), newRef(), next(), operator<<(), operator=(), Refreader(), and toString().
string Refreader::remark [private] |
Referenced by clear(), newRef(), next(), operator<<(), operator=(), Refreader(), and toString().
1.5.6