|
crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
Configuration item containing its category, name, and JSON value. More...
#include <ConfigItem.hpp>
Properties | |
| std::string | category |
| Category of the configuration item. More... | |
| std::string | name |
| Name of the configuration item. More... | |
| const rapidjson::Value * | value {nullptr} |
JSON value of the configuration item, or nullptr if not initialized. More... | |
Getter | |
| std::string | str () const |
| Combines category and name into one string. More... | |
Construction and Destruction | |
| ConfigItem ()=default | |
| Default constructor. More... | |
| virtual | ~ConfigItem ()=default |
| Default destructor. More... | |
Copy and Move | |
| ConfigItem (ConfigItem &)=delete | |
| Deleted copy constructor. More... | |
| ConfigItem & | operator= (ConfigItem &)=delete |
| Deleted copy assignment operator. More... | |
| ConfigItem (ConfigItem &&)=default | |
| Default move constructor. More... | |
| ConfigItem & | operator= (ConfigItem &&)=default |
| Default move assignment operator. More... | |
Configuration item containing its category, name, and JSON value.
|
default |
Default constructor.
Referenced by str().
|
virtualdefault |
Default destructor.
Referenced by str().
|
delete |
Deleted copy constructor.
|
default |
Default move constructor.
|
delete |
Deleted copy assignment operator.
Referenced by str().
|
default |
Default move assignment operator.
|
inline |
Combines category and name into one string.
category.name. References ConfigItem(), operator=(), and ~ConfigItem().
Referenced by crawlservpp::Module::Config::loadConfig(), and crawlservpp::Module::Config::option().
| std::string crawlservpp::Struct::ConfigItem::category |
Category of the configuration item.
Referenced by crawlservpp::Module::Config::category(), and crawlservpp::Module::Config::loadConfig().
| std::string crawlservpp::Struct::ConfigItem::name |
Name of the configuration item.
Referenced by crawlservpp::Module::Config::loadConfig(), and crawlservpp::Module::Config::option().
| const rapidjson::Value* crawlservpp::Struct::ConfigItem::value {nullptr} |
JSON value of the configuration item, or nullptr if not initialized.
Referenced by crawlservpp::Module::Config::loadConfig(), and crawlservpp::Module::Config::option().