2019-09-20 18:39:40 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2019-04-14 06:36:34 +02:00
< 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" / >
2019-09-20 18:39:40 +02:00
< meta name = "generator" content = "Doxygen 1.8.15" / >
2019-04-14 06:36:34 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > mastodon-cpp: Mastodon::Easy::return_entity< T > Struct Template 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
2019-09-20 18:39:40 +02:00
  < span id = "projectnumber" > 0.110.0< / span >
2019-04-14 06:36:34 +02:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2019-09-20 18:39:40 +02:00
<!-- Generated by Doxygen 1.8.15 -->
2019-04-14 06:36:34 +02:00
< 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" > < a class = "el" href = "namespaceMastodon.html" > Mastodon< / a > < / li > < li class = "navelem" > < a class = "el" href = "namespaceMastodon_1_1Easy.html" > Easy< / a > < / li > < li class = "navelem" > < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html" > return_entity< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pub-attribs" > Public Attributes< / a > |
< a href = "#friends" > Friends< / a > |
< a href = "structMastodon_1_1Easy_1_1return__entity-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > Mastodon::Easy::return_entity< T > Struct Template Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2019-09-20 18:39:40 +02:00
< p > Return types for calls that return a single < code > < a class = "el" href = "classMastodon_1_1Easy_1_1Entity.html" title = "Base class for all entities." > Easy::Entity< / a > < / code > .
2019-04-14 06:36:34 +02:00
< a href = "structMastodon_1_1Easy_1_1return__entity.html#details" > More...< / a > < / p >
< p > < code > #include < < a class = "el" href = "return__types__easy_8hpp_source.html" > return_types_easy.hpp< / a > > < / code > < / p >
< div class = "dynheader" >
Inheritance diagram for Mastodon::Easy::return_entity< T > :< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "structMastodon_1_1Easy_1_1return__entity.png" usemap = "#Mastodon::Easy::return_5Fentity_3C_20T_20_3E_map" alt = "" / >
< map id = "Mastodon::Easy::return_5Fentity_3C_20T_20_3E_map" name = "Mastodon::Easy::return_5Fentity_3C_20T_20_3E_map" >
2019-09-20 18:39:40 +02:00
< area href = "structMastodon_1_1return__base.html" title = "Basis for return types." alt = "Mastodon::return_base" shape = "rect" coords = "0,0,209,24" / >
< / map >
< / div > < / div >
2019-04-14 06:36:34 +02:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
2019-04-19 07:05:28 +02:00
< tr class = "memitem:a85b0118ff218fe52fbc6959150a55fb7" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html#a85b0118ff218fe52fbc6959150a55fb7" > return_entity< / a > (const uint8_t ec, const string & em, const uint16_t hec, const T & ent)< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:a85b0118ff218fe52fbc6959150a55fb7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return type for easy < a class = "el" href = "classMastodon_1_1Easy_1_1API.html" title = "Child of Mastodon::API with abstract methods." > Mastodon::Easy::API< / a > . < a href = "#a85b0118ff218fe52fbc6959150a55fb7" > More...< / a > < br / > < / td > < / tr >
2019-04-19 07:05:28 +02:00
< tr class = "separator:a85b0118ff218fe52fbc6959150a55fb7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memitem:ab387234edd9c68b1de9bd95be70ff007" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html#ab387234edd9c68b1de9bd95be70ff007" > return_entity< / a > (const error ec, const string & em, const uint16_t hec, const T & ent)< / td > < / tr >
< tr class = "memdesc:ab387234edd9c68b1de9bd95be70ff007" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return type for easy < a class = "el" href = "classMastodon_1_1Easy_1_1API.html" title = "Child of Mastodon::API with abstract methods." > Mastodon::Easy::API< / a > . < a href = "#ab387234edd9c68b1de9bd95be70ff007" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ab387234edd9c68b1de9bd95be70ff007" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "memitem:acbca11d4334d9256a8f9419209981e87" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html#acbca11d4334d9256a8f9419209981e87" > operator const T< / a > () const< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:acbca11d4334d9256a8f9419209981e87" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Same as < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html#a15c6011b041874d48282127c91961737" title = "Mastodon::Easy::Entity." > return_entity::entity< / a > . < a href = "#acbca11d4334d9256a8f9419209981e87" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:acbca11d4334d9256a8f9419209981e87" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad47694a49622db03ed32d12ba09ce343" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html#ad47694a49622db03ed32d12ba09ce343" > operator const string< / a > () const< / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:ad47694a49622db03ed32d12ba09ce343" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > < a class = "el" href = "classMastodon_1_1Easy_1_1Entity.html" title = "Base class for all entities." > Mastodon::Easy::Entity< / a > as formatted string. < a href = "#ad47694a49622db03ed32d12ba09ce343" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:ad47694a49622db03ed32d12ba09ce343" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_structMastodon_1_1return__base" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_structMastodon_1_1return__base')" > < img src = "closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "structMastodon_1_1return__base.html" > Mastodon::return_base< / a > < / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memitem:ad08f011a810e67bb2bee01ebe5cde1fa inherit pub_methods_structMastodon_1_1return__base" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structMastodon_1_1return__base.html#ad08f011a810e67bb2bee01ebe5cde1fa" > operator bool< / a > () const< / td > < / tr >
< tr class = "memdesc:ad08f011a810e67bb2bee01ebe5cde1fa inherit pub_methods_structMastodon_1_1return__base" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > true if < a class = "el" href = "structMastodon_1_1return__base.html#a12cebffae19249cac4c9e4ae9f95391a" title = "Error code." > return_base::error_code< / a > is 0, otherwise false. < a href = "structMastodon_1_1return__base.html#ad08f011a810e67bb2bee01ebe5cde1fa" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ad08f011a810e67bb2bee01ebe5cde1fa inherit pub_methods_structMastodon_1_1return__base" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3331b0ca8f1c999fd6d21f4ce4b4e68f inherit pub_methods_structMastodon_1_1return__base" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structMastodon_1_1return__base.html#a3331b0ca8f1c999fd6d21f4ce4b4e68f" > operator uint8_t< / a > () const< / td > < / tr >
< tr class = "memdesc:a3331b0ca8f1c999fd6d21f4ce4b4e68f inherit pub_methods_structMastodon_1_1return__base" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Same as < a class = "el" href = "structMastodon_1_1return__base.html#a12cebffae19249cac4c9e4ae9f95391a" title = "Error code." > return_base::error_code< / a > . < a href = "structMastodon_1_1return__base.html#a3331b0ca8f1c999fd6d21f4ce4b4e68f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a3331b0ca8f1c999fd6d21f4ce4b4e68f inherit pub_methods_structMastodon_1_1return__base" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-04-14 06:36:34 +02:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-attribs" > < / a >
Public Attributes< / h2 > < / td > < / tr >
< tr class = "memitem:a15c6011b041874d48282127c91961737" > < td class = "memItemLeft" align = "right" valign = "top" > T  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html#a15c6011b041874d48282127c91961737" > entity< / a > < / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memdesc:a15c6011b041874d48282127c91961737" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > < a class = "el" href = "classMastodon_1_1Easy_1_1Entity.html" title = "Base class for all entities." > Mastodon::Easy::Entity< / a > . < a href = "#a15c6011b041874d48282127c91961737" > More...< / a > < br / > < / td > < / tr >
2019-04-14 06:36:34 +02:00
< tr class = "separator:a15c6011b041874d48282127c91961737" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_attribs_structMastodon_1_1return__base" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_attribs_structMastodon_1_1return__base')" > < img src = "closed.png" alt = "-" / >   Public Attributes inherited from < a class = "el" href = "structMastodon_1_1return__base.html" > Mastodon::return_base< / a > < / td > < / tr >
< tr class = "memitem:a12cebffae19249cac4c9e4ae9f95391a inherit pub_attribs_structMastodon_1_1return__base" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structMastodon_1_1return__base.html#a12cebffae19249cac4c9e4ae9f95391a" > error_code< / a > = 0< / td > < / tr >
< tr class = "memdesc:a12cebffae19249cac4c9e4ae9f95391a inherit pub_attribs_structMastodon_1_1return__base" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > < a class = "el" href = "classMastodon_1_1API.html#error" > Error code< / a > . < a href = "structMastodon_1_1return__base.html#a12cebffae19249cac4c9e4ae9f95391a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a12cebffae19249cac4c9e4ae9f95391a inherit pub_attribs_structMastodon_1_1return__base" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab902d5ecac698fadbdcabcd99d0ce754 inherit pub_attribs_structMastodon_1_1return__base" > < td class = "memItemLeft" align = "right" valign = "top" > string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structMastodon_1_1return__base.html#ab902d5ecac698fadbdcabcd99d0ce754" > error_message< / a > < / td > < / tr >
< tr class = "memdesc:ab902d5ecac698fadbdcabcd99d0ce754 inherit pub_attribs_structMastodon_1_1return__base" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The error message, or "". < a href = "structMastodon_1_1return__base.html#ab902d5ecac698fadbdcabcd99d0ce754" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ab902d5ecac698fadbdcabcd99d0ce754 inherit pub_attribs_structMastodon_1_1return__base" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-04-19 07:05:28 +02:00
< tr class = "memitem:af62546b8b4bb03899ddbec770065e0b6 inherit pub_attribs_structMastodon_1_1return__base" > < td class = "memItemLeft" align = "right" valign = "top" > uint16_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structMastodon_1_1return__base.html#af62546b8b4bb03899ddbec770065e0b6" > http_error_code< / a > = 0< / td > < / tr >
< tr class = "memdesc:af62546b8b4bb03899ddbec770065e0b6 inherit pub_attribs_structMastodon_1_1return__base" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > HTTP error code. < a href = "structMastodon_1_1return__base.html#af62546b8b4bb03899ddbec770065e0b6" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:af62546b8b4bb03899ddbec770065e0b6 inherit pub_attribs_structMastodon_1_1return__base" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-04-14 06:36:34 +02:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "friends" > < / a >
Friends< / h2 > < / td > < / tr >
2019-09-20 18:39:40 +02:00
< tr class = "memitem:a6fbabf54142d1cd8d2a29b5fae63df09" > < td class = "memItemLeft" align = "right" valign = "top" > std::ostream &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html#a6fbabf54142d1cd8d2a29b5fae63df09" > operator< < < / a > (std::ostream & out, const < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html" > return_entity< / a > < T > & ret)< / td > < / tr >
< tr class = "memdesc:a6fbabf54142d1cd8d2a29b5fae63df09" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > < a class = "el" href = "classMastodon_1_1Easy_1_1Entity.html" title = "Base class for all entities." > Mastodon::Easy::Entity< / a > as formatted string. < a href = "#a6fbabf54142d1cd8d2a29b5fae63df09" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a6fbabf54142d1cd8d2a29b5fae63df09" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-04-14 06:36:34 +02:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < h3 > template< typename T> < br / >
struct Mastodon::Easy::return_entity< T > < / h3 >
2019-09-20 18:39:40 +02:00
< p > Return types for calls that return a single < code > < a class = "el" href = "classMastodon_1_1Easy_1_1Entity.html" title = "Base class for all entities." > Easy::Entity< / a > < / code > . < / p >
2019-04-14 06:36:34 +02:00
< dl class = "section since" > < dt > Since< / dt > < dd > 0.100.0 < / dd > < / dl >
2019-04-19 07:05:28 +02:00
< / div > < h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
< a id = "a85b0118ff218fe52fbc6959150a55fb7" > < / a >
2019-09-20 18:39:40 +02:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a85b0118ff218fe52fbc6959150a55fb7" > ◆ < / a > < / span > return_entity() < span class = "overload" > [1/2]< / span > < / h2 >
2019-04-19 07:05:28 +02:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename T > < / div >
< table class = "memname" >
< tr >
< td class = "memname" > Easy::return_entity::return_entity < / td >
< td > (< / td >
< td class = "paramtype" > const uint8_t  < / td >
< td class = "paramname" > < em > ec< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const string &   < / td >
< td class = "paramname" > < em > em< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const uint16_t  < / td >
< td class = "paramname" > < em > hec< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const T &   < / td >
< td class = "paramname" > < em > ent< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-09-20 18:39:40 +02:00
< p > Return type for easy < a class = "el" href = "classMastodon_1_1Easy_1_1API.html" title = "Child of Mastodon::API with abstract methods." > Mastodon::Easy::API< / a > . < / p >
2019-04-19 07:05:28 +02:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > ec< / td > < td > Error code < / td > < / tr >
< tr > < td class = "paramname" > em< / td > < td > Error message < / td > < / tr >
< tr > < td class = "paramname" > hec< / td > < td > HTTP error code < / td > < / tr >
< tr > < td class = "paramname" > ent< / td > < td > Answer< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section since" > < dt > Since< / dt > < dd > 0.100.0 < / dd > < / dl >
2019-09-20 18:39:40 +02:00
< div class = "fragment" > < div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > 48< / span >   : < a class = "code" href = "structMastodon_1_1Easy_1_1return__entity.html#a15c6011b041874d48282127c91961737" > entity< / a > (ent)< / div > < div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   {< / div > < div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   < a class = "code" href = "structMastodon_1_1return__base.html#a12cebffae19249cac4c9e4ae9f95391a" > error_code< / a > = ec;< / div > < div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > 51< / span >   < a class = "code" href = "structMastodon_1_1return__base.html#ab902d5ecac698fadbdcabcd99d0ce754" > error_message< / a > = em;< / div > < div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   < a class = "code" href = "structMastodon_1_1return__base.html#af62546b8b4bb03899ddbec770065e0b6" > http_error_code< / a > = hec;< / div > < div class = "line" > < a name = "l00053" > < / a > < span class = "lineno" > 53< / span >   }< / div > < div class = "ttc" id = "structMastodon_1_1Easy_1_1return__entity_html_a15c6011b041874d48282127c91961737" > < div class = "ttname" > < a href = "structMastodon_1_1Easy_1_1return__entity.html#a15c6011b041874d48282127c91961737" > Mastodon::Easy::return_entity::entity< / a > < / div > < div class = "ttdeci" > T entity< / div > < div class = "ttdoc" > Mastodon::Easy::Entity.< / div > < div class = "ttdef" > < b > Definition:< / b > return_types_easy.hpp:47< / div > < / div >
< div class = "ttc" id = "structMastodon_1_1return__base_html_a12cebffae19249cac4c9e4ae9f95391a" > < div class = "ttname" > < a href = "structMastodon_1_1return__base.html#a12cebffae19249cac4c9e4ae9f95391a" > Mastodon::return_base::error_code< / a > < / div > < div class = "ttdeci" > uint8_t error_code< / div > < div class = "ttdoc" > Error code.< / div > < div class = "ttdef" > < b > Definition:< / b > return_types.hpp:42< / div > < / div >
< div class = "ttc" id = "structMastodon_1_1return__base_html_af62546b8b4bb03899ddbec770065e0b6" > < div class = "ttname" > < a href = "structMastodon_1_1return__base.html#af62546b8b4bb03899ddbec770065e0b6" > Mastodon::return_base::http_error_code< / a > < / div > < div class = "ttdeci" > uint16_t http_error_code< / div > < div class = "ttdoc" > HTTP error code.< / div > < div class = "ttdef" > < b > Definition:< / b > return_types.hpp:56< / div > < / div >
< div class = "ttc" id = "structMastodon_1_1return__base_html_ab902d5ecac698fadbdcabcd99d0ce754" > < div class = "ttname" > < a href = "structMastodon_1_1return__base.html#ab902d5ecac698fadbdcabcd99d0ce754" > Mastodon::return_base::error_message< / a > < / div > < div class = "ttdeci" > string error_message< / div > < div class = "ttdoc" > The error message, or " " .< / div > < div class = "ttdef" > < b > Definition:< / b > return_types.hpp:49< / div > < / div >
< / div > <!-- fragment -->
< / div >
< / div >
< a id = "ab387234edd9c68b1de9bd95be70ff007" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ab387234edd9c68b1de9bd95be70ff007" > ◆ < / a > < / span > return_entity() < span class = "overload" > [2/2]< / span > < / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename T > < / div >
< table class = "memname" >
< tr >
< td class = "memname" > Easy::return_entity::return_entity < / td >
< td > (< / td >
< td class = "paramtype" > const error  < / td >
< td class = "paramname" > < em > ec< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const string &   < / td >
< td class = "paramname" > < em > em< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const uint16_t  < / td >
< td class = "paramname" > < em > hec< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const T &   < / td >
< td class = "paramname" > < em > ent< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Return type for easy < a class = "el" href = "classMastodon_1_1Easy_1_1API.html" title = "Child of Mastodon::API with abstract methods." > Mastodon::Easy::API< / a > . < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > ec< / td > < td > Error code < / td > < / tr >
< tr > < td class = "paramname" > em< / td > < td > Error message < / td > < / tr >
< tr > < td class = "paramname" > hec< / td > < td > HTTP error code < / td > < / tr >
< tr > < td class = "paramname" > ent< / td > < td > Answer< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section since" > < dt > Since< / dt > < dd > 0.110.0 < / dd > < / dl >
< div class = "fragment" > < div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > 58< / span >   : < a class = "code" href = "structMastodon_1_1Easy_1_1return__entity.html#a15c6011b041874d48282127c91961737" > entity< / a > (ent)< / div > < div class = "line" > < a name = "l00059" > < / a > < span class = "lineno" > 59< / span >   {< / div > < div class = "line" > < a name = "l00060" > < / a > < span class = "lineno" > 60< / span >   < a class = "code" href = "structMastodon_1_1return__base.html#a12cebffae19249cac4c9e4ae9f95391a" > error_code< / a > = static_cast< uint8_t> (ec);< / div > < div class = "line" > < a name = "l00061" > < / a > < span class = "lineno" > 61< / span >   < a class = "code" href = "structMastodon_1_1return__base.html#ab902d5ecac698fadbdcabcd99d0ce754" > error_message< / a > = em;< / div > < div class = "line" > < a name = "l00062" > < / a > < span class = "lineno" > 62< / span >   < a class = "code" href = "structMastodon_1_1return__base.html#af62546b8b4bb03899ddbec770065e0b6" > http_error_code< / a > = hec;< / div > < div class = "line" > < a name = "l00063" > < / a > < span class = "lineno" > 63< / span >   }< / div > < div class = "ttc" id = "structMastodon_1_1Easy_1_1return__entity_html_a15c6011b041874d48282127c91961737" > < div class = "ttname" > < a href = "structMastodon_1_1Easy_1_1return__entity.html#a15c6011b041874d48282127c91961737" > Mastodon::Easy::return_entity::entity< / a > < / div > < div class = "ttdeci" > T entity< / div > < div class = "ttdoc" > Mastodon::Easy::Entity.< / div > < div class = "ttdef" > < b > Definition:< / b > return_types_easy.hpp:47< / div > < / div >
< div class = "ttc" id = "structMastodon_1_1return__base_html_a12cebffae19249cac4c9e4ae9f95391a" > < div class = "ttname" > < a href = "structMastodon_1_1return__base.html#a12cebffae19249cac4c9e4ae9f95391a" > Mastodon::return_base::error_code< / a > < / div > < div class = "ttdeci" > uint8_t error_code< / div > < div class = "ttdoc" > Error code.< / div > < div class = "ttdef" > < b > Definition:< / b > return_types.hpp:42< / div > < / div >
< div class = "ttc" id = "structMastodon_1_1return__base_html_af62546b8b4bb03899ddbec770065e0b6" > < div class = "ttname" > < a href = "structMastodon_1_1return__base.html#af62546b8b4bb03899ddbec770065e0b6" > Mastodon::return_base::http_error_code< / a > < / div > < div class = "ttdeci" > uint16_t http_error_code< / div > < div class = "ttdoc" > HTTP error code.< / div > < div class = "ttdef" > < b > Definition:< / b > return_types.hpp:56< / div > < / div >
< div class = "ttc" id = "structMastodon_1_1return__base_html_ab902d5ecac698fadbdcabcd99d0ce754" > < div class = "ttname" > < a href = "structMastodon_1_1return__base.html#ab902d5ecac698fadbdcabcd99d0ce754" > Mastodon::return_base::error_message< / a > < / div > < div class = "ttdeci" > string error_message< / div > < div class = "ttdoc" > The error message, or " " .< / div > < div class = "ttdef" > < b > Definition:< / b > return_types.hpp:49< / div > < / div >
2019-04-19 07:05:28 +02:00
< / div > <!-- fragment -->
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
2019-04-14 06:36:34 +02:00
< a id = "ad47694a49622db03ed32d12ba09ce343" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ad47694a49622db03ed32d12ba09ce343" > ◆ < / a > < / span > operator const string()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename T> < / div >
< table class = "memname" >
< tr >
2019-09-20 18:39:40 +02:00
< td class = "memname" > < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html" > Mastodon::Easy::return_entity< / a > < T > ::operator const string < / td >
2019-04-14 06:36:34 +02:00
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-09-20 18:39:40 +02:00
< p > < a class = "el" href = "classMastodon_1_1Easy_1_1Entity.html" title = "Base class for all entities." > Mastodon::Easy::Entity< / a > as formatted string. < / p >
2019-04-14 06:36:34 +02:00
< dl class = "section since" > < dt > Since< / dt > < dd > 0.100.0 < / dd > < / dl >
< / div >
< / div >
< a id = "acbca11d4334d9256a8f9419209981e87" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#acbca11d4334d9256a8f9419209981e87" > ◆ < / a > < / span > operator const T()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename T> < / div >
< table class = "memname" >
< tr >
2019-09-20 18:39:40 +02:00
< td class = "memname" > < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html" > Mastodon::Easy::return_entity< / a > < T > ::operator const T < / td >
2019-04-14 06:36:34 +02:00
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-09-20 18:39:40 +02:00
< p > Same as < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html#a15c6011b041874d48282127c91961737" title = "Mastodon::Easy::Entity." > return_entity::entity< / a > . < / p >
2019-04-14 06:36:34 +02:00
< dl class = "section since" > < dt > Since< / dt > < dd > 0.100.0 < / dd > < / dl >
< / div >
< / div >
< h2 class = "groupheader" > Friends And Related Function Documentation< / h2 >
2019-09-20 18:39:40 +02:00
< a id = "a6fbabf54142d1cd8d2a29b5fae63df09" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6fbabf54142d1cd8d2a29b5fae63df09" > ◆ < / a > < / span > operator< < < / h2 >
2019-04-14 06:36:34 +02:00
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename T> < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2019-09-20 18:39:40 +02:00
< td class = "memname" > std::ostream& operator< < < / td >
2019-04-14 06:36:34 +02:00
< td > (< / td >
< td class = "paramtype" > std::ostream &   < / td >
< td class = "paramname" > < em > out< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html" > return_entity< / a > < T > &   < / td >
< td class = "paramname" > < em > ret< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > friend< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-09-20 18:39:40 +02:00
< p > < a class = "el" href = "classMastodon_1_1Easy_1_1Entity.html" title = "Base class for all entities." > Mastodon::Easy::Entity< / a > as formatted string. < / p >
2019-04-14 06:36:34 +02:00
< dl class = "section since" > < dt > Since< / dt > < dd > 0.100.0 < / dd > < / dl >
2019-09-20 18:39:40 +02:00
< div class = "fragment" > < div class = "line" > < a name = "l00098" > < / a > < span class = "lineno" > 98< / span >   {< / div > < div class = "line" > < a name = "l00099" > < / a > < span class = "lineno" > 99< / span >   < span class = "comment" > // Could only get it to work by implementing it here.< / span > < / div > < div class = "line" > < a name = "l00100" > < / a > < span class = "lineno" > 100< / span >   out < < ret.entity.to_string();< / div > < div class = "line" > < a name = "l00101" > < / a > < span class = "lineno" > 101< / span >   < span class = "keywordflow" > return< / span > out;< / div > < div class = "line" > < a name = "l00102" > < / a > < span class = "lineno" > 102< / span >   }< / div > < / div > <!-- fragment -->
2019-04-14 06:36:34 +02:00
< / div >
< / div >
< h2 class = "groupheader" > Member Data Documentation< / h2 >
< a id = "a15c6011b041874d48282127c91961737" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a15c6011b041874d48282127c91961737" > ◆ < / a > < / span > entity< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename T> < / div >
< table class = "memname" >
< tr >
< td class = "memname" > T < a class = "el" href = "structMastodon_1_1Easy_1_1return__entity.html" > Mastodon::Easy::return_entity< / a > < T > ::entity< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-09-20 18:39:40 +02:00
< p > < a class = "el" href = "classMastodon_1_1Easy_1_1Entity.html" title = "Base class for all entities." > Mastodon::Easy::Entity< / a > . < / p >
2019-04-14 06:36:34 +02:00
< dl class = "section since" > < dt > Since< / dt > < dd > 0.100.0 < / dd > < / dl >
< / div >
< / div >
< hr / > The documentation for this struct was generated from the following files:< ul >
< li > src/easy/< a class = "el" href = "return__types__easy_8hpp_source.html" > return_types_easy.hpp< / a > < / li >
< li > src/easy/return_types_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" / >
2019-09-20 18:39:40 +02:00
< / a > 1.8.15
2019-04-14 06:36:34 +02:00
< / small > < / address >
< / body >
< / html >