head Class Reference

#include <head.h>

List of all members.

Public Member Functions

 head ()
 head (const head &hd)
 ~head ()
void getHead (istream &ins, char ln[])
void loadSeqInfo (seqinfo &si, Date &gd)
bool isseg () const
bool firstSeg () const
void segmentOut (ostream &SOUF, char ss[], const seqinfo &mseq) const
char * phylogeny () const
char * getSource () const
char * getOrganism () const
void dump (ostream &SOUF, seqinfo &si) const

Private Member Functions

void outAcc (ostream &so) const

Private Attributes

char locus [LINE+1]
char ver [35]
char seg [12]
char * source
char * def
char * acess
char * keywd
char * org
char * phyl

Friends

ostream & operator<< (ostream &ous, const head &h)


Constructor & Destructor Documentation

head::head (  ) 

References locus, seg, and ver.

head::head ( const head hd  ) 

copy constructor

References acess, def, keywd, locus, org, phyl, seg, source, and ver.

head::~head (  ) 

References acess, def, keywd, org, phyl, and source.


Member Function Documentation

void head::getHead ( istream ins,
char  ln[] 
)

References acess, def, dlc(), getField(), keywd, LINE, locus, org, phyl, rmdquote(), rpldquote(), seg, source, and ver.

Referenced by main().

void head::loadSeqInfo ( seqinfo si,
Date gd 
)

position of the LOCUS line GB Release 128 The detailed format for the LOCUS line format is as follows:

Positions Contents --------- -------- 01-05 'LOCUS' 06-12 spaces 13-28 Locus name |0,15 29-29 space 30-40 Length of sequence, right-justified |17,27> 41-41 space 42-43 bp |29,30 44-44 space 45-47 spaces, ss- (single-stranded), ds- (double-stranded), or ms- (mixed-stranded) |32,34 48-53 NA, DNA, RNA, tRNA (transfer RNA), rRNA (ribosomal RNA), mRNA (messenger RNA), uRNA (small nuclear RNA), snRNA, snoRNA. Left justified. |<35,40 54-55 space 56-63 'linear' followed by two spaces, or 'circular' |43,50 64-64 space 65-67 The division code (see Section 3.3) |52,54 68-68 space 69-79 Date, in the form dd-MMM-yyyy (e.g., 15-MAR-1991) |56,66

References seqinfo::acc, acess, seqinfo::div, firstwd(), Date::gbstr(), seqinfo::len, seqinfo::linear, seqinfo::locus, locus, org, seqinfo::org, seg, seqinfo::seg, substr(), and seqinfo::type.

Referenced by main().

bool head::isseg (  )  const [inline]

References seg.

Referenced by dump(), and operator<<().

bool head::firstSeg (  )  const

References seg.

Referenced by dump().

void head::segmentOut ( ostream &  SOUF,
char  ss[],
const seqinfo mseq 
) const

References seqinfo::locus, and seg.

Referenced by dump().

char * head::phylogeny (  )  const

References phyl.

Referenced by main().

char* head::getSource (  )  const [inline]

References source.

char* head::getOrganism (  )  const [inline]

References org.

Referenced by main().

void head::dump ( ostream &  SOUF,
seqinfo si 
) const

write out the headed into ace format

References def, firstSeg(), isseg(), keywd, seqinfo::len, seqinfo::locus, seqinfo::name(), seqinfo::nameseg(), seqinfo::org, outAcc(), segmentOut(), source, seqinfo::type, and ver.

Referenced by main().

void head::outAcc ( ostream &  so  )  const [private]

References acess.

Referenced by dump().


Friends And Related Function Documentation

ostream& operator<< ( ostream &  ous,
const head h 
) [friend]


Member Data Documentation

char head::locus[LINE+1] [private]

Referenced by getHead(), head(), loadSeqInfo(), and operator<<().

char head::ver[35] [private]

Referenced by dump(), getHead(), head(), and operator<<().

char head::seg[12] [private]

char* head::source [private]

Referenced by dump(), getHead(), getSource(), head(), and ~head().

char* head::def [private]

Referenced by dump(), getHead(), head(), and ~head().

char * head::acess [private]

Referenced by getHead(), head(), loadSeqInfo(), outAcc(), and ~head().

char * head::keywd [private]

Referenced by dump(), getHead(), head(), and ~head().

char * head::org [private]

char * head::phyl [private]

Referenced by getHead(), head(), phylogeny(), and ~head().


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

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