In file blastParser.h:

class blastParser

parses the result of CGI query

Public Methods

[more] blastParser ( blastConfig *bc )
constructor
[more]void setConfig ( blastConfig *bc )
another way to set up the pointer to blastConfig object
[more]int parse ( dataEntries *ab_entry, SaveFrameNode *save_frame )
opens and parses the file that contains search results
[more]bool isUpdated ( dataEntries *ab_entry, SaveFrameNode *save_frame )
returns true if results of CGI query are different from what's already in DB


Documentation

parses the result of CGI query.

Query result is saved as "/tmp/blast_out", it is an HTML page.
Main entry point into the class is parse() method.

o blastParser( blastConfig *bc )
constructor.
Sets up a pointer to blastConfig object.
See Also:
blastConfig

ovoid setConfig( blastConfig *bc )
another way to set up the pointer to blastConfig object.
See Also:
blastConfig

oint parse( dataEntries *ab_entry, SaveFrameNode *save_frame )
opens and parses the file that contains search results.

This is the main entry point for blastParser class.

Returns:
0 = OK, otherwise
-1 error getting residue count
-2 error opening CGI query result file.
Parameters:
ab_entry - pointer to vector of dataEntry.
save_frame - pointer to SaveFrameNode.
See Also:
dataEntries

obool isUpdated( dataEntries *ab_entry, SaveFrameNode *save_frame )
returns true if results of CGI query are different from what's already in DB.

Returns:
true if DB needs to be updated.
Parameters:
ab_entry - vector of dataEntry.
save_frame - pointer to SaveFrameNode.
See Also:
dataEntries


This class has no child classes.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.