Arachne 1.0
Arachne - the perpetual stitcher of Wikidata entities.
Loading...
Searching...
No Matches
utils.hpp File Reference
#include <array>
#include <atomic>
#include <curl/curl.h>
#include <map>
#include <string>
#include <vector>
Include dependency graph for utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  corespace::options
 Configuration for fetching entities via MediaWiki/Wikibase API. More...
struct  corespace::network_metrics
 Thread-safe counters describing client-side networking activity. More...
struct  corespace::http_response
 Result object for an HTTP transfer. More...
struct  corespace::network_options
 Fixed runtime options for the HTTP client. More...

Namespaces

namespace  corespace

Typedefs

using corespace::parameter = std::pair<std::string, std::string>
 Single query parameter: key=value (pre-encoding is handled by libcurl).
using corespace::parameter_list = std::vector<parameter>
 Ordered list of query parameters appended to the URL.

Enumerations

enum class  corespace::interface { corespace::command_line , corespace::interactive }
enum class  corespace::entity_kind {
  corespace::item , corespace::property , corespace::lexeme , corespace::mediainfo ,
  corespace::entity_schema , corespace::form , corespace::sense , corespace::any ,
  corespace::unknown
}
 Wikidata entity kind. More...