2022-12-19 21:19:50 +01:00
<!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.9.1" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2022-12-31 14:37:34 +01:00
< title > oc-issuer: DefaultModel Class Reference< / title >
2022-12-19 21:19:50 +01:00
< 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;" >
2022-12-31 14:37:34 +01:00
< div id = "projectname" > oc-issuer
  < span id = "projectnumber" > 0.0.2< / span >
2022-12-19 21:19:50 +01:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
< 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','.html');
/* @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 > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "classDefaultModel-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > DefaultModel Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "dynheader" >
Inheritance diagram for DefaultModel:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "classDefaultModel__inherit__graph.png" border = "0" usemap = "#aDefaultModel_inherit__map" alt = "Inheritance graph" / > < / div >
< map name = "aDefaultModel_inherit__map" id = "aDefaultModel_inherit__map" >
< area shape = "rect" title = " " alt = "" coords = "5,80,116,107" / >
< area shape = "rect" href = "classModel.html" title = " " alt = "" coords = "29,5,92,32" / >
< / map >
< center > < span class = "legend" > [< a href = "graph_legend.html" > legend< / a > ]< / span > < / center > < / div >
< div class = "dynheader" >
Collaboration diagram for DefaultModel:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "classDefaultModel__coll__graph.png" border = "0" usemap = "#aDefaultModel_coll__map" alt = "Collaboration graph" / > < / div >
< map name = "aDefaultModel_coll__map" id = "aDefaultModel_coll__map" >
< area shape = "rect" title = " " alt = "" coords = "5,80,116,107" / >
< area shape = "rect" href = "classModel.html" title = " " alt = "" coords = "29,5,92,32" / >
< / 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 >
2022-12-31 14:37:34 +01:00
< tr class = "memitem:a3f3db55e24aada8f0f4828529a04ef0d" > < td class = "memItemLeft" align = "right" valign = "top" > tl::expected< < a class = "el" href = "structCDDC.html" > CDDC< / a > *, bool >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classDefaultModel.html#a3f3db55e24aada8f0f4828529a04ef0d" > getCDDC< / a > (unsigned int cdd_serial) override< / td > < / tr >
2022-12-19 21:19:50 +01:00
< tr class = "separator:a3f3db55e24aada8f0f4828529a04ef0d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-12-31 14:37:34 +01:00
< tr class = "memitem:a879560588eadf03168fb720751044295" > < td class = "memItemLeft" align = "right" valign = "top" > tl::expected< < a class = "el" href = "structCDDC.html" > CDDC< / a > *, bool >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classDefaultModel.html#a879560588eadf03168fb720751044295" > getCurrentCDDC< / a > () override< / td > < / tr >
2022-12-19 21:19:50 +01:00
< tr class = "separator:a879560588eadf03168fb720751044295" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-01-29 12:23:21 +01:00
< tr class = "memitem:a49b3cebc92f956b919478927dda01dd2" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a49b3cebc92f956b919478927dda01dd2" > < / a >
std::vector< < a class = "el" href = "structBlindSignature.html" > BlindSignature< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < b > mint< / b > (const std::string & UNUSED(transaction_reference), const std::vector< < a class = "el" href = "structBlind.html" > Blind< / a > > & UNUSED(blinds)) override< / td > < / tr >
< tr class = "separator:a49b3cebc92f956b919478927dda01dd2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aedb14c2106938ccc12d17fdb2c2ddf27" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aedb14c2106938ccc12d17fdb2c2ddf27" > < / a >
const std::vector< < a class = "el" href = "structMintKeyCert.html" > MintKeyCert< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < b > getMKCs< / b > (const std::vector< unsigned int > & UNUSED(denominations), const std::vector< < a class = "el" href = "structBigInt.html" > BigInt< / a > > & UNUSED(mint_key_ids)) override< / td > < / tr >
< tr class = "separator:aedb14c2106938ccc12d17fdb2c2ddf27" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a12f3231d6aa8a3234455076358f91df2" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a12f3231d6aa8a3234455076358f91df2" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > redeem< / b > (const std::vector< < a class = "el" href = "structCoin.html" > Coin< / a > > & UNUSED(coins)) override< / td > < / tr >
< tr class = "separator:a12f3231d6aa8a3234455076358f91df2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_classModel" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_classModel')" > < img src = "closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "classModel.html" > Model< / a > < / td > < / tr >
< tr class = "memitem:aed0ea733af94f2d4e08c24b2fa4df56f inherit pub_methods_classModel" > < td class = "memItemLeft" align = "right" valign = "top" > virtual const std::vector< < a class = "el" href = "structMintKeyCert.html" > MintKeyCert< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classModel.html#aed0ea733af94f2d4e08c24b2fa4df56f" > getMKCs< / a > (const std::vector< unsigned int > & denominations, const std::vector< < a class = "el" href = "structBigInt.html" > BigInt< / a > > & mint_key_ids)=0< / td > < / tr >
< tr class = "separator:aed0ea733af94f2d4e08c24b2fa4df56f inherit pub_methods_classModel" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0ece13ffd6258825feaaa884247ca6e2 inherit pub_methods_classModel" > < td class = "memItemLeft" align = "right" valign = "top" > virtual std::vector< < a class = "el" href = "structBlindSignature.html" > BlindSignature< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classModel.html#a0ece13ffd6258825feaaa884247ca6e2" > mint< / a > (std::string const & transaction_reference, const std::vector< < a class = "el" href = "structBlind.html" > Blind< / a > > & blinds)=0< / td > < / tr >
< tr class = "separator:a0ece13ffd6258825feaaa884247ca6e2 inherit pub_methods_classModel" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a14ae6086fd6ccc2dc34714c2f976258a inherit pub_methods_classModel" > < td class = "memItemLeft" align = "right" valign = "top" > virtual bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classModel.html#a14ae6086fd6ccc2dc34714c2f976258a" > redeem< / a > (const std::vector< < a class = "el" href = "structCoin.html" > Coin< / a > > & coins)=0< / td > < / tr >
< tr class = "separator:a14ae6086fd6ccc2dc34714c2f976258a inherit pub_methods_classModel" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-12-19 21:19:50 +01:00
< / 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 pub_static_methods_classModel" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_static_methods_classModel')" > < img src = "closed.png" alt = "-" / >   Static Public Member Functions inherited from < a class = "el" href = "classModel.html" > Model< / a > < / td > < / tr >
2022-12-31 14:37:34 +01:00
< tr class = "memitem:a638b943a2de45e4faba934fbe6ae8055 inherit pub_static_methods_classModel" > < td class = "memItemLeft" align = "right" valign = "top" > static std::unique_ptr< < a class = "el" href = "classModel.html" > Model< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classModel.html#a638b943a2de45e4faba934fbe6ae8055" > getModel< / a > (const std::string & backend_name)< / td > < / tr >
2022-12-19 21:19:50 +01:00
< tr class = "separator:a638b943a2de45e4faba934fbe6ae8055 inherit pub_static_methods_classModel" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > this is for now our sample model < / p >
2022-12-31 14:37:34 +01:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "a3f3db55e24aada8f0f4828529a04ef0d" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3f3db55e24aada8f0f4828529a04ef0d" > ◆ < / a > < / span > getCDDC()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > tl::expected< < a class = "el" href = "structCDDC.html" > CDDC< / a > *, bool> DefaultModel::getCDDC < / td >
< td > (< / td >
< td class = "paramtype" > unsigned int  < / td >
< td class = "paramname" > < em > cdd_serial< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > return the CurrencyDocumentDescription certifikate for a specific serial version number of it. < a href = "https://opencoin.org/0.4/schemata.html#cddc" > see spec< / a > < / p > < dl class = "section return" > < dt > Returns< / dt > < dd > returns a pointer to the < a class = "el" href = "structCDDC.html" > CDDC< / a > if successful, false otherwise < / dd > < / dl >
< p > Implements < a class = "el" href = "classModel.html#a694101d09f26963cb3b4059779604ed5" > Model< / a > .< / p >
< / div >
< / div >
< a id = "a879560588eadf03168fb720751044295" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a879560588eadf03168fb720751044295" > ◆ < / a > < / span > getCurrentCDDC()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > tl::expected< < a class = "el" href = "structCDDC.html" > CDDC< / a > *, bool> DefaultModel::getCurrentCDDC < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > return the CurrencyDocumentDescription certifikate < a href = "https://opencoin.org/0.4/schemata.html#cddc" > see spec< / a > < / p > < dl class = "section return" > < dt > Returns< / dt > < dd > returns a pointer to the < a class = "el" href = "structCDDC.html" > CDDC< / a > if successful, false otherwise < / dd > < / dl >
< p > Implements < a class = "el" href = "classModel.html#a2a6e8779505b4c9b2e61328a9e870981" > Model< / a > .< / p >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following file:< ul >
2022-12-19 21:19:50 +01:00
< li > src/model.cpp< / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by  < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.9.1
< / small > < / address >
< / body >
< / html >