Lazy RSS
Public Member Functions | List of all members
parser::Parser Class Reference

RSS Parser class. More...

#include <parser.hpp>

Public Member Functions

 Parser (parser_cb &cb) noexcept(true)
 Constructor. More...
 
void parse (const std::string &rss_xml)
 Performs parsing of RSS feed. More...
 

Detailed Description

RSS Parser class.

It parses RSS feed content and invokes callback with each new RSS item extracted.

Constructor & Destructor Documentation

Parser::Parser ( parser_cb cb)
explicitnoexcept

Constructor.

Parameters
cbCallback of type parser_cb.

Member Function Documentation

void Parser::parse ( const std::string &  rss_xml)

Performs parsing of RSS feed.

Parameters
rss_xmlRSS Feed string.

The documentation for this class was generated from the following files: