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

Configuration properties containing its module, name, and JSON string. More...

#include <ConfigProperties.hpp>

Properties

std::string module
 The name of the module using the configuration. More...
 
std::string name
 The name of the configuration. More...
 
std::string config
 The configuration string containing JSON. More...
 

Construction

 ConfigProperties ()=default
 Default constructor. More...
 
 ConfigProperties (const std::string &setModule, const std::string &setName, const std::string &setConfig)
 Constructor setting module, name and configuration string. More...
 

Detailed Description

Configuration properties containing its module, name, and JSON string.

Constructor & Destructor Documentation

◆ ConfigProperties() [1/2]

crawlservpp::Struct::ConfigProperties::ConfigProperties ( )
default

Default constructor.

◆ ConfigProperties() [2/2]

crawlservpp::Struct::ConfigProperties::ConfigProperties ( const std::string &  setModule,
const std::string &  setName,
const std::string &  setConfig 
)
inline

Constructor setting module, name and configuration string.

Parameters
setModuleConstant reference to a string containing the name of the module.
setNameConstant reference to a string containing the name of the configuration.
setConfigConstant reference to a string containing the configuration as JSON code.

Member Data Documentation

◆ config

std::string crawlservpp::Struct::ConfigProperties::config

The configuration string containing JSON.

Referenced by crawlservpp::Main::Database::addConfiguration(), and crawlservpp::Main::Database::updateConfiguration().

◆ module

std::string crawlservpp::Struct::ConfigProperties::module

The name of the module using the configuration.

Referenced by crawlservpp::Main::Database::addConfiguration().

◆ name

std::string crawlservpp::Struct::ConfigProperties::name

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