crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
crawlservpp::Struct::ModuleOptions Struct Reference

Module options containing the thread ID, as well as ID and namespace of website and URL list used by the thread. More...

#include <ModuleOptions.hpp>

Properties

std::uint64_t threadId {}
 The ID of the thread. More...
 
std::uint64_t websiteId {}
 The ID of the website used by the thread. More...
 
std::string websiteNamespace
 The namespace of the website used by the thread. More...
 
std::uint64_t urlListId {}
 The ID of the URL list used by the thread. More...
 
std::string urlListNamespace
 The namespace of the URL list used by the thread. More...
 

Construction

 ModuleOptions ()=default
 Default constructor. More...
 
 ModuleOptions (std::uint64_t setThreadId, std::uint64_t setWebsiteId, const std::string &setWebsiteNamespace, std::uint64_t setUrlListId, const std::string &setUrlListNamespace)
 Constructor setting the basic module options for the thread. More...
 

Detailed Description

Module options containing the thread ID, as well as ID and namespace of website and URL list used by the thread.

Constructor & Destructor Documentation

◆ ModuleOptions() [1/2]

crawlservpp::Struct::ModuleOptions::ModuleOptions ( )
default

Default constructor.

◆ ModuleOptions() [2/2]

crawlservpp::Struct::ModuleOptions::ModuleOptions ( std::uint64_t  setThreadId,
std::uint64_t  setWebsiteId,
const std::string &  setWebsiteNamespace,
std::uint64_t  setUrlListId,
const std::string &  setUrlListNamespace 
)
inline

Constructor setting the basic module options for the thread.

Parameters
setThreadIdThe ID of the thread.
setWebsiteIdThe ID of the website used by the thread.
setWebsiteNamespaceConstant reference to a string containing the namespace of the website used by the thread.
setUrlListIdThe ID of the URL list used by the thread.
setUrlListNamespaceConstant reference to a string containing the namespace of the URL list used by the thread.

Member Data Documentation

◆ threadId

std::uint64_t crawlservpp::Struct::ModuleOptions::threadId {}

◆ urlListId

std::uint64_t crawlservpp::Struct::ModuleOptions::urlListId {}

The ID of the URL list used by the thread.

Referenced by crawlservpp::Module::Database::setOptions().

◆ urlListNamespace

◆ websiteId

std::uint64_t crawlservpp::Struct::ModuleOptions::websiteId {}

The ID of the website used by the thread.

Referenced by crawlservpp::Module::Database::setOptions().

◆ websiteNamespace


The documentation for this struct was generated from the following file: