#include <webcrawler.h>

Inheritance diagram for WebCrawler_Parser:
Collaboration diagram for WebCrawler_Parser:

Public Slots

void parse (QNetworkReply *reply)
 
void newLink (int s, QUrl target, bool enqueue_to_frontier)
 

Signals

void signalCreateNode (const int &no, const QString &url, const bool &signalMW=false)
 
void signalCreateEdge (const int &source, const int &target)
 
void startSpider ()
 
void finished (QString)
 

Public Member Functions

 WebCrawler_Parser (QString seed, int maxNodes, int maxLinksPerPage, bool extLinks, bool intLinks)
 
 ~WebCrawler_Parser ()
 

Private Attributes

QByteArray ba
 
QMap< QUrl, int > knownUrls
 
QUrl m_seed
 
int m_maxPages
 
int m_discoveredNodes
 
int m_maxLinksPerPage
 
bool m_extLinks
 
bool m_intLinks
 

Constructor & Destructor Documentation

WebCrawler_Parser::WebCrawler_Parser ( QString  seed,
int  maxNodes,
int  maxLinksPerPage,
bool  extLinks,
bool  intLinks 
)
WebCrawler_Parser::~WebCrawler_Parser ( )

Member Function Documentation

void WebCrawler_Parser::finished ( QString  )
signal
void WebCrawler_Parser::newLink ( int  s,
QUrl  target,
bool  enqueue_to_frontier 
)
slot
void WebCrawler_Parser::parse ( QNetworkReply *  reply)
slot
void WebCrawler_Parser::signalCreateEdge ( const int &  source,
const int &  target 
)
signal
void WebCrawler_Parser::signalCreateNode ( const int &  no,
const QString &  url,
const bool &  signalMW = false 
)
signal
void WebCrawler_Parser::startSpider ( )
signal

Member Data Documentation

QByteArray WebCrawler_Parser::ba
private
QMap<QUrl, int> WebCrawler_Parser::knownUrls
private
int WebCrawler_Parser::m_discoveredNodes
private
bool WebCrawler_Parser::m_extLinks
private
bool WebCrawler_Parser::m_intLinks
private
int WebCrawler_Parser::m_maxLinksPerPage
private
int WebCrawler_Parser::m_maxPages
private
QUrl WebCrawler_Parser::m_seed
private

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