diff --git a/docs/adoc_8hpp_source.html b/docs/adoc_8hpp_source.html
index 5f6b3eb..d73b89e 100644
--- a/docs/adoc_8hpp_source.html
+++ b/docs/adoc_8hpp_source.html
@@ -5,7 +5,7 @@
-
remwharead: src/lib/export/adoc.hpp Source File
+remwharead: include/export/adoc.hpp Source File
@@ -62,7 +62,7 @@ $(function() {
-
17 #ifndef REMWHAREAD_ADOC_HPP 18 #define REMWHAREAD_ADOC_HPP 38 void print()
const override;
41 using tagmap = std::map<string,vector<Database::entry>>;
42 using replacemap =
const std::map<const string, const string>;
45 const string replace(
string text,
const replacemap &replacements)
const;
48 const string replace_in_tag(
const string &text)
const;
51 const string replace_in_title(
const string &text)
const;
54 const string replace_in_uri(
const string &text)
const;
57 void print_tags(
const tagmap &tags)
const;
68 #endif // REMWHAREAD_ADOC_HPP ExportBase(const vector< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
-
Export as AsciiDoc document.
Definition: adoc.hpp:33
-
Base class for exports.
Definition: export.hpp:33
-
Describes a database entry.
Definition: sqlite.hpp:40
-
Definition: search.cpp:23
+
17 #ifndef REMWHAREAD_ADOC_HPP 18 #define REMWHAREAD_ADOC_HPP 44 void print()
const override;
47 using tagmap = std::map<string,vector<Database::entry>>;
48 using replacemap =
const std::map<const string, const string>;
51 const string replace(
string text,
const replacemap &replacements)
const;
54 const string replace_in_tag(
const string &text)
const;
57 const string replace_in_title(
const string &text)
const;
60 const string replace_in_uri(
const string &text)
const;
63 void print_tags(
const tagmap &tags)
const;
74 #endif // REMWHAREAD_ADOC_HPP ExportBase(const vector< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
+
Export as AsciiDoc document.
Definition: adoc.hpp:39
+
Base class for exports.
Definition: export.hpp:39
+
Describes a database entry.
Definition: sqlite.hpp:46
+
Definition: bookmarks.cpp:22
void print() const override
Print output to std::ostream.
diff --git a/docs/annotated.html b/docs/annotated.html
index 7b2fdbd..c5ab386 100644
--- a/docs/annotated.html
+++ b/docs/annotated.html
@@ -69,10 +69,16 @@ $(function() {
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 123]
▼Nremwharead | |
- ▼CDatabase | Store and retrieve files from/to SQLite |
- Centry | Describes a database entry |
- Chtml_extract | A processed HTML page |
- CURI | Download, archive and process an URI |
+ ▼NExport | |
+ CAsciiDoc | Export as AsciiDoc document |
+ CBookmarks | Export as Netscape bookmark file |
+ CCSV | Export as Comma Separated Values |
+ CExportBase | Base class for exports |
+ CSimple | Export as simple list |
+ ▼CDatabase | Store and retrieve files from/to SQLite |
+ Centry | Describes a database entry |
+ Chtml_extract | A processed HTML page |
+ CURI | Download, archive and process an URI |
diff --git a/docs/bookmarks_8hpp_source.html b/docs/bookmarks_8hpp_source.html
index f3cb7fd..f8c8da4 100644
--- a/docs/bookmarks_8hpp_source.html
+++ b/docs/bookmarks_8hpp_source.html
@@ -5,7 +5,7 @@
-remwharead: src/lib/export/bookmarks.hpp Source File
+remwharead: include/export/bookmarks.hpp Source File
@@ -62,7 +62,7 @@ $(function() {
-
17 #ifndef REMWHAREAD_BOOKMARKS_HPP 18 #define REMWHAREAD_BOOKMARKS_HPP 31 virtual void print()
const override;
36 #endif // REMWHAREAD_BOOKMARKS_HPP ExportBase(const vector< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
+
17 #ifndef REMWHAREAD_BOOKMARKS_HPP 18 #define REMWHAREAD_BOOKMARKS_HPP 37 virtual void print()
const override;
42 #endif // REMWHAREAD_BOOKMARKS_HPP ExportBase(const vector< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
virtual void print() const override
Print output to std::ostream.
Definition: bookmarks.cpp:29
-
Base class for exports.
Definition: export.hpp:33
-
Definition: search.cpp:23
-
Export as Netscape bookmark file.
Definition: bookmarks.hpp:27
+
Base class for exports.
Definition: export.hpp:39
+
Definition: bookmarks.cpp:22
+
Export as Netscape bookmark file.
Definition: bookmarks.hpp:33
diff --git a/docs/classremwharead_1_1Export_1_1Bookmarks.html b/docs/classremwharead_1_1Export_1_1Bookmarks.html
index b02b39f..671b186 100644
--- a/docs/classremwharead_1_1Export_1_1Bookmarks.html
+++ b/docs/classremwharead_1_1Export_1_1Bookmarks.html
@@ -77,7 +77,7 @@ $(function() {
Export as Netscape bookmark file.
More...
-#include <bookmarks.hpp>
+#include <remwharead/export/bookmarks.hpp>
@@ -116,6 +116,7 @@ ostream &
_out |
Export as Netscape bookmark file.
+
- Since
- 0.6.0
◆ ExportBase()
@@ -180,7 +181,7 @@ ostream &
_out |
The documentation for this class was generated from the following files:
diff --git a/docs/classremwharead_1_1Export_1_1CSV.html b/docs/classremwharead_1_1Export_1_1CSV.html
index c518625..265cb46 100644
--- a/docs/classremwharead_1_1Export_1_1CSV.html
+++ b/docs/classremwharead_1_1Export_1_1CSV.html
@@ -77,7 +77,7 @@ $(function() {
Export as Comma Separated Values.
More...
-#include <csv.hpp>
+#include <remwharead/export/csv.hpp>
@@ -116,6 +116,7 @@ ostream &
_out |
Export as Comma Separated Values.
+
- Since
- 0.6.0
◆ ExportBase()
@@ -180,7 +181,7 @@ ostream &
_out |
The documentation for this class was generated from the following files:
-- src/lib/export/csv.hpp
+- include/export/csv.hpp
- src/lib/export/csv.cpp
diff --git a/docs/classremwharead_1_1Export_1_1ExportBase.html b/docs/classremwharead_1_1Export_1_1ExportBase.html
index 91fe36e..01f8ad2 100644
--- a/docs/classremwharead_1_1Export_1_1ExportBase.html
+++ b/docs/classremwharead_1_1Export_1_1ExportBase.html
@@ -79,7 +79,7 @@ $(function() {
Base class for exports.
More...
-#include <export.hpp>
+#include <remwharead/export/export.hpp>
@@ -119,6 +119,7 @@ ostream &
_out |
Base class for exports.
+
- Since
- 0.6.0
◆ ExportBase()
@@ -232,7 +233,7 @@ ostream &
_out |
The documentation for this class was generated from the following files:
diff --git a/docs/classremwharead_1_1Export_1_1Simple.html b/docs/classremwharead_1_1Export_1_1Simple.html
index d0ee41a..8f985b4 100644
--- a/docs/classremwharead_1_1Export_1_1Simple.html
+++ b/docs/classremwharead_1_1Export_1_1Simple.html
@@ -77,7 +77,7 @@ $(function() {
Export as simple list.
More...
-#include <simple.hpp>
+#include <remwharead/export/simple.hpp>
@@ -116,6 +116,7 @@ ostream &
_out |
Export as simple list.
+
- Since
- 0.6.0
◆ ExportBase()
@@ -180,7 +181,7 @@ ostream &
_out |
The documentation for this class was generated from the following files:
diff --git a/docs/classremwharead_1_1URI.html b/docs/classremwharead_1_1URI.html
index 83c26fc..582447a 100644
--- a/docs/classremwharead_1_1URI.html
+++ b/docs/classremwharead_1_1URI.html
@@ -79,7 +79,7 @@ $(function() {
Download, archive and process an URI.
More...
-#include <uri.hpp>
+#include <remwharead/uri.hpp>
|
@@ -125,6 +125,7 @@ string _uri |
Download, archive and process an URI.
+
- Since
- 0.6.0
◆ URI()
diff --git a/docs/csv_8hpp_source.html b/docs/csv_8hpp_source.html
index 40e5ccd..d6f7d72 100644
--- a/docs/csv_8hpp_source.html
+++ b/docs/csv_8hpp_source.html
@@ -5,7 +5,7 @@
-remwharead: src/lib/export/csv.hpp Source File
+remwharead: include/export/csv.hpp Source File
@@ -62,7 +62,7 @@ $(function() {
-
17 #ifndef REMWHAREAD_CSV_HPP 18 #define REMWHAREAD_CSV_HPP 35 virtual void print()
const override;
39 const string quote(
string field)
const;
44 #endif // REMWHAREAD_CSV_HPP ExportBase(const vector< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
-
Base class for exports.
Definition: export.hpp:33
-
Definition: search.cpp:23
+
17 #ifndef REMWHAREAD_CSV_HPP 18 #define REMWHAREAD_CSV_HPP 41 virtual void print()
const override;
45 const string quote(
string field)
const;
50 #endif // REMWHAREAD_CSV_HPP ExportBase(const vector< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
+
Base class for exports.
Definition: export.hpp:39
+
Definition: bookmarks.cpp:22
virtual void print() const override
Print output to std::ostream.
Definition: csv.cpp:25
-
Export as Comma Separated Values.
Definition: csv.hpp:30
+
Export as Comma Separated Values.
Definition: csv.hpp:36
|
file | search.hpp [code] |
diff --git a/docs/export_8hpp_source.html b/docs/export_8hpp_source.html
index a06aa3d..838dfdf 100644
--- a/docs/export_8hpp_source.html
+++ b/docs/export_8hpp_source.html
@@ -5,7 +5,7 @@
-remwharead: src/lib/export/export.hpp Source File
+remwharead: include/export/export.hpp Source File
@@ -62,7 +62,7 @@ $(function() {
-
17 #ifndef REMWHAREAD_EXPORT_HPP 18 #define REMWHAREAD_EXPORT_HPP 42 explicit ExportBase(
const vector<Database::entry> &entries,
48 virtual void print()
const = 0;
51 const vector<Database::entry> _entries;
61 const vector<Database::entry>
67 #endif // REMWHAREAD_EXPORT_HPP ExportBase(const vector< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
-
Base class for exports.
Definition: export.hpp:33
-
Definition: search.cpp:23
+
17 #ifndef REMWHAREAD_EXPORT_HPP 18 #define REMWHAREAD_EXPORT_HPP 48 explicit ExportBase(
const vector<Database::entry> &entries,
54 virtual void print()
const = 0;
57 const vector<Database::entry> _entries;
67 const vector<Database::entry>
73 #endif // REMWHAREAD_EXPORT_HPP ExportBase(const vector< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
+
Base class for exports.
Definition: export.hpp:39
+
Definition: bookmarks.cpp:22
const vector< Database::entry > sort_entries(vector< Database::entry > entries) const
Sort entries from newest to oldest.
Definition: export.cpp:30
virtual void print() const =0
Print output to std::ostream.
diff --git a/docs/files.html b/docs/files.html
index a785235..51e239d 100644
--- a/docs/files.html
+++ b/docs/files.html
@@ -67,14 +67,20 @@ $(function() {
Here is a list of all documented files with brief descriptions:
-
[detail level 12]
+[detail level 123]
diff --git a/docs/functions.html b/docs/functions.html
index 8f5520e..da6366e 100644
--- a/docs/functions.html
+++ b/docs/functions.html
@@ -72,6 +72,9 @@ $(function() {
entry
: remwharead::Database
+ExportBase()
+: remwharead::Export::ExportBase
+
extract_description()
: remwharead::URI
@@ -93,6 +96,13 @@ $(function() {
operator==
: remwharead::Database::entry
+print()
+: remwharead::Export::AsciiDoc
+, remwharead::Export::Bookmarks
+, remwharead::Export::CSV
+, remwharead::Export::ExportBase
+, remwharead::Export::Simple
+
remove_html_tags()
: remwharead::URI
@@ -102,6 +112,9 @@ $(function() {
retrieve()
: remwharead::Database
+sort_entries()
+: remwharead::Export::ExportBase
+
store()
: remwharead::Database
diff --git a/docs/functions_func.html b/docs/functions_func.html
index e5f9cd8..97e2e1c 100644
--- a/docs/functions_func.html
+++ b/docs/functions_func.html
@@ -69,6 +69,9 @@ $(function() {
Database()
: remwharead::Database
+ExportBase()
+: remwharead::Export::ExportBase
+
extract_description()
: remwharead::URI
@@ -87,6 +90,13 @@ $(function() {
operator bool()
: remwharead::Database
+print()
+: remwharead::Export::AsciiDoc
+, remwharead::Export::Bookmarks
+, remwharead::Export::CSV
+, remwharead::Export::ExportBase
+, remwharead::Export::Simple
+
remove_html_tags()
: remwharead::URI
@@ -96,6 +106,9 @@ $(function() {
retrieve()
: remwharead::Database
+sort_entries()
+: remwharead::Export::ExportBase
+
store()
: remwharead::Database
diff --git a/docs/menudata.js b/docs/menudata.js
index d08bf52..1693fb2 100644
--- a/docs/menudata.js
+++ b/docs/menudata.js
@@ -26,6 +26,7 @@ var menudata={children:[
{text:"Classes",url:"annotated.html",children:[
{text:"Class List",url:"annotated.html"},
{text:"Class Index",url:"classes.html"},
+{text:"Class Hierarchy",url:"hierarchy.html"},
{text:"Class Members",url:"functions.html",children:[
{text:"All",url:"functions.html"},
{text:"Functions",url:"functions_func.html"},
diff --git a/docs/search/all_0.js b/docs/search/all_0.js
index 7ec321d..b843e8b 100644
--- a/docs/search/all_0.js
+++ b/docs/search/all_0.js
@@ -1,4 +1,5 @@
var searchData=
[
- ['archive',['archive',['../classremwharead_1_1URI.html#a074b3aa3ec7658b184869599c9ab6445',1,'remwharead::URI']]]
+ ['archive',['archive',['../classremwharead_1_1URI.html#a074b3aa3ec7658b184869599c9ab6445',1,'remwharead::URI']]],
+ ['asciidoc',['AsciiDoc',['../classremwharead_1_1Export_1_1AsciiDoc.html',1,'remwharead::Export']]]
];
diff --git a/docs/search/all_1.js b/docs/search/all_1.js
index 513e711..0239cc4 100644
--- a/docs/search/all_1.js
+++ b/docs/search/all_1.js
@@ -1,4 +1,4 @@
var searchData=
[
- ['database',['Database',['../classremwharead_1_1Database.html',1,'remwharead::Database'],['../classremwharead_1_1Database.html#a8576436b2cc1e3d8ecfdeabfc0ff88ca',1,'remwharead::Database::Database()']]]
+ ['bookmarks',['Bookmarks',['../classremwharead_1_1Export_1_1Bookmarks.html',1,'remwharead::Export']]]
];
diff --git a/docs/search/all_2.js b/docs/search/all_2.js
index 15df538..b9ded6e 100644
--- a/docs/search/all_2.js
+++ b/docs/search/all_2.js
@@ -1,7 +1,4 @@
var searchData=
[
- ['entry',['entry',['../structremwharead_1_1Database_1_1entry.html',1,'remwharead::Database::entry'],['../classremwharead_1_1Database.html#a5ef85b43b21a900046b9233ee259ae7d',1,'remwharead::Database::entry()']]],
- ['export_5fformat',['export_format',['../types_8hpp.html#a937b5e962f810e493ec0629c86a9fd7e',1,'remwharead']]],
- ['extract_5fdescription',['extract_description',['../classremwharead_1_1URI.html#ae6ff7a41b9529eb8f4c7f2ace7260dc7',1,'remwharead::URI']]],
- ['extract_5ftitle',['extract_title',['../classremwharead_1_1URI.html#a37f93c46371d9b3753ae04bd2ef2c362',1,'remwharead::URI']]]
+ ['csv',['CSV',['../classremwharead_1_1Export_1_1CSV.html',1,'remwharead::Export']]]
];
diff --git a/docs/search/all_3.js b/docs/search/all_3.js
index 8113eef..513e711 100644
--- a/docs/search/all_3.js
+++ b/docs/search/all_3.js
@@ -1,4 +1,4 @@
var searchData=
[
- ['fulltext_5foneline',['fulltext_oneline',['../structremwharead_1_1Database_1_1entry.html#a0e19bad458eedf6ecdcf4b33ce319e8d',1,'remwharead::Database::entry']]]
+ ['database',['Database',['../classremwharead_1_1Database.html',1,'remwharead::Database'],['../classremwharead_1_1Database.html#a8576436b2cc1e3d8ecfdeabfc0ff88ca',1,'remwharead::Database::Database()']]]
];
diff --git a/docs/search/all_4.js b/docs/search/all_4.js
index 18aa3a4..789c313 100644
--- a/docs/search/all_4.js
+++ b/docs/search/all_4.js
@@ -1,4 +1,8 @@
var searchData=
[
- ['get',['get',['../classremwharead_1_1URI.html#a8d6ac084a823749ed38c12e7bf8f3461',1,'remwharead::URI']]]
+ ['entry',['entry',['../structremwharead_1_1Database_1_1entry.html',1,'remwharead::Database::entry'],['../classremwharead_1_1Database.html#a5ef85b43b21a900046b9233ee259ae7d',1,'remwharead::Database::entry()']]],
+ ['export_5fformat',['export_format',['../types_8hpp.html#a937b5e962f810e493ec0629c86a9fd7e',1,'remwharead']]],
+ ['exportbase',['ExportBase',['../classremwharead_1_1Export_1_1ExportBase.html',1,'remwharead::Export::ExportBase'],['../classremwharead_1_1Export_1_1ExportBase.html#aa3c6d5cb261aaf26aafc8c4a81c83678',1,'remwharead::Export::ExportBase::ExportBase()']]],
+ ['extract_5fdescription',['extract_description',['../classremwharead_1_1URI.html#ae6ff7a41b9529eb8f4c7f2ace7260dc7',1,'remwharead::URI']]],
+ ['extract_5ftitle',['extract_title',['../classremwharead_1_1URI.html#a37f93c46371d9b3753ae04bd2ef2c362',1,'remwharead::URI']]]
];
diff --git a/docs/search/all_5.js b/docs/search/all_5.js
index ce5019c..8113eef 100644
--- a/docs/search/all_5.js
+++ b/docs/search/all_5.js
@@ -1,4 +1,4 @@
var searchData=
[
- ['html_5fextract',['html_extract',['../structremwharead_1_1html__extract.html',1,'remwharead']]]
+ ['fulltext_5foneline',['fulltext_oneline',['../structremwharead_1_1Database_1_1entry.html#a0e19bad458eedf6ecdcf4b33ce319e8d',1,'remwharead::Database::entry']]]
];
diff --git a/docs/search/all_6.js b/docs/search/all_6.js
index 303b720..18aa3a4 100644
--- a/docs/search/all_6.js
+++ b/docs/search/all_6.js
@@ -1,4 +1,4 @@
var searchData=
[
- ['make_5frequest',['make_request',['../classremwharead_1_1URI.html#a2eadd0b24e6a37c8c42d710707bbfedf',1,'remwharead::URI']]]
+ ['get',['get',['../classremwharead_1_1URI.html#a8d6ac084a823749ed38c12e7bf8f3461',1,'remwharead::URI']]]
];
diff --git a/docs/search/all_7.js b/docs/search/all_7.js
index 3035cae..ce5019c 100644
--- a/docs/search/all_7.js
+++ b/docs/search/all_7.js
@@ -1,5 +1,4 @@
var searchData=
[
- ['operator_20bool',['operator bool',['../classremwharead_1_1Database.html#adf363243852b2a5fec1911139d4936c1',1,'remwharead::Database']]],
- ['operator_3d_3d',['operator==',['../structremwharead_1_1Database_1_1entry.html#a67f257a407ec46c00d205fd4c9215846',1,'remwharead::Database::entry']]]
+ ['html_5fextract',['html_extract',['../structremwharead_1_1html__extract.html',1,'remwharead']]]
];
diff --git a/docs/search/all_8.js b/docs/search/all_8.js
index ca63a6c..303b720 100644
--- a/docs/search/all_8.js
+++ b/docs/search/all_8.js
@@ -1,7 +1,4 @@
var searchData=
[
- ['remwharead_20reference',['remwharead Reference',['../index.html',1,'']]],
- ['remove_5fhtml_5ftags',['remove_html_tags',['../classremwharead_1_1URI.html#a8b340b13ccf0bc3ae9059872ce48e06a',1,'remwharead::URI']]],
- ['remove_5fnewlines',['remove_newlines',['../classremwharead_1_1URI.html#a9373cb28de198ae2db624980273ece4a',1,'remwharead::URI']]],
- ['retrieve',['retrieve',['../classremwharead_1_1Database.html#abc9c9adf58b786342b0492baeef8f4ec',1,'remwharead::Database']]]
+ ['make_5frequest',['make_request',['../classremwharead_1_1URI.html#a2eadd0b24e6a37c8c42d710707bbfedf',1,'remwharead::URI']]]
];
diff --git a/docs/search/all_9.js b/docs/search/all_9.js
index 1999ccf..3035cae 100644
--- a/docs/search/all_9.js
+++ b/docs/search/all_9.js
@@ -1,6 +1,5 @@
var searchData=
[
- ['search_2ehpp',['search.hpp',['../search_8hpp.html',1,'']]],
- ['store',['store',['../classremwharead_1_1Database.html#ab3ea9062c5c0ef5d9f2b7eea6f0fd1bd',1,'remwharead::Database']]],
- ['strip_5fhtml',['strip_html',['../classremwharead_1_1URI.html#ad6ad5351ecf2983e01f9f4a51c2057a5',1,'remwharead::URI']]]
+ ['operator_20bool',['operator bool',['../classremwharead_1_1Database.html#adf363243852b2a5fec1911139d4936c1',1,'remwharead::Database']]],
+ ['operator_3d_3d',['operator==',['../structremwharead_1_1Database_1_1entry.html#a67f257a407ec46c00d205fd4c9215846',1,'remwharead::Database::entry']]]
];
diff --git a/docs/search/all_a.js b/docs/search/all_a.js
index efa44b2..28a43a7 100644
--- a/docs/search/all_a.js
+++ b/docs/search/all_a.js
@@ -1,5 +1,4 @@
var searchData=
[
- ['time_2ehpp',['time.hpp',['../time_8hpp.html',1,'']]],
- ['types_2ehpp',['types.hpp',['../types_8hpp.html',1,'']]]
+ ['print',['print',['../classremwharead_1_1Export_1_1AsciiDoc.html#a20ce832d0cea815b048bbe5c51496a77',1,'remwharead::Export::AsciiDoc::print()'],['../classremwharead_1_1Export_1_1Bookmarks.html#af92b6e7c8bf46032dcf65267ce83d043',1,'remwharead::Export::Bookmarks::print()'],['../classremwharead_1_1Export_1_1CSV.html#a107c3390677129f00a6f45b924e2a539',1,'remwharead::Export::CSV::print()'],['../classremwharead_1_1Export_1_1ExportBase.html#aee596eaefecdb1c21c37f5e3d129ed56',1,'remwharead::Export::ExportBase::print()'],['../classremwharead_1_1Export_1_1Simple.html#af688d80f3d7903d59ef730311e32b7f8',1,'remwharead::Export::Simple::print()']]]
];
diff --git a/docs/search/all_b.js b/docs/search/all_b.js
index 3e83984..ca63a6c 100644
--- a/docs/search/all_b.js
+++ b/docs/search/all_b.js
@@ -1,5 +1,7 @@
var searchData=
[
- ['unescape_5fhtml',['unescape_html',['../classremwharead_1_1URI.html#a37c36dbf8ccc03c8cc132be29e49f4ec',1,'remwharead::URI']]],
- ['uri',['URI',['../classremwharead_1_1URI.html',1,'remwharead::URI'],['../classremwharead_1_1URI.html#acda508768b1fd3b4df81ea66dd4fab87',1,'remwharead::URI::URI()']]]
+ ['remwharead_20reference',['remwharead Reference',['../index.html',1,'']]],
+ ['remove_5fhtml_5ftags',['remove_html_tags',['../classremwharead_1_1URI.html#a8b340b13ccf0bc3ae9059872ce48e06a',1,'remwharead::URI']]],
+ ['remove_5fnewlines',['remove_newlines',['../classremwharead_1_1URI.html#a9373cb28de198ae2db624980273ece4a',1,'remwharead::URI']]],
+ ['retrieve',['retrieve',['../classremwharead_1_1Database.html#abc9c9adf58b786342b0492baeef8f4ec',1,'remwharead::Database']]]
];
diff --git a/docs/search/all_c.js b/docs/search/all_c.js
index efa44b2..faa122d 100644
--- a/docs/search/all_c.js
+++ b/docs/search/all_c.js
@@ -1,5 +1,8 @@
var searchData=
[
- ['time_2ehpp',['time.hpp',['../time_8hpp.html',1,'']]],
- ['types_2ehpp',['types.hpp',['../types_8hpp.html',1,'']]]
+ ['search_2ehpp',['search.hpp',['../search_8hpp.html',1,'']]],
+ ['simple',['Simple',['../classremwharead_1_1Export_1_1Simple.html',1,'remwharead::Export']]],
+ ['sort_5fentries',['sort_entries',['../classremwharead_1_1Export_1_1ExportBase.html#a0a0515408c0af2f0d74fe8e483882384',1,'remwharead::Export::ExportBase']]],
+ ['store',['store',['../classremwharead_1_1Database.html#ab3ea9062c5c0ef5d9f2b7eea6f0fd1bd',1,'remwharead::Database']]],
+ ['strip_5fhtml',['strip_html',['../classremwharead_1_1URI.html#ad6ad5351ecf2983e01f9f4a51c2057a5',1,'remwharead::URI']]]
];
diff --git a/docs/search/all_d.js b/docs/search/all_d.js
index 3e83984..efa44b2 100644
--- a/docs/search/all_d.js
+++ b/docs/search/all_d.js
@@ -1,5 +1,5 @@
var searchData=
[
- ['unescape_5fhtml',['unescape_html',['../classremwharead_1_1URI.html#a37c36dbf8ccc03c8cc132be29e49f4ec',1,'remwharead::URI']]],
- ['uri',['URI',['../classremwharead_1_1URI.html',1,'remwharead::URI'],['../classremwharead_1_1URI.html#acda508768b1fd3b4df81ea66dd4fab87',1,'remwharead::URI::URI()']]]
+ ['time_2ehpp',['time.hpp',['../time_8hpp.html',1,'']]],
+ ['types_2ehpp',['types.hpp',['../types_8hpp.html',1,'']]]
];
diff --git a/docs/search/all_e.html b/docs/search/all_e.html
new file mode 100644
index 0000000..85b39bd
--- /dev/null
+++ b/docs/search/all_e.html
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
Loading...
+
+
+
Searching...
+
No Matches
+
+
+
+
diff --git a/docs/search/all_e.js b/docs/search/all_e.js
new file mode 100644
index 0000000..3e83984
--- /dev/null
+++ b/docs/search/all_e.js
@@ -0,0 +1,5 @@
+var searchData=
+[
+ ['unescape_5fhtml',['unescape_html',['../classremwharead_1_1URI.html#a37c36dbf8ccc03c8cc132be29e49f4ec',1,'remwharead::URI']]],
+ ['uri',['URI',['../classremwharead_1_1URI.html',1,'remwharead::URI'],['../classremwharead_1_1URI.html#acda508768b1fd3b4df81ea66dd4fab87',1,'remwharead::URI::URI()']]]
+];
diff --git a/docs/search/classes_0.js b/docs/search/classes_0.js
index acbcf84..c88e671 100644
--- a/docs/search/classes_0.js
+++ b/docs/search/classes_0.js
@@ -1,4 +1,4 @@
var searchData=
[
- ['database',['Database',['../classremwharead_1_1Database.html',1,'remwharead']]]
+ ['asciidoc',['AsciiDoc',['../classremwharead_1_1Export_1_1AsciiDoc.html',1,'remwharead::Export']]]
];
diff --git a/docs/search/classes_1.js b/docs/search/classes_1.js
index 81eef80..0239cc4 100644
--- a/docs/search/classes_1.js
+++ b/docs/search/classes_1.js
@@ -1,4 +1,4 @@
var searchData=
[
- ['entry',['entry',['../structremwharead_1_1Database_1_1entry.html',1,'remwharead::Database']]]
+ ['bookmarks',['Bookmarks',['../classremwharead_1_1Export_1_1Bookmarks.html',1,'remwharead::Export']]]
];
diff --git a/docs/search/classes_2.js b/docs/search/classes_2.js
index ce5019c..b9ded6e 100644
--- a/docs/search/classes_2.js
+++ b/docs/search/classes_2.js
@@ -1,4 +1,4 @@
var searchData=
[
- ['html_5fextract',['html_extract',['../structremwharead_1_1html__extract.html',1,'remwharead']]]
+ ['csv',['CSV',['../classremwharead_1_1Export_1_1CSV.html',1,'remwharead::Export']]]
];
diff --git a/docs/search/classes_3.js b/docs/search/classes_3.js
index 893656f..acbcf84 100644
--- a/docs/search/classes_3.js
+++ b/docs/search/classes_3.js
@@ -1,4 +1,4 @@
var searchData=
[
- ['uri',['URI',['../classremwharead_1_1URI.html',1,'remwharead']]]
+ ['database',['Database',['../classremwharead_1_1Database.html',1,'remwharead']]]
];
diff --git a/docs/search/functions_2.js b/docs/search/functions_2.js
index 72d4b72..7c19138 100644
--- a/docs/search/functions_2.js
+++ b/docs/search/functions_2.js
@@ -1,5 +1,6 @@
var searchData=
[
+ ['exportbase',['ExportBase',['../classremwharead_1_1Export_1_1ExportBase.html#aa3c6d5cb261aaf26aafc8c4a81c83678',1,'remwharead::Export::ExportBase']]],
['extract_5fdescription',['extract_description',['../classremwharead_1_1URI.html#ae6ff7a41b9529eb8f4c7f2ace7260dc7',1,'remwharead::URI']]],
['extract_5ftitle',['extract_title',['../classremwharead_1_1URI.html#a37f93c46371d9b3753ae04bd2ef2c362',1,'remwharead::URI']]]
];
diff --git a/docs/search/functions_7.js b/docs/search/functions_7.js
index 329837c..28a43a7 100644
--- a/docs/search/functions_7.js
+++ b/docs/search/functions_7.js
@@ -1,6 +1,4 @@
var searchData=
[
- ['remove_5fhtml_5ftags',['remove_html_tags',['../classremwharead_1_1URI.html#a8b340b13ccf0bc3ae9059872ce48e06a',1,'remwharead::URI']]],
- ['remove_5fnewlines',['remove_newlines',['../classremwharead_1_1URI.html#a9373cb28de198ae2db624980273ece4a',1,'remwharead::URI']]],
- ['retrieve',['retrieve',['../classremwharead_1_1Database.html#abc9c9adf58b786342b0492baeef8f4ec',1,'remwharead::Database']]]
+ ['print',['print',['../classremwharead_1_1Export_1_1AsciiDoc.html#a20ce832d0cea815b048bbe5c51496a77',1,'remwharead::Export::AsciiDoc::print()'],['../classremwharead_1_1Export_1_1Bookmarks.html#af92b6e7c8bf46032dcf65267ce83d043',1,'remwharead::Export::Bookmarks::print()'],['../classremwharead_1_1Export_1_1CSV.html#a107c3390677129f00a6f45b924e2a539',1,'remwharead::Export::CSV::print()'],['../classremwharead_1_1Export_1_1ExportBase.html#aee596eaefecdb1c21c37f5e3d129ed56',1,'remwharead::Export::ExportBase::print()'],['../classremwharead_1_1Export_1_1Simple.html#af688d80f3d7903d59ef730311e32b7f8',1,'remwharead::Export::Simple::print()']]]
];
diff --git a/docs/search/functions_8.js b/docs/search/functions_8.js
index 540cc63..329837c 100644
--- a/docs/search/functions_8.js
+++ b/docs/search/functions_8.js
@@ -1,5 +1,6 @@
var searchData=
[
- ['store',['store',['../classremwharead_1_1Database.html#ab3ea9062c5c0ef5d9f2b7eea6f0fd1bd',1,'remwharead::Database']]],
- ['strip_5fhtml',['strip_html',['../classremwharead_1_1URI.html#ad6ad5351ecf2983e01f9f4a51c2057a5',1,'remwharead::URI']]]
+ ['remove_5fhtml_5ftags',['remove_html_tags',['../classremwharead_1_1URI.html#a8b340b13ccf0bc3ae9059872ce48e06a',1,'remwharead::URI']]],
+ ['remove_5fnewlines',['remove_newlines',['../classremwharead_1_1URI.html#a9373cb28de198ae2db624980273ece4a',1,'remwharead::URI']]],
+ ['retrieve',['retrieve',['../classremwharead_1_1Database.html#abc9c9adf58b786342b0492baeef8f4ec',1,'remwharead::Database']]]
];
diff --git a/docs/search/functions_9.js b/docs/search/functions_9.js
index 6441156..e37fd95 100644
--- a/docs/search/functions_9.js
+++ b/docs/search/functions_9.js
@@ -1,5 +1,6 @@
var searchData=
[
- ['unescape_5fhtml',['unescape_html',['../classremwharead_1_1URI.html#a37c36dbf8ccc03c8cc132be29e49f4ec',1,'remwharead::URI']]],
- ['uri',['URI',['../classremwharead_1_1URI.html#acda508768b1fd3b4df81ea66dd4fab87',1,'remwharead::URI']]]
+ ['sort_5fentries',['sort_entries',['../classremwharead_1_1Export_1_1ExportBase.html#a0a0515408c0af2f0d74fe8e483882384',1,'remwharead::Export::ExportBase']]],
+ ['store',['store',['../classremwharead_1_1Database.html#ab3ea9062c5c0ef5d9f2b7eea6f0fd1bd',1,'remwharead::Database']]],
+ ['strip_5fhtml',['strip_html',['../classremwharead_1_1URI.html#ad6ad5351ecf2983e01f9f4a51c2057a5',1,'remwharead::URI']]]
];
diff --git a/docs/search/functions_a.html b/docs/search/functions_a.html
new file mode 100644
index 0000000..3958eb7
--- /dev/null
+++ b/docs/search/functions_a.html
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
Loading...
+
+
+
Searching...
+
No Matches
+
+
+
+
diff --git a/docs/search/functions_a.js b/docs/search/functions_a.js
new file mode 100644
index 0000000..6441156
--- /dev/null
+++ b/docs/search/functions_a.js
@@ -0,0 +1,5 @@
+var searchData=
+[
+ ['unescape_5fhtml',['unescape_html',['../classremwharead_1_1URI.html#a37c36dbf8ccc03c8cc132be29e49f4ec',1,'remwharead::URI']]],
+ ['uri',['URI',['../classremwharead_1_1URI.html#acda508768b1fd3b4df81ea66dd4fab87',1,'remwharead::URI']]]
+];
diff --git a/docs/search/searchdata.js b/docs/search/searchdata.js
index d472540..d5f5012 100644
--- a/docs/search/searchdata.js
+++ b/docs/search/searchdata.js
@@ -1,9 +1,9 @@
var indexSectionsWithContent =
{
- 0: "adefghmorstu",
- 1: "dehu",
+ 0: "abcdefghmoprstu",
+ 1: "abcdehsu",
2: "st",
- 3: "adefgmorsu",
+ 3: "adefgmoprsu",
4: "e",
5: "e",
6: "o",
diff --git a/docs/search_8hpp_source.html b/docs/search_8hpp_source.html
index bc53b8f..27c37b7 100644
--- a/docs/search_8hpp_source.html
+++ b/docs/search_8hpp_source.html
@@ -70,7 +70,7 @@ $(function() {
search.hpp
-
Go to the documentation of this file. 17 #ifndef REMWHAREAD_SEARCH_HPP 18 #define REMWHAREAD_SEARCH_HPP 39 const vector<vector<string>> parse_expression(
string expression);
42 const string to_lowercase(
const string &str);
55 const vector<Database::entry>
56 search_tags(
const vector<Database::entry> &entries,
string expression,
70 const vector<Database::entry>
71 search_all(
const vector<Database::entry> &entries,
string expression,
75 #endif // REMWHAREAD_SEARCH_HPP Definition: search.cpp:23
+
Go to the documentation of this file. 17 #ifndef REMWHAREAD_SEARCH_HPP 18 #define REMWHAREAD_SEARCH_HPP 39 const vector<vector<string>> parse_expression(
string expression);
42 const string to_lowercase(
const string &str);
55 const vector<Database::entry>
56 search_tags(
const vector<Database::entry> &entries,
string expression,
70 const vector<Database::entry>
71 search_all(
const vector<Database::entry> &entries,
string expression,
75 #endif // REMWHAREAD_SEARCH_HPP Definition: bookmarks.cpp:22
-
17 #ifndef REMWHAREAD_SIMPLE_HPP 18 #define REMWHAREAD_SIMPLE_HPP 31 virtual void print()
const override;
36 #endif // REMWHAREAD_SIMPLE_HPP ExportBase(const vector< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
-
Base class for exports.
Definition: export.hpp:33
-
Definition: search.cpp:23
+
17 #ifndef REMWHAREAD_SIMPLE_HPP 18 #define REMWHAREAD_SIMPLE_HPP 37 virtual void print()
const override;
42 #endif // REMWHAREAD_SIMPLE_HPP ExportBase(const vector< Database::entry > &entries, ostream &out=cout)
Export vector of Database::entry.
Definition: export.cpp:24
+
Base class for exports.
Definition: export.hpp:39
+
Definition: bookmarks.cpp:22
virtual void print() const override
Print output to std::ostream.
Definition: simple.cpp:26
-
Export as simple list.
Definition: simple.hpp:27
+
Export as simple list.
Definition: simple.hpp:33
-
17 #ifndef REMWHAREAD_SQLITE_HPP 18 #define REMWHAREAD_SQLITE_HPP 20 #include <experimental/filesystem> 25 #include <sqlite/connection.hpp> 29 namespace fs = std::experimental::filesystem;
32 using std::chrono::system_clock;
33 using time_point = system_clock::time_point;
61 operator bool()
const;
68 const time_point &start = time_point(),
69 const time_point &end = system_clock::now())
const;
73 std::unique_ptr<sqlite::connection> _con;
80 #endif // REMWHAREAD_SQLITE_HPP struct remwharead::Database::entry entry
Describes a database entry.
-
Store and retrieve files from/to SQLite.
Definition: sqlite.hpp:36
+
17 #ifndef REMWHAREAD_SQLITE_HPP 18 #define REMWHAREAD_SQLITE_HPP 20 #include <experimental/filesystem> 25 #include <sqlite/connection.hpp> 29 namespace fs = std::experimental::filesystem;
32 using std::chrono::system_clock;
33 using time_point = system_clock::time_point;
67 operator bool()
const;
74 const time_point &start = time_point(),
75 const time_point &end = system_clock::now())
const;
79 std::unique_ptr<sqlite::connection> _con;
86 #endif // REMWHAREAD_SQLITE_HPP struct remwharead::Database::entry entry
Describes a database entry.
+
Store and retrieve files from/to SQLite.
Definition: sqlite.hpp:42
void store(const entry &data) const
Store a Database::entry in the database.
Definition: sqlite.cpp:82
-
Describes a database entry.
Definition: sqlite.hpp:40
-
Definition: search.cpp:23
+
Describes a database entry.
Definition: sqlite.hpp:46
+
Definition: bookmarks.cpp:22
friend bool operator==(const Database::entry &a, const Database::entry &b)
Returns true if date and time are equal.
Definition: sqlite.cpp:66
const string fulltext_oneline() const
The full text in one line.
Definition: sqlite.cpp:71
const vector< entry > retrieve(const time_point &start=time_point(), const time_point &end=system_clock::now()) const
Retrieve a vector of Database::entry from the database.
Definition: sqlite.cpp:109
diff --git a/docs/time_8hpp_source.html b/docs/time_8hpp_source.html
index 03f9379..9ea1be0 100644
--- a/docs/time_8hpp_source.html
+++ b/docs/time_8hpp_source.html
@@ -70,7 +70,7 @@ $(function() {
time.hpp
-
Go to the documentation of this file. 17 #ifndef REMWHAREAD_TIME_HPP 18 #define REMWHAREAD_TIME_HPP 28 using std::chrono::system_clock;
29 using time_point = system_clock::time_point;
39 const time_point string_to_timepoint(
const string &strtime,
50 const string timepoint_to_string(
const time_point &tp,
bool sqlite =
false);
53 #endif // REMWHAREAD_TIME_HPP Definition: search.cpp:23
+
Go to the documentation of this file. 17 #ifndef REMWHAREAD_TIME_HPP 18 #define REMWHAREAD_TIME_HPP 28 using std::chrono::system_clock;
29 using time_point = system_clock::time_point;
39 const time_point string_to_timepoint(
const string &strtime,
50 const string timepoint_to_string(
const time_point &tp,
bool sqlite =
false);
53 #endif // REMWHAREAD_TIME_HPP Definition: bookmarks.cpp:22
Format of the export.
-
+
- Since
- 0.6.0
+
diff --git a/docs/types_8hpp_source.html b/docs/types_8hpp_source.html
index 11c3c24..c2ed739 100644
--- a/docs/types_8hpp_source.html
+++ b/docs/types_8hpp_source.html
@@ -70,8 +70,8 @@ $(function() {
types.hpp
-
Go to the documentation of this file. 17 #ifndef REMWHAREAD_TYPES_HPP 18 #define REMWHAREAD_TYPES_HPP 35 #endif // REMWHAREAD_TYPES_HPP Definition: search.cpp:23
-
export_format
Format of the export.
Definition: types.hpp:25
+
Go to the documentation of this file. 17 #ifndef REMWHAREAD_TYPES_HPP 18 #define REMWHAREAD_TYPES_HPP 41 #endif // REMWHAREAD_TYPES_HPP Definition: bookmarks.cpp:22
+
export_format
Format of the export.
Definition: types.hpp:31
-
17 #ifndef REMWHAREAD_URI_HPP 18 #define REMWHAREAD_URI_HPP 39 explicit URI(
const string &uri);
70 const string &tag =
"");
80 #endif // REMWHAREAD_URI_HPP
+
17 #ifndef REMWHAREAD_URI_HPP 18 #define REMWHAREAD_URI_HPP 45 explicit URI(
const string &uri);
76 const string &tag =
"");
86 #endif // REMWHAREAD_URI_HPP
URI(const string &uri)
Construct object and set URL.
Definition: uri.cpp:56
const string remove_html_tags(const string &html, const string &tag="")
Remove HTML tags.
Definition: uri.cpp:230
-
Definition: search.cpp:23
+
Definition: bookmarks.cpp:22
const string strip_html(const string &html)
Removes HTML tags and superflous spaces from an HTML page.
Definition: uri.cpp:211
const string remove_newlines(string text)
Replace newlines with spaces.
Definition: uri.cpp:598
const string unescape_html(const string &html)
Convert HTML entities to UTF-8.
Definition: uri.cpp:268
const string extract_title(const string &html)
Extract the title from an HTML page.
Definition: uri.cpp:184
-
Download, archive and process an URI.
Definition: uri.hpp:35
+
Download, archive and process an URI.
Definition: uri.hpp:41
const string archive()
Save URI in archive and return archive-URI.
Definition: uri.cpp:568
const string extract_description(const string &html)
Extract the description from an HTML page.
Definition: uri.cpp:197
const string make_request(const string &uri) const
Make a HTTP(S) request.
Definition: uri.cpp:129