Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

OmgScraperGbif Class Reference

#include <omgscrapergbif.h>

Inheritance diagram for OmgScraperGbif:

Inheritance graph
[legend]
Collaboration diagram for OmgScraperGbif:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OmgScraperGbif (QObject *parent=0)
 ~OmgScraperGbif ()
bool search (QString theTaxonName, QString theFileName)
const QString getName ()
const QString getLicense ()

Private Slots

QString taxonIdRequestDone (QString theString)
bool localitiesRequestDone (QString theString)
 a parser to pull localities out of a web page //

Private Member Functions

 Q_INTERFACES (OmgScraperPluginInterface)

Constructor & Destructor Documentation

OmgScraperGbif::OmgScraperGbif QObject parent = 0  ) 
 

Definition at line 34 of file omgscrapergbif.cpp.

OmgScraperGbif::~OmgScraperGbif  ) 
 

Definition at line 42 of file omgscrapergbif.cpp.


Member Function Documentation

const QString OmgScraperGbif::getLicense  )  [virtual]
 

Get the terms of useage agreement for this plugin

Returns:
QString containinig agreement text.

Implements OmgScraperPluginInterface.

Definition at line 50 of file omgscrapergbif.cpp.

const QString OmgScraperGbif::getName  )  [virtual]
 

Get the user friendly name for this plugin

Returns:
QString - the name of this plugin *

Implements OmgScraperPluginInterface.

Definition at line 46 of file omgscrapergbif.cpp.

bool OmgScraperGbif::localitiesRequestDone QString  theString  )  [private, slot]
 

a parser to pull localities out of a web page //

clear the spots list check if this is a good idea!

Definition at line 230 of file omgscrapergbif.cpp.

References OmgScraperPluginInterface::createShapefile(), OmgScraperPluginInterface::createTextFile(), OmgPluginMessenger::emitError(), OmgPluginMessenger::emitFileNotWritten(), OmgPluginMessenger::emitFileWritten(), OmgPluginMessenger::emitMessage(), OmgLocality::isValid(), OmgLocality::setId(), OmgLocality::setLabel(), OmgLocality::setLatitude(), OmgLocality::setLongitude(), and Omgui::xmlEncode().

Referenced by search().

OmgScraperGbif::Q_INTERFACES OmgScraperPluginInterface   )  [private]
 

bool OmgScraperGbif::search QString  theTaxonName,
QString  theFileName
[virtual]
 

Implements OmgScraperPluginInterface.

Definition at line 68 of file omgscrapergbif.cpp.

References OmgPluginMessenger::emitError(), OmgWebPageFetcher::getPage(), localitiesRequestDone(), and taxonIdRequestDone().

Referenced by OmgGbifConsoleSearch::processNextTaxon().

Here is the call graph for this function:

QString OmgScraperGbif::taxonIdRequestDone QString  theString  )  [private, slot]
 

first part of the request is to find out the id of the species as used in gbif

Returns:
A url of where the page containing data can be acquired

Definition at line 121 of file omgscrapergbif.cpp.

References OmgPluginMessenger::emitError(), OmgPluginMessenger::emitFileNotWritten(), and OmgPluginMessenger::emitMessage().

Referenced by search().


The documentation for this class was generated from the following files:
Generated on Mon Apr 28 15:13:57 2008 for openModellerDesktop by  doxygen 1.4.1-20050210