2018-06-07 19:28:24 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.14" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > mastodon-cpp: Mastodon::Easy::Link Class Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > mastodon-cpp
2018-06-14 04:52:33 +02:00
  < span id = "projectnumber" > 0.17.0< / span >
2018-06-07 19:28:24 +02:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < b > Mastodon< / b > < / li > < li class = "navelem" > < a class = "el" href = "classMastodon_1_1Easy.html" > Easy< / a > < / li > < li class = "navelem" > < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html" > Link< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "classMastodon_1_1Easy_1_1Link-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > Mastodon::Easy::Link Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > Class to hold the < code > < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html" title = "Class to hold the Link-header. " > Link< / a > < / code > -header.
< a href = "classMastodon_1_1Easy_1_1Link.html#details" > More...< / a > < / p >
< p > < code > #include < < a class = "el" href = "easy_8hpp_source.html" > easy.hpp< / a > > < / code > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a8b233d915995d50995d522908c83ab44" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html#a8b233d915995d50995d522908c83ab44" > Link< / a > (const string & link_header)< / td > < / tr >
< tr class = "separator:a8b233d915995d50995d522908c83ab44" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:afd83c8021b0e76973690c978543d209c" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "afd83c8021b0e76973690c978543d209c" > < / a >
const uint_fast64_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html#afd83c8021b0e76973690c978543d209c" > next< / a > () const< / td > < / tr >
< tr class = "memdesc:afd83c8021b0e76973690c978543d209c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns max_id. < br / > < / td > < / tr >
< tr class = "separator:afd83c8021b0e76973690c978543d209c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5921ecac9df0cbd383298611073d3f99" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a5921ecac9df0cbd383298611073d3f99" > < / a >
const uint_fast64_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html#a5921ecac9df0cbd383298611073d3f99" > max_id< / a > () const< / td > < / tr >
< tr class = "memdesc:a5921ecac9df0cbd383298611073d3f99" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns max_id. < br / > < / td > < / tr >
< tr class = "separator:a5921ecac9df0cbd383298611073d3f99" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5567551f264bcc9e7d44793edfc9508a" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a5567551f264bcc9e7d44793edfc9508a" > < / a >
const uint_fast64_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html#a5567551f264bcc9e7d44793edfc9508a" > prev< / a > () const< / td > < / tr >
< tr class = "memdesc:a5567551f264bcc9e7d44793edfc9508a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns since_id. < br / > < / td > < / tr >
< tr class = "separator:a5567551f264bcc9e7d44793edfc9508a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad2274b0e9fe600c4535f4b2b6068db50" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ad2274b0e9fe600c4535f4b2b6068db50" > < / a >
const uint_fast64_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html#ad2274b0e9fe600c4535f4b2b6068db50" > since_id< / a > () const< / td > < / tr >
< tr class = "memdesc:ad2274b0e9fe600c4535f4b2b6068db50" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns since_id. < br / > < / td > < / tr >
< tr class = "separator:ad2274b0e9fe600c4535f4b2b6068db50" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > Class to hold the < code > < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html" title = "Class to hold the Link-header. " > Link< / a > < / code > -header. < / p >
< p > Extracts max_id and since_id from the < code > < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html" title = "Class to hold the Link-header. " > Link< / a > < / code > -header < / p >
< / div > < h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
< a id = "a8b233d915995d50995d522908c83ab44" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a8b233d915995d50995d522908c83ab44" > ◆ < / a > < / span > Link()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > Easy::Link::Link < / td >
< td > (< / td >
< td class = "paramtype" > const string &   < / td >
< td class = "paramname" > < em > link_header< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > explicit< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > link_header< / td > < td > The content of the < code > < a class = "el" href = "classMastodon_1_1Easy_1_1Link.html" title = "Class to hold the Link-header. " > Link< / a > < / code > header < / td > < / tr >
< / table >
< / dd >
< / dl >
< div class = "fragment" > < div class = "line" > < a name = "l00119" > < / a > < span class = "lineno" > 119< / span >   : _next(0)< / div > < div class = "line" > < a name = "l00120" > < / a > < span class = "lineno" > 120< / span >   , _prev(0)< / div > < div class = "line" > < a name = "l00121" > < / a > < span class = "lineno" > 121< / span >   {< / div > < div class = "line" > < a name = "l00122" > < / a > < span class = "lineno" > 122< / span >   std::regex renext(< span class = "stringliteral" > " max_id=([[:digit:]]*)" < / span > );< / div > < div class = "line" > < a name = "l00123" > < / a > < span class = "lineno" > 123< / span >   std::regex reprev(< span class = "stringliteral" > " since_id=([[:digit:]]*)" < / span > );< / div > < div class = "line" > < a name = "l00124" > < / a > < span class = "lineno" > 124< / span >   std::smatch match;< / div > < div class = "line" > < a name = "l00125" > < / a > < span class = "lineno" > 125< / span >   < / div > < div class = "line" > < a name = "l00126" > < / a > < span class = "lineno" > 126< / span >   < span class = "keywordflow" > if< / span > (std::regex_search(link_header, match, renext))< / div > < div class = "line" > < a name = "l00127" > < / a > < span class = "lineno" > 127< / span >   {< / div > < div class = "line" > < a name = "l00128" > < / a > < span class = "lineno" > 128< / span >   _next = std::stoull(match[1].str());< / div > < div class = "line" > < a name = "l00129" > < / a > < span class = "lineno" > 129< / span >   }< / div > < div class = "line" > < a name = "l00130" > < / a > < span class = "lineno" > 130< / span >   < span class = "keywordflow" > if< / span > (std::regex_search(link_header, match, reprev))< / div > < div class = "line" > < a name = "l00131" > < / a > < span class = "lineno" > 131< / span >   {< / div > < div class = "line" > < a name = "l00132" > < / a > < span class = "lineno" > 132< / span >   _prev = std::stoull(match[1].str());< / div > < div class = "line" > < a name = "l00133" > < / a > < span class = "lineno" > 133< / span >   }< / div > < div class = "line" > < a name = "l00134" > < / a > < span class = "lineno" > 134< / span >   }< / div > < / div > <!-- fragment -->
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > src/easy/< a class = "el" href = "easy_8hpp_source.html" > easy.hpp< / a > < / li >
< li > src/easy/easy.cpp< / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
< / a > 1.8.14
< / small > < / address >
< / body >
< / html >