Browse CVS Repository
Contents of /xoonips/AL/pubmed.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( show annotations)
( download)
( as text)
Fri Jan 21 01:39:01 2005 UTC
(19 years, 2 months ago)
by youi
Branch: MAIN
File MIME type: text/x-chdr
initial version
| 1 |
/* |
| 2 |
* $Revision$ |
| 3 |
*/ |
| 4 |
|
| 5 |
#if !defined( PUBMED_H ) |
| 6 |
#define PUBMED_H |
| 7 |
|
| 8 |
typedef unsigned int pubmedid_t; |
| 9 |
class pubmed{ |
| 10 |
public: |
| 11 |
pubmed( ); |
| 12 |
~pubmed( ); |
| 13 |
|
| 14 |
pubmedid_t getID( ) const; |
| 15 |
const char* getTitle( ) const; |
| 16 |
const char* getAuthor( ) const; |
| 17 |
const char* getJournal( ) const; |
| 18 |
int getPubYear( ) const; |
| 19 |
int getVolume( ) const; |
| 20 |
int getNumber( ) const; |
| 21 |
const char* getPage( ) const; |
| 22 |
const char* getAbstract( ) const; |
| 23 |
|
| 24 |
void setID( pubmedid_t ); |
| 25 |
void setTitle( const char* ); |
| 26 |
void setAuthor( const char* ); |
| 27 |
void setJournal( const char* ); |
| 28 |
void setPubYear( int ); |
| 29 |
void setVolume( int ); |
| 30 |
void setNumber( int ); |
| 31 |
void setPage( const char* ); |
| 32 |
void setAbstract( const char* ); |
| 33 |
|
| 34 |
private: |
| 35 |
pubmedid_t id; |
| 36 |
char* title; |
| 37 |
char* author; |
| 38 |
char* journal; |
| 39 |
int pub_year; |
| 40 |
int volume; |
| 41 |
int number; |
| 42 |
char* page; |
| 43 |
char* abstract; |
| 44 |
}; |
| 45 |
typedef pubmed pubmed_t; |
| 46 |
|
| 47 |
#endif |
|