SyndicationDomination 0.0
An RSS/Atom parser, because there's nothing else out there.
Loading...
Searching...
No Matches
extraction_param.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <pugixml.hpp>
4#include <string>
5#include <vector>
6
7
8using namespace pugi;
9
21
23
29 std::vector<std::string> tags{};
30
35 std::string attribute{""};
36};
A parameter to be used in SynDomUtils::extract_from_node.
Definition extraction_param.hpp:13
ParamType
Describes where the target value has to be searched.
Definition extraction_param.hpp:17
@ ATTRIBUTE
Definition extraction_param.hpp:19
@ CHILD
Definition extraction_param.hpp:18
std::vector< std::string > tags
The node hierarchy to be traversed.
Definition extraction_param.hpp:29
std::string attribute
In case ExtractionParam::type is ATTRIBUTE, the name of the attribute.
Definition extraction_param.hpp:35
ParamType type
Definition extraction_param.hpp:22