Reference

WebImport(3tulip)

NAME

WebImport -

SYNOPSIS

Public Member Functions

WebImport (AlgorithmContext context)
bool addNode (const UrlElement &url, node &n)
void addEdge (const UrlElement &source, const UrlElement &target, const char *type, const Color *color)
bool nextUrl (UrlElement &url)
void findAndTreatUrls (const string &lowercase, const string &balise, UrlElement &url)
void parseHtml (UrlElement &url)
void addUrl (const UrlElement &url, bool _toVisit)
void addServer (const string &servername)
void parseUrl (const string &href, UrlElement &starturl)
bool start ()
bool import (const string &name)

Public Attributes

std::deque< UrlElement > toVisit
std::set< UrlElement > visited
std::map< UrlElement, tlp::node > nodes
tlp::StringProperty * labels
tlp::ColorProperty * colors
tlp::Color * redirectionColor
unsigned int maxSize
bool visitOther
bool extractNonHttp

Constructor & Destructor Documentation

WebImport::WebImport (AlgorithmContext context) [inline]

Member Function Documentation

void WebImport::addEdge (const UrlElement & source, const UrlElement & target, const char * type, const Color * color) [inline]

bool WebImport::addNode (const UrlElement & url, node & n) [inline]

void WebImport::addServer (const string & servername) [inline]

void WebImport::addUrl (const UrlElement & url, bool _toVisit) [inline]

void WebImport::findAndTreatUrls (const string & lowercase, const string & balise, UrlElement & url) [inline]

bool WebImport::import (const string & name) [inline]

bool WebImport::nextUrl (UrlElement & url) [inline]

void WebImport::parseHtml (UrlElement & url) [inline]

void WebImport::parseUrl (const string & href, UrlElement & starturl) [inline]

bool WebImport::start () [inline]

Member Data Documentation

tlp::ColorProperty* WebImport::colors

bool WebImport::extractNonHttp

tlp::StringProperty* WebImport::labels

unsigned int WebImport::maxSize

std::map<UrlElement, tlp::node> WebImport::nodes

tlp::Color* WebImport::redirectionColor

std::deque<UrlElement> WebImport::toVisit

std::set<UrlElement> WebImport::visited

bool WebImport::visitOther

Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.