221 lines
16 KiB
HTML
221 lines
16 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>CocoaTweet: CocoaTweet::API::Statuses::UserTimeline 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="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.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">CocoaTweet
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<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('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespaceCocoaTweet.html">CocoaTweet</a></li><li class="navelem"><a class="el" href="namespaceCocoaTweet_1_1API.html">API</a></li><li class="navelem"><a class="el" href="namespaceCocoaTweet_1_1API_1_1Statuses.html">Statuses</a></li><li class="navelem"><a class="el" href="classCocoaTweet_1_1API_1_1Statuses_1_1UserTimeline.html">UserTimeline</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="classCocoaTweet_1_1API_1_1Statuses_1_1UserTimeline-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">CocoaTweet::API::Statuses::UserTimeline Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>class for using statuses/user_timeline endpoint
|
|
<a href="classCocoaTweet_1_1API_1_1Statuses_1_1UserTimeline.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="userTimeline_8h_source.html">userTimeline.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for CocoaTweet::API::Statuses::UserTimeline:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classCocoaTweet_1_1API_1_1Statuses_1_1UserTimeline__inherit__graph.png" border="0" usemap="#CocoaTweet_1_1API_1_1Statuses_1_1UserTimeline_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="CocoaTweet_1_1API_1_1Statuses_1_1UserTimeline_inherit__map" id="CocoaTweet_1_1API_1_1Statuses_1_1UserTimeline_inherit__map">
|
|
<area shape="rect" title="class for using statuses/user_timeline endpoint" alt="" coords="6,184,199,225"/>
|
|
<area shape="rect" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpGet.html" title="class for Send request with POST method" alt="" coords="5,95,200,136"/>
|
|
<area shape="rect" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html" title=" " alt="" coords="5,5,200,47"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for CocoaTweet::API::Statuses::UserTimeline:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classCocoaTweet_1_1API_1_1Statuses_1_1UserTimeline__coll__graph.png" border="0" usemap="#CocoaTweet_1_1API_1_1Statuses_1_1UserTimeline_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="CocoaTweet_1_1API_1_1Statuses_1_1UserTimeline_coll__map" id="CocoaTweet_1_1API_1_1Statuses_1_1UserTimeline_coll__map">
|
|
<area shape="rect" title="class for using statuses/user_timeline endpoint" alt="" coords="6,184,199,225"/>
|
|
<area shape="rect" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpGet.html" title="class for Send request with POST method" alt="" coords="5,95,200,136"/>
|
|
<area shape="rect" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html" title=" " alt="" coords="5,5,200,47"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<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:a775cf10d0deeabc0d7676ea8deb6fc65"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Statuses_1_1UserTimeline.html#a775cf10d0deeabc0d7676ea8deb6fc65">UserTimeline</a> ()</td></tr>
|
|
<tr class="memdesc:a775cf10d0deeabc0d7676ea8deb6fc65"><td class="mdescLeft"> </td><td class="mdescRight">primary constructor <a href="classCocoaTweet_1_1API_1_1Statuses_1_1UserTimeline.html#a775cf10d0deeabc0d7676ea8deb6fc65">More...</a><br /></td></tr>
|
|
<tr class="separator:a775cf10d0deeabc0d7676ea8deb6fc65"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0351e221076b359bd181973bb99ec34c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Statuses_1_1UserTimeline.html#a0351e221076b359bd181973bb99ec34c">screenName</a> (const std::string &_screenName)</td></tr>
|
|
<tr class="memdesc:a0351e221076b359bd181973bb99ec34c"><td class="mdescLeft"> </td><td class="mdescRight">set screen name to get timeline <a href="classCocoaTweet_1_1API_1_1Statuses_1_1UserTimeline.html#a0351e221076b359bd181973bb99ec34c">More...</a><br /></td></tr>
|
|
<tr class="separator:a0351e221076b359bd181973bb99ec34c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af59cefac376b86d8abb843f701598090"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classCocoaTweet_1_1API_1_1Model_1_1Tweet.html">CocoaTweet::API::Model::Tweet</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Statuses_1_1UserTimeline.html#af59cefac376b86d8abb843f701598090">process</a> (std::weak_ptr< <a class="el" href="classCocoaTweet_1_1OAuth_1_1OAuth1.html">CocoaTweet::OAuth::OAuth1</a> > _oauth)</td></tr>
|
|
<tr class="memdesc:af59cefac376b86d8abb843f701598090"><td class="mdescLeft"> </td><td class="mdescRight">process request for endpoint <a href="classCocoaTweet_1_1API_1_1Statuses_1_1UserTimeline.html#af59cefac376b86d8abb843f701598090">More...</a><br /></td></tr>
|
|
<tr class="separator:af59cefac376b86d8abb843f701598090"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
|
Additional Inherited Members</h2></td></tr>
|
|
<tr class="inherit_header pro_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpGet"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpGet')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpGet.html">CocoaTweet::API::Interface::HttpGet</a></td></tr>
|
|
<tr class="memitem:a3255bc6867830ff3632530e65c257ecc inherit pro_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpGet"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpGet.html#a3255bc6867830ff3632530e65c257ecc">process</a> (std::weak_ptr< <a class="el" href="classCocoaTweet_1_1OAuth_1_1OAuth1.html">CocoaTweet::OAuth::OAuth1</a> > _oauth, std::function< void(const std::string &)> _callback)</td></tr>
|
|
<tr class="memdesc:a3255bc6867830ff3632530e65c257ecc inherit pro_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpGet"><td class="mdescLeft"> </td><td class="mdescRight">Send HTTP/POST using <a class="el" href="namespaceCocoaTweet_1_1OAuth.html">OAuth</a> object. <a href="classCocoaTweet_1_1API_1_1Interface_1_1HttpGet.html#a3255bc6867830ff3632530e65c257ecc">More...</a><br /></td></tr>
|
|
<tr class="separator:a3255bc6867830ff3632530e65c257ecc inherit pro_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpGet"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pro_static_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase')"><img src="closed.png" alt="-"/> Static Protected Member Functions inherited from <a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html">CocoaTweet::API::Interface::HttpBase</a></td></tr>
|
|
<tr class="memitem:a65e649cd380fc68d69aa8b575a20ab10 inherit pro_static_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memItemLeft" align="right" valign="top">static size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html#a65e649cd380fc68d69aa8b575a20ab10">curlCallback_</a> (char *_ptr, size_t _size, size_t _nmemb, std::string *_stream)</td></tr>
|
|
<tr class="separator:a65e649cd380fc68d69aa8b575a20ab10 inherit pro_static_methods_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html">CocoaTweet::API::Interface::HttpBase</a></td></tr>
|
|
<tr class="memitem:ab0b8b76e12fdf34849fc1c8ee928a2ff inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memItemLeft" align="right" valign="top">std::weak_ptr< <a class="el" href="classCocoaTweet_1_1OAuth_1_1OAuth1.html">CocoaTweet::OAuth::OAuth1</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html#ab0b8b76e12fdf34849fc1c8ee928a2ff">oauth_</a></td></tr>
|
|
<tr class="separator:ab0b8b76e12fdf34849fc1c8ee928a2ff inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7c543dfa69524004df9e0fdcaa610313 inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memItemLeft" align="right" valign="top">std::map< std::string, std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html#a7c543dfa69524004df9e0fdcaa610313">bodyParam_</a></td></tr>
|
|
<tr class="separator:a7c543dfa69524004df9e0fdcaa610313 inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6511d018265ca90a5c675b375b8feee0 inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html#a6511d018265ca90a5c675b375b8feee0">url_</a></td></tr>
|
|
<tr class="separator:a6511d018265ca90a5c675b375b8feee0 inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa80a8d2b339e3eed6f9e031518f8193b inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classCocoaTweet_1_1API_1_1Interface_1_1HttpBase.html#aa80a8d2b339e3eed6f9e031518f8193b">contentType_</a></td></tr>
|
|
<tr class="separator:aa80a8d2b339e3eed6f9e031518f8193b inherit pro_attribs_classCocoaTweet_1_1API_1_1Interface_1_1HttpBase"><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 for using statuses/user_timeline endpoint </p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a775cf10d0deeabc0d7676ea8deb6fc65"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a775cf10d0deeabc0d7676ea8deb6fc65">◆ </a></span>UserTimeline()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">CocoaTweet::API::Statuses::UserTimeline::UserTimeline </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>primary constructor </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="af59cefac376b86d8abb843f701598090"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af59cefac376b86d8abb843f701598090">◆ </a></span>process()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::vector< <a class="el" href="classCocoaTweet_1_1API_1_1Model_1_1Tweet.html">CocoaTweet::API::Model::Tweet</a> > CocoaTweet::API::Statuses::UserTimeline::process </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::weak_ptr< <a class="el" href="classCocoaTweet_1_1OAuth_1_1OAuth1.html">CocoaTweet::OAuth::OAuth1</a> > </td>
|
|
<td class="paramname"><em>_oauth</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>process request for endpoint </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">std::weak_ptr<CocoaTweet::OAuth::OAuth1></td><td>_oauth : pointer to oauth object </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">std::vector<CocoaTweet::API::Model::Tweet></td><td>: request result </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0351e221076b359bd181973bb99ec34c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0351e221076b359bd181973bb99ec34c">◆ </a></span>screenName()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CocoaTweet::API::Statuses::UserTimeline::screenName </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::string & </td>
|
|
<td class="paramname"><em>_screenName</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>set screen name to get timeline </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">const</td><td>std::string& _screenName : screen name for getting tweet </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/cocoatweet/api/status/<a class="el" href="userTimeline_8h_source.html">userTimeline.h</a></li>
|
|
<li>src/cocoatweet/api/status/<a class="el" href="userTimeline_8cc.html">userTimeline.cc</a></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.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|