crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
crawlservpp::Query Namespace Reference

Namespace for classes handling queries. More...

Classes

class  Container
 Query container. More...
 
class  JsonPath
 Implements a JSONPath query using the jsoncons library. More...
 
class  JsonPointer
 Implements an extended JSONPointer query using the rapidJSON library. More...
 
class  RegEx
 Implements a RegEx query using the PCRE2 library. More...
 
class  XPath
 Implements a XPath query using the pugixml library. More...
 

Constants

constexpr auto pcre2ErrorBufferLength {1024}
 The length of the error buffer used by the PCRE2 library, in bytes. More...
 
constexpr auto bitmaskTopBit {0x80}
 Bit mask to extract the first bit of a multibyte character. More...
 
constexpr auto bitmaskTopTwoBits {0xc0}
 Bit mask to extract the top two bits of a multibyte character. More...
 
constexpr std::string_view cDataHead {"<![CDATA["}
 The beginning of a CDATA tag. More...
 
constexpr std::string_view cDataTail {"]]>"}
 The end of a CDATA tag. More...
 

Detailed Description

Namespace for classes handling queries.

Variable Documentation

◆ bitmaskTopBit

constexpr auto crawlservpp::Query::bitmaskTopBit {0x80}
inline

Bit mask to extract the first bit of a multibyte character.

Referenced by crawlservpp::Query::RegEx::getAll().

◆ bitmaskTopTwoBits

constexpr auto crawlservpp::Query::bitmaskTopTwoBits {0xc0}
inline

Bit mask to extract the top two bits of a multibyte character.

Referenced by crawlservpp::Query::RegEx::getAll().

◆ cDataHead

constexpr std::string_view crawlservpp::Query::cDataHead {"<![CDATA["}
inline

The beginning of a CDATA tag.

Referenced by crawlservpp::Query::XPath::getSubSets().

◆ cDataTail

constexpr std::string_view crawlservpp::Query::cDataTail {"]]>"}
inline

The end of a CDATA tag.

Referenced by crawlservpp::Query::XPath::getSubSets().

◆ pcre2ErrorBufferLength

constexpr auto crawlservpp::Query::pcre2ErrorBufferLength {1024}
inline

The length of the error buffer used by the PCRE2 library, in bytes.

Referenced by crawlservpp::Query::RegEx::getAll(), crawlservpp::Query::RegEx::getBool(), crawlservpp::Query::RegEx::getFirst(), and crawlservpp::Query::RegEx::RegEx().