crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
UrlListProperties.hpp
Go to the documentation of this file.
1 /*
2  *
3  * ---
4  *
5  * Copyright (C) 2020 Anselm Schmidt (ans[ät]ohai.su)
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version in addition to the terms of any
11  * licences already herein identified.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <https://www.gnu.org/licenses/>.
20  *
21  * ---
22  *
23  * URLListProperties.hpp
24  *
25  * URL list properties (namespace and name).
26  *
27  * Created on: Feb 2, 2019
28  * Author: ans
29  */
30 
31 #ifndef STRUCT_URLLISTPROPERTIES_HPP_
32 #define STRUCT_URLLISTPROPERTIES_HPP_
33 
34 #include <string> // std::string
35 
36 namespace crawlservpp::Struct {
37 
42 
44  std::string nameSpace;
45 
47  std::string name;
48 
52 
54  UrlListProperties() = default;
55 
57 
66  const std::string& setNameSpace,
67  const std::string& setName
68  ) : nameSpace(setNameSpace), name(setName) {}
69 
71  };
72 
73 } /* namespace crawlservpp::Struct */
74 
75 #endif /* STRUCT_URLLISTPROPERTIES_HPP_ */
UrlListProperties(const std::string &setNameSpace, const std::string &setName)
Constructor setting the properties of the URL list.
Definition: UrlListProperties.hpp:65
Properties of a URL list containing its namespace and name.
Definition: UrlListProperties.hpp:39
std::string name
The name of the URL list.
Definition: UrlListProperties.hpp:47
std::string nameSpace
The namespace of the URL list.
Definition: UrlListProperties.hpp:44
UrlListProperties()=default
Default constructor.
Namespace for data structures.
Definition: AlgoThreadProperties.hpp:43