|
crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
Website properties containing its domain, namespace, name, and data directory. More...
#include <WebsiteProperties.hpp>
Properties | |
| std::string | domain |
| The domain of the website. More... | |
| std::string | nameSpace |
| The namespace of the website. More... | |
| std::string | name |
| The name of the website. More... | |
| std::string | dir |
| The data directory to be used by the website. More... | |
Construction | |
| WebsiteProperties ()=default | |
| Default constructor. More... | |
| WebsiteProperties (const std::string &setDomain, const std::string &setNameSpace, const std::string &setName, const std::string &setDir) | |
| Constructor setting website properties. More... | |
Website properties containing its domain, namespace, name, and data directory.
|
default |
Default constructor.
|
inline |
Constructor setting website properties.
| setDomain | Constant reference to a string containing the domain of the website. If the string is empty, the website is cross-domain. |
| setNameSpace | Constant reference to a string containing the namespace of the website. |
| setName | Constant reference to a string containing the name of the website. |
| setDir | Constant reference to a string containing the data directory to be used by the website. If the string is empty, the default data directory will be used. |
| std::string crawlservpp::Struct::WebsiteProperties::dir |
The data directory to be used by the website.
If the directory is empty, the default data directory will be used.
Referenced by crawlservpp::Main::Database::addWebsite(), crawlservpp::Main::Database::moveWebsite(), and crawlservpp::Main::Database::updateWebsite().
| std::string crawlservpp::Struct::WebsiteProperties::domain |
The domain of the website.
If the domain is empty, the website is cross-domain.
Referenced by crawlservpp::Main::Database::addWebsite(), crawlservpp::Main::Database::getChangedUrlsByWebsiteUpdate(), crawlservpp::Main::Database::getLostUrlsByWebsiteUpdate(), and crawlservpp::Main::Database::updateWebsite().
| std::string crawlservpp::Struct::WebsiteProperties::name |
| std::string crawlservpp::Struct::WebsiteProperties::nameSpace |
The namespace of the website.
Referenced by crawlservpp::Main::Database::addWebsite(), crawlservpp::Main::Database::getChangedUrlsByWebsiteUpdate(), crawlservpp::Main::Database::getLostUrlsByWebsiteUpdate(), crawlservpp::Main::Database::moveWebsite(), and crawlservpp::Main::Database::updateWebsite().