1091 lines
66 KiB
HTML
1091 lines
66 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" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.13.2"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>mupp: PParamDataHandler 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>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="cookie.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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">mupp<span id="projectnumber"> 1.1.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.13.2 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',false);
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function(){ initResizable(false); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div><!-- top -->
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#signals">Signals</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pri-slots">Private Slots</a> |
|
|
<a href="#pri-methods">Private Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classPParamDataHandler-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">PParamDataHandler Class Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Central manager class for loading and accessing parameter collections.
|
|
<a href="#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="Pmupp_8h_source.html">Pmupp.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for PParamDataHandler:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classPParamDataHandler__inherit__graph.png" border="0" usemap="#aPParamDataHandler_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="aPParamDataHandler_inherit__map" id="aPParamDataHandler_inherit__map">
|
|
<area shape="rect" title="Central manager class for loading and accessing parameter collections." alt="" coords="5,81,151,109"/>
|
|
<area shape="rect" title=" " alt="" coords="43,5,113,33"/>
|
|
<area shape="poly" title=" " alt="" coords="81,49,81,81,75,81,75,49"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for PParamDataHandler:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classPParamDataHandler__coll__graph.png" border="0" usemap="#aPParamDataHandler_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aPParamDataHandler_coll__map" id="aPParamDataHandler_coll__map">
|
|
<area shape="rect" title="Central manager class for loading and accessing parameter collections." alt="" coords="5,81,151,109"/>
|
|
<area shape="rect" title=" " alt="" coords="43,5,113,33"/>
|
|
<area shape="poly" title=" " alt="" coords="81,49,81,81,75,81,75,49"/>
|
|
</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 id="signals" name="signals"></a>
|
|
Signals</h2></td></tr>
|
|
<tr class="memitem:a7308e7db8dd284c7d3d09dc2536e0e65" id="r_a7308e7db8dd284c7d3d09dc2536e0e65"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a7308e7db8dd284c7d3d09dc2536e0e65">newData</a> ()</td></tr>
|
|
<tr class="memdesc:a7308e7db8dd284c7d3d09dc2536e0e65"><td class="mdescLeft"> </td><td class="mdescRight">Signal emitted when new data has been successfully loaded. <br /></td></tr>
|
|
<tr class="separator:a7308e7db8dd284c7d3d09dc2536e0e65"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:ae59b0f11ab0779cb6bad2c0b56f0659d" id="r_ae59b0f11ab0779cb6bad2c0b56f0659d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#ae59b0f11ab0779cb6bad2c0b56f0659d">PParamDataHandler</a> ()</td></tr>
|
|
<tr class="memdesc:ae59b0f11ab0779cb6bad2c0b56f0659d"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br /></td></tr>
|
|
<tr class="separator:ae59b0f11ab0779cb6bad2c0b56f0659d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2bbff544a1a5a387712d64cc398e525f" id="r_a2bbff544a1a5a387712d64cc398e525f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#a2bbff544a1a5a387712d64cc398e525f">GetNoOfCollections</a> ()</td></tr>
|
|
<tr class="memdesc:a2bbff544a1a5a387712d64cc398e525f"><td class="mdescLeft"> </td><td class="mdescRight">Gets the total number of loaded collections. <br /></td></tr>
|
|
<tr class="separator:a2bbff544a1a5a387712d64cc398e525f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad3877cf46673ec80a2994df9543f4eba" id="r_ad3877cf46673ec80a2994df9543f4eba"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#ad3877cf46673ec80a2994df9543f4eba">NewCollection</a> (const QString name)</td></tr>
|
|
<tr class="memdesc:ad3877cf46673ec80a2994df9543f4eba"><td class="mdescLeft"> </td><td class="mdescRight">Creates and adds an empty collection with the specified name. <br /></td></tr>
|
|
<tr class="separator:ad3877cf46673ec80a2994df9543f4eba"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acb5d9b86f3dd2be0a7a9d81f86937f57" id="r_acb5d9b86f3dd2be0a7a9d81f86937f57"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#acb5d9b86f3dd2be0a7a9d81f86937f57">ReadParamFile</a> (const QStringList fln, QString &errorMsg)</td></tr>
|
|
<tr class="memdesc:acb5d9b86f3dd2be0a7a9d81f86937f57"><td class="mdescLeft"> </td><td class="mdescRight">Reads parameter file(s) and loads them into collections. <br /></td></tr>
|
|
<tr class="separator:acb5d9b86f3dd2be0a7a9d81f86937f57"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a664a91e867b80ea8dee642deafa78447" id="r_a664a91e867b80ea8dee642deafa78447"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a664a91e867b80ea8dee642deafa78447">ReadDbFile</a> (const QString fln, bool &valid, QString &errorMsg)</td></tr>
|
|
<tr class="memdesc:a664a91e867b80ea8dee642deafa78447"><td class="mdescLeft"> </td><td class="mdescRight">Reads and parses a db-format parameter file. <br /></td></tr>
|
|
<tr class="separator:a664a91e867b80ea8dee642deafa78447"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af8e044e67d6fd22c3426b95672389326" id="r_af8e044e67d6fd22c3426b95672389326"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#af8e044e67d6fd22c3426b95672389326">ReadColumnParamFile</a> (const QString fln, bool &valid, QString &errorMsg)</td></tr>
|
|
<tr class="memdesc:af8e044e67d6fd22c3426b95672389326"><td class="mdescLeft"> </td><td class="mdescRight">Reads and parses a column-based parameter file (dat/txt format). <br /></td></tr>
|
|
<tr class="separator:af8e044e67d6fd22c3426b95672389326"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a332d258df4ecd4dddf79b64a3b168e18" id="r_a332d258df4ecd4dddf79b64a3b168e18"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a332d258df4ecd4dddf79b64a3b168e18">GetCollection</a> (const int idx, bool &valid)</td></tr>
|
|
<tr class="memdesc:a332d258df4ecd4dddf79b64a3b168e18"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a collection by index (by value). <br /></td></tr>
|
|
<tr class="separator:a332d258df4ecd4dddf79b64a3b168e18"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3a6b437efb82908822b0505153002eb6" id="r_a3a6b437efb82908822b0505153002eb6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a3a6b437efb82908822b0505153002eb6">GetCollection</a> (const QString name, bool &valid)</td></tr>
|
|
<tr class="memdesc:a3a6b437efb82908822b0505153002eb6"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="#a332d258df4ecd4dddf79b64a3b168e18" title="Retrieves a collection by index (by value).">PParamDataHandler::GetCollection</a>. Get collection by name. <br /></td></tr>
|
|
<tr class="separator:a3a6b437efb82908822b0505153002eb6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaee88f01b4e1ca235969138cb98e792d" id="r_aaee88f01b4e1ca235969138cb98e792d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="#aaee88f01b4e1ca235969138cb98e792d">GetCollection</a> (const int idx)</td></tr>
|
|
<tr class="memdesc:aaee88f01b4e1ca235969138cb98e792d"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="#a332d258df4ecd4dddf79b64a3b168e18" title="Retrieves a collection by index (by value).">PParamDataHandler::GetCollection</a>. Get a pointer of the requested collection. <br /></td></tr>
|
|
<tr class="separator:aaee88f01b4e1ca235969138cb98e792d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab852026f847b9e8a823577d5921f23ec" id="r_ab852026f847b9e8a823577d5921f23ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="#ab852026f847b9e8a823577d5921f23ec">GetCollection</a> (const QString name)</td></tr>
|
|
<tr class="memdesc:ab852026f847b9e8a823577d5921f23ec"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="#a332d258df4ecd4dddf79b64a3b168e18" title="Retrieves a collection by index (by value).">PParamDataHandler::GetCollection</a>. Get collection pointer by name. <br /></td></tr>
|
|
<tr class="separator:ab852026f847b9e8a823577d5921f23ec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6f90a5c90c680014185fac1523416257" id="r_a6f90a5c90c680014185fac1523416257"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#a6f90a5c90c680014185fac1523416257">GetCollectionIndex</a> (const QString name)</td></tr>
|
|
<tr class="memdesc:a6f90a5c90c680014185fac1523416257"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="#a6f90a5c90c680014185fac1523416257" title="PParamDataHandler::GetCollectionIndex. Get the collection index of a given collection name.">PParamDataHandler::GetCollectionIndex</a>. Get the collection index of a given collection name. <br /></td></tr>
|
|
<tr class="separator:a6f90a5c90c680014185fac1523416257"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa8d91999268f30a778c25fbad643aadf" id="r_aa8d91999268f30a778c25fbad643aadf"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="#aa8d91999268f30a778c25fbad643aadf">GetCollectionName</a> (const int idx)</td></tr>
|
|
<tr class="memdesc:aa8d91999268f30a778c25fbad643aadf"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="#aa8d91999268f30a778c25fbad643aadf" title="PParamDataHandler::GetCollectionName.">PParamDataHandler::GetCollectionName</a>. <br /></td></tr>
|
|
<tr class="separator:aa8d91999268f30a778c25fbad643aadf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaf8948af5c164ad652e68f27d1fd3238" id="r_aaf8948af5c164ad652e68f27d1fd3238"><td class="memItemLeft" align="right" valign="top">QVector< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="#aaf8948af5c164ad652e68f27d1fd3238">GetValues</a> (QString collName, QString paramName)</td></tr>
|
|
<tr class="memdesc:aaf8948af5c164ad652e68f27d1fd3238"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves all values for a specific parameter across all runs. <br /></td></tr>
|
|
<tr class="separator:aaf8948af5c164ad652e68f27d1fd3238"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8290935fa2e50d26d815a08a5c18a673" id="r_a8290935fa2e50d26d815a08a5c18a673"><td class="memItemLeft" align="right" valign="top">QVector< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="#a8290935fa2e50d26d815a08a5c18a673">GetPosErr</a> (QString collName, QString paramName)</td></tr>
|
|
<tr class="memdesc:a8290935fa2e50d26d815a08a5c18a673"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves all positive errors for a specific parameter across all runs. <br /></td></tr>
|
|
<tr class="separator:a8290935fa2e50d26d815a08a5c18a673"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac1dcd0cbefc930c35560423136304968" id="r_ac1dcd0cbefc930c35560423136304968"><td class="memItemLeft" align="right" valign="top">QVector< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="#ac1dcd0cbefc930c35560423136304968">GetNegErr</a> (QString collName, QString paramName)</td></tr>
|
|
<tr class="memdesc:ac1dcd0cbefc930c35560423136304968"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves all negative errors for a specific parameter across all runs. <br /></td></tr>
|
|
<tr class="separator:ac1dcd0cbefc930c35560423136304968"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acb17faa780456854d58180e86eb2b6b2" id="r_acb17faa780456854d58180e86eb2b6b2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#acb17faa780456854d58180e86eb2b6b2">RemoveCollection</a> (QString name)</td></tr>
|
|
<tr class="memdesc:acb17faa780456854d58180e86eb2b6b2"><td class="mdescLeft"> </td><td class="mdescRight">Removes a collection from the handler by name. <br /></td></tr>
|
|
<tr class="separator:acb17faa780456854d58180e86eb2b6b2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3f73e91822e7e174571986bffbf210ee" id="r_a3f73e91822e7e174571986bffbf210ee"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a3f73e91822e7e174571986bffbf210ee">ReplaceCollection</a> (<a class="el" href="classPmuppCollection.html">PmuppCollection</a> coll, int idx)</td></tr>
|
|
<tr class="memdesc:a3f73e91822e7e174571986bffbf210ee"><td class="mdescLeft"> </td><td class="mdescRight">Replaces a collection at the specified index. <br /></td></tr>
|
|
<tr class="separator:a3f73e91822e7e174571986bffbf210ee"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6c021ceb858ded49729ef7a218a63ef9" id="r_a6c021ceb858ded49729ef7a218a63ef9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a6c021ceb858ded49729ef7a218a63ef9">Dump</a> ()</td></tr>
|
|
<tr class="memdesc:a6c021ceb858ded49729ef7a218a63ef9"><td class="mdescLeft"> </td><td class="mdescRight">Dumps all collection data to stdout for debugging. <br /></td></tr>
|
|
<tr class="separator:a6c021ceb858ded49729ef7a218a63ef9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-slots" name="pri-slots"></a>
|
|
Private Slots</h2></td></tr>
|
|
<tr class="memitem:a05eb56e10251a1424c289e689b005a55" id="r_a05eb56e10251a1424c289e689b005a55"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a05eb56e10251a1424c289e689b005a55">readFromStdOut</a> ()</td></tr>
|
|
<tr class="memdesc:a05eb56e10251a1424c289e689b005a55"><td class="mdescLeft"> </td><td class="mdescRight">Slot to handle standard output from msr2data process. <br /></td></tr>
|
|
<tr class="separator:a05eb56e10251a1424c289e689b005a55"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae0f3af3b36c49e10d55dee72ed64230f" id="r_ae0f3af3b36c49e10d55dee72ed64230f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#ae0f3af3b36c49e10d55dee72ed64230f">readFromStdErr</a> ()</td></tr>
|
|
<tr class="memdesc:ae0f3af3b36c49e10d55dee72ed64230f"><td class="mdescLeft"> </td><td class="mdescRight">Slot to handle standard error from msr2data process. <br /></td></tr>
|
|
<tr class="separator:ae0f3af3b36c49e10d55dee72ed64230f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad5ff2fc4078ed80b3a1c5d098977548e" id="r_ad5ff2fc4078ed80b3a1c5d098977548e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#ad5ff2fc4078ed80b3a1c5d098977548e">processDone</a> (int, QProcess::ExitStatus)</td></tr>
|
|
<tr class="memdesc:ad5ff2fc4078ed80b3a1c5d098977548e"><td class="mdescLeft"> </td><td class="mdescRight">Slot to handle completion of msr2data process. <br /></td></tr>
|
|
<tr class="separator:ad5ff2fc4078ed80b3a1c5d098977548e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
|
|
Private Member Functions</h2></td></tr>
|
|
<tr class="memitem:a28b40a9fc574e643bfb60123ac1d777a" id="r_a28b40a9fc574e643bfb60123ac1d777a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#a28b40a9fc574e643bfb60123ac1d777a">analyzeFileList</a> (const QStringList &fln, QString &collectionName, QStringList &arg, QString &workDir, QString &errorMsg)</td></tr>
|
|
<tr class="memdesc:a28b40a9fc574e643bfb60123ac1d777a"><td class="mdescLeft"> </td><td class="mdescRight">Analyzes a list of msr-files to prepare arguments for msr2data. <br /></td></tr>
|
|
<tr class="separator:a28b40a9fc574e643bfb60123ac1d777a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a59ac6665e85c488cddf2477274b3d99e" id="r_a59ac6665e85c488cddf2477274b3d99e"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< QProcess > </td><td class="memItemRight" valign="bottom"><a class="el" href="#a59ac6665e85c488cddf2477274b3d99e">fProc</a></td></tr>
|
|
<tr class="memdesc:a59ac6665e85c488cddf2477274b3d99e"><td class="mdescLeft"> </td><td class="mdescRight">process handle for invoking msr2data when msr files need conversion <br /></td></tr>
|
|
<tr class="separator:a59ac6665e85c488cddf2477274b3d99e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab57818eb0a98872147f2fd827185597f" id="r_ab57818eb0a98872147f2fd827185597f"><td class="memItemLeft" align="right" valign="top">QVector< <a class="el" href="classPmuppCollection.html">PmuppCollection</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="#ab57818eb0a98872147f2fd827185597f">fCollection</a></td></tr>
|
|
<tr class="memdesc:ab57818eb0a98872147f2fd827185597f"><td class="mdescLeft"> </td><td class="mdescRight">vector containing all loaded collections <br /></td></tr>
|
|
<tr class="separator:ab57818eb0a98872147f2fd827185597f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Central manager class for loading and accessing parameter collections. </p>
|
|
<p>The <a class="el" href="classPParamDataHandler.html" title="Central manager class for loading and accessing parameter collections.">PParamDataHandler</a> class is responsible for managing all loaded parameter collections in mupp. It provides functionality for:</p><ul>
|
|
<li>Reading and parsing parameter files (db, dat, msr formats)</li>
|
|
<li>Managing multiple collections simultaneously</li>
|
|
<li>Providing access to parameter data by collection and parameter name</li>
|
|
<li>Handling conversion of msr files via msr2data external process</li>
|
|
</ul>
|
|
<p>This class acts as the primary interface between the data storage and the GUI or scripting components of mupp. It maintains a vector of all loaded collections and provides various query methods to extract parameter values and errors.</p>
|
|
<p>File format support:</p><ul>
|
|
<li>.db files: muSR database format with structured parameter entries</li>
|
|
<li>.dat/.txt files: Column-based parameter files</li>
|
|
<li>.msr files: muSR fit input files (converted via msr2data) </li>
|
|
</ul>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8h_source.html#l00306">306</a> of file <a class="el" href="Pmupp_8h_source.html">Pmupp.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="ae59b0f11ab0779cb6bad2c0b56f0659d" name="ae59b0f11ab0779cb6bad2c0b56f0659d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae59b0f11ab0779cb6bad2c0b56f0659d">◆ </a></span>PParamDataHandler()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">PParamDataHandler::PParamDataHandler </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Default constructor. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8h_source.html#l00313">313</a> of file <a class="el" href="Pmupp_8h_source.html">Pmupp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a28b40a9fc574e643bfb60123ac1d777a" name="a28b40a9fc574e643bfb60123ac1d777a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a28b40a9fc574e643bfb60123ac1d777a">◆ </a></span>analyzeFileList()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool PParamDataHandler::analyzeFileList </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QStringList &</td> <td class="paramname"><span class="paramname"><em>fln</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QString &</td> <td class="paramname"><span class="paramname"><em>collectionName</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QStringList &</td> <td class="paramname"><span class="paramname"><em>arg</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QString &</td> <td class="paramname"><span class="paramname"><em>workDir</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QString &</td> <td class="paramname"><span class="paramname"><em>errorMsg</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Analyzes a list of msr-files to prepare arguments for msr2data. </p>
|
|
<p>When parameter data is provided as msr-files (muSR fit input files), this function analyzes their structure to extract run numbers and extensions, preparing the argument list needed to invoke the msr2data external tool for conversion to db format.</p>
|
|
<p>The function expects msr-files with names following the pattern: <runNumber><extension>.msr where <extension> starts with '_'. All msr-files in the list must have the same extension.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">fln</td><td>list of msr-file paths to be analyzed </td></tr>
|
|
<tr><td class="paramname">collectionName</td><td>output parameter: name for the resulting db/dat collection file </td></tr>
|
|
<tr><td class="paramname">arg</td><td>output parameter: argument list to be passed to msr2data </td></tr>
|
|
<tr><td class="paramname">workDir</td><td>output parameter: working directory where files are located </td></tr>
|
|
<tr><td class="paramname">errorMsg</td><td>output parameter: error message if analysis fails</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if analysis is successful, false otherwise </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00252">252</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6c021ceb858ded49729ef7a218a63ef9" name="a6c021ceb858ded49729ef7a218a63ef9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6c021ceb858ded49729ef7a218a63ef9">◆ </a></span>Dump()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void PParamDataHandler::Dump </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Dumps all collection data to stdout for debugging. </p>
|
|
<p>Prints a formatted representation of all loaded collections, including collection names, run numbers, run names, and all parameters with their values and errors. This is primarily used for debugging and verification purposes.</p>
|
|
<p>Output format shows:</p><ul>
|
|
<li>Collection separator and name</li>
|
|
<li>For each run: run number, run name</li>
|
|
<li>For each parameter: name, value, negative error, positive error </li>
|
|
</ul>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l01165">1165</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaee88f01b4e1ca235969138cb98e792d" name="aaee88f01b4e1ca235969138cb98e792d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaee88f01b4e1ca235969138cb98e792d">◆ </a></span>GetCollection() <span class="overload">[1/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> * PParamDataHandler::GetCollection </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const int</td> <td class="paramname"><span class="paramname"><em>idx</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p><a class="el" href="#a332d258df4ecd4dddf79b64a3b168e18" title="Retrieves a collection by index (by value).">PParamDataHandler::GetCollection</a>. Get a pointer of the requested collection. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">idx</td><td>of the collection</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>requested pointer to the collection on success. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00848">848</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a332d258df4ecd4dddf79b64a3b168e18" name="a332d258df4ecd4dddf79b64a3b168e18"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a332d258df4ecd4dddf79b64a3b168e18">◆ </a></span>GetCollection() <span class="overload">[2/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> PParamDataHandler::GetCollection </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const int</td> <td class="paramname"><span class="paramname"><em>idx</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool &</td> <td class="paramname"><span class="paramname"><em>valid</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Retrieves a collection by index (by value). </p>
|
|
<p>Returns a copy of the collection at the specified index position. If the index is out of range, returns an empty collection and sets valid to false.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">idx</td><td>zero-based index of the collection to retrieve </td></tr>
|
|
<tr><td class="paramname">valid</td><td>output parameter: set to true if collection found, false otherwise</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>copy of the requested collection, or an empty collection if not found</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#a3a6b437efb82908822b0505153002eb6" title="PParamDataHandler::GetCollection. Get collection by name.">GetCollection(const QString, bool&)</a>, <a class="el" href="#aaee88f01b4e1ca235969138cb98e792d" title="PParamDataHandler::GetCollection. Get a pointer of the requested collection.">GetCollection(const int)</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00827">827</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab852026f847b9e8a823577d5921f23ec" name="ab852026f847b9e8a823577d5921f23ec"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab852026f847b9e8a823577d5921f23ec">◆ </a></span>GetCollection() <span class="overload">[3/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> * PParamDataHandler::GetCollection </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QString</td> <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p><a class="el" href="#a332d258df4ecd4dddf79b64a3b168e18" title="Retrieves a collection by index (by value).">PParamDataHandler::GetCollection</a>. Get collection pointer by name. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">name</td><td>of the requested collection</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>pointer of the requested collection on success, nullptr otherwise </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00893">893</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3a6b437efb82908822b0505153002eb6" name="a3a6b437efb82908822b0505153002eb6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3a6b437efb82908822b0505153002eb6">◆ </a></span>GetCollection() <span class="overload">[4/4]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> PParamDataHandler::GetCollection </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QString</td> <td class="paramname"><span class="paramname"><em>name</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool &</td> <td class="paramname"><span class="paramname"><em>valid</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p><a class="el" href="#a332d258df4ecd4dddf79b64a3b168e18" title="Retrieves a collection by index (by value).">PParamDataHandler::GetCollection</a>. Get collection by name. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">name</td><td>of the requested collection </td></tr>
|
|
<tr><td class="paramname">valid</td><td>true if found</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>requested collection on success. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00865">865</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6f90a5c90c680014185fac1523416257" name="a6f90a5c90c680014185fac1523416257"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6f90a5c90c680014185fac1523416257">◆ </a></span>GetCollectionIndex()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int PParamDataHandler::GetCollectionIndex </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QString</td> <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p><a class="el" href="#a6f90a5c90c680014185fac1523416257" title="PParamDataHandler::GetCollectionIndex. Get the collection index of a given collection name.">PParamDataHandler::GetCollectionIndex</a>. Get the collection index of a given collection name. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">name</td><td>of the requested collection</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>index of the requested collection on success, otherwise -1. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00918">918</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa8d91999268f30a778c25fbad643aadf" name="aa8d91999268f30a778c25fbad643aadf"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa8d91999268f30a778c25fbad643aadf">◆ </a></span>GetCollectionName()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QString PParamDataHandler::GetCollectionName </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const int</td> <td class="paramname"><span class="paramname"><em>idx</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p><a class="el" href="#aa8d91999268f30a778c25fbad643aadf" title="PParamDataHandler::GetCollectionName.">PParamDataHandler::GetCollectionName</a>. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">idx</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00938">938</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac1dcd0cbefc930c35560423136304968" name="ac1dcd0cbefc930c35560423136304968"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac1dcd0cbefc930c35560423136304968">◆ </a></span>GetNegErr()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QVector< double > PParamDataHandler::GetNegErr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QString</td> <td class="paramname"><span class="paramname"><em>collName</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QString</td> <td class="paramname"><span class="paramname"><em>paramName</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Retrieves all negative errors for a specific parameter across all runs. </p>
|
|
<p>This method extracts the negative (lower) error values of a named parameter from all runs in the specified collection. The returned vector has one entry per run, in the order they appear in the collection.</p>
|
|
<p>Used in conjunction with <a class="el" href="#aaf8948af5c164ad652e68f27d1fd3238" title="Retrieves all values for a specific parameter across all runs.">GetValues()</a> and <a class="el" href="#a8290935fa2e50d26d815a08a5c18a673" title="Retrieves all positive errors for a specific parameter across all runs.">GetPosErr()</a> for plotting parameters with asymmetric error bars.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">collName</td><td>name of the collection to query </td></tr>
|
|
<tr><td class="paramname">paramName</td><td>name of the parameter whose negative errors to extract</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>vector of negative error values, one per run in the collection. Returns an empty vector if the collection or parameter is not found.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#aaf8948af5c164ad652e68f27d1fd3238" title="Retrieves all values for a specific parameter across all runs.">GetValues()</a>, <a class="el" href="#a8290935fa2e50d26d815a08a5c18a673" title="Retrieves all positive errors for a specific parameter across all runs.">GetPosErr()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l01077">1077</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2bbff544a1a5a387712d64cc398e525f" name="a2bbff544a1a5a387712d64cc398e525f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2bbff544a1a5a387712d64cc398e525f">◆ </a></span>GetNoOfCollections()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int PParamDataHandler::GetNoOfCollections </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Gets the total number of loaded collections. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>the count of collections currently managed </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8h_source.html#l00319">319</a> of file <a class="el" href="Pmupp_8h_source.html">Pmupp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8290935fa2e50d26d815a08a5c18a673" name="a8290935fa2e50d26d815a08a5c18a673"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8290935fa2e50d26d815a08a5c18a673">◆ </a></span>GetPosErr()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QVector< double > PParamDataHandler::GetPosErr </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QString</td> <td class="paramname"><span class="paramname"><em>collName</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QString</td> <td class="paramname"><span class="paramname"><em>paramName</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Retrieves all positive errors for a specific parameter across all runs. </p>
|
|
<p>This method extracts the positive (upper) error values of a named parameter from all runs in the specified collection. The returned vector has one entry per run, in the order they appear in the collection.</p>
|
|
<p>Used in conjunction with <a class="el" href="#aaf8948af5c164ad652e68f27d1fd3238" title="Retrieves all values for a specific parameter across all runs.">GetValues()</a> for plotting parameters with error bars.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">collName</td><td>name of the collection to query </td></tr>
|
|
<tr><td class="paramname">paramName</td><td>name of the parameter whose positive errors to extract</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>vector of positive error values, one per run in the collection. Returns an empty vector if the collection or parameter is not found.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#aaf8948af5c164ad652e68f27d1fd3238" title="Retrieves all values for a specific parameter across all runs.">GetValues()</a>, <a class="el" href="#ac1dcd0cbefc930c35560423136304968" title="Retrieves all negative errors for a specific parameter across all runs.">GetNegErr()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l01022">1022</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaf8948af5c164ad652e68f27d1fd3238" name="aaf8948af5c164ad652e68f27d1fd3238"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaf8948af5c164ad652e68f27d1fd3238">◆ </a></span>GetValues()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QVector< double > PParamDataHandler::GetValues </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QString</td> <td class="paramname"><span class="paramname"><em>collName</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QString</td> <td class="paramname"><span class="paramname"><em>paramName</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Retrieves all values for a specific parameter across all runs. </p>
|
|
<p>This method extracts the central values of a named parameter from all runs in the specified collection. The returned vector has one entry per run, in the order they appear in the collection.</p>
|
|
<p>This is useful for plotting parameter evolution (e.g., relaxation rate vs. temperature) where each run represents a different experimental condition.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">collName</td><td>name of the collection to query </td></tr>
|
|
<tr><td class="paramname">paramName</td><td>name of the parameter to extract (e.g., "alpha", "lambda")</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>vector of parameter values, one per run in the collection. Returns an empty vector if the collection or parameter is not found.</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#a8290935fa2e50d26d815a08a5c18a673" title="Retrieves all positive errors for a specific parameter across all runs.">GetPosErr()</a>, <a class="el" href="#ac1dcd0cbefc930c35560423136304968" title="Retrieves all negative errors for a specific parameter across all runs.">GetNegErr()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00968">968</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad3877cf46673ec80a2994df9543f4eba" name="ad3877cf46673ec80a2994df9543f4eba"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad3877cf46673ec80a2994df9543f4eba">◆ </a></span>NewCollection()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void PParamDataHandler::NewCollection </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QString</td> <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Creates and adds an empty collection with the specified name. </p>
|
|
<p>This method creates a new empty collection and adds it to the handler's collection vector. The collection can then be populated with runs later.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">name</td><td>the name to assign to the new collection </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00223">223</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7308e7db8dd284c7d3d09dc2536e0e65" name="a7308e7db8dd284c7d3d09dc2536e0e65"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7308e7db8dd284c7d3d09dc2536e0e65">◆ </a></span>newData</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void PParamDataHandler::newData </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel signal">signal</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Signal emitted when new data has been successfully loaded. </p>
|
|
<p>This signal is emitted after parameter files have been read and collections have been added to the handler. Connected slots can update their displays or perform other actions in response. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad5ff2fc4078ed80b3a1c5d098977548e" name="ad5ff2fc4078ed80b3a1c5d098977548e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad5ff2fc4078ed80b3a1c5d098977548e">◆ </a></span>processDone</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void PParamDataHandler::processDone </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>exitCode</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QProcess::ExitStatus</td> <td class="paramname"><span class="paramname"><em>exitStatus</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel private">private</span><span class="mlabel slot">slot</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Slot to handle completion of msr2data process. </p>
|
|
<p>This slot is connected to the finished signal of the QProcess used to run msr2data. It checks the exit status and logs errors if the process crashed or exited with a non-zero exit code.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">exitCode</td><td>the exit code returned by the process </td></tr>
|
|
<tr><td class="paramname">exitStatus</td><td>indicates whether the process exited normally or crashed </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l01225">1225</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af8e044e67d6fd22c3426b95672389326" name="af8e044e67d6fd22c3426b95672389326"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af8e044e67d6fd22c3426b95672389326">◆ </a></span>ReadColumnParamFile()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> PParamDataHandler::ReadColumnParamFile </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QString</td> <td class="paramname"><span class="paramname"><em>fln</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool &</td> <td class="paramname"><span class="paramname"><em>valid</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QString &</td> <td class="paramname"><span class="paramname"><em>errorMsg</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Reads and parses a column-based parameter file (dat/txt format). </p>
|
|
<p>The column format is a simple text format where:</p><ul>
|
|
<li>First line: Header with column names</li>
|
|
<li>Following lines: Data values (one row per run)</li>
|
|
<li>Columns are whitespace-separated</li>
|
|
</ul>
|
|
<p>Column naming conventions:</p><ul>
|
|
<li>Parameter names without suffix: parameter values</li>
|
|
<li>Names ending with "Err": symmetric errors</li>
|
|
<li>Names ending with "PosErr": positive (upper) errors</li>
|
|
<li>Names ending with "NegErr": negative (lower) errors</li>
|
|
<li>Column named "RUN": run number identifier</li>
|
|
</ul>
|
|
<p>Error handling supports both symmetric (single error column) and asymmetric (separate PosErr/NegErr columns) error specifications.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">fln</td><td>path to the dat/txt-file to be read </td></tr>
|
|
<tr><td class="paramname">valid</td><td>output parameter: set to true on success, false on failure </td></tr>
|
|
<tr><td class="paramname">errorMsg</td><td>output parameter: error message describing any failures</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="classPmuppCollection.html" title="Represents a collection of related experimental runs.">PmuppCollection</a> object containing all runs and parameters from the file. Returns an empty collection if reading fails (valid will be false).</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#acb5d9b86f3dd2be0a7a9d81f86937f57" title="Reads parameter file(s) and loads them into collections.">ReadParamFile()</a>, <a class="el" href="#a664a91e867b80ea8dee642deafa78447" title="Reads and parses a db-format parameter file.">ReadDbFile()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00679">679</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a664a91e867b80ea8dee642deafa78447" name="a664a91e867b80ea8dee642deafa78447"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a664a91e867b80ea8dee642deafa78447">◆ </a></span>ReadDbFile()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classPmuppCollection.html">PmuppCollection</a> PParamDataHandler::ReadDbFile </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QString</td> <td class="paramname"><span class="paramname"><em>fln</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool &</td> <td class="paramname"><span class="paramname"><em>valid</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QString &</td> <td class="paramname"><span class="paramname"><em>errorMsg</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Reads and parses a db-format parameter file. </p>
|
|
<p>The db format is a structured text format containing parameter data with metadata sections. The file structure includes:</p><ul>
|
|
<li>Title and abstract sections (ignored by this parser)</li>
|
|
<li>Data-tags section (ignored)</li>
|
|
<li>Parameter entries section (following "\\-e" marker)</li>
|
|
<li>Each parameter: name=value, posError, negError, unused</li>
|
|
<li>Run entries: runNumber, title</li>
|
|
</ul>
|
|
<p>The function validates that all runs have the same number of parameters to ensure data consistency.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">fln</td><td>path to the db-file to be read </td></tr>
|
|
<tr><td class="paramname">valid</td><td>output parameter: set to true on success, false on failure </td></tr>
|
|
<tr><td class="paramname">errorMsg</td><td>output parameter: error message describing any failures</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="classPmuppCollection.html" title="Represents a collection of related experimental runs.">PmuppCollection</a> object containing all runs and parameters from the file. Returns an empty collection if reading fails (valid will be false).</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#acb5d9b86f3dd2be0a7a9d81f86937f57" title="Reads parameter file(s) and loads them into collections.">ReadParamFile()</a>, <a class="el" href="#af8e044e67d6fd22c3426b95672389326" title="Reads and parses a column-based parameter file (dat/txt format).">ReadColumnParamFile()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00499">499</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae0f3af3b36c49e10d55dee72ed64230f" name="ae0f3af3b36c49e10d55dee72ed64230f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae0f3af3b36c49e10d55dee72ed64230f">◆ </a></span>readFromStdErr</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void PParamDataHandler::readFromStdErr </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel private">private</span><span class="mlabel slot">slot</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Slot to handle standard error from msr2data process. </p>
|
|
<p>This slot is connected to the readyReadStandardError signal of the QProcess used to run msr2data. It reads and logs all output from the process's stderr. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l01209">1209</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a05eb56e10251a1424c289e689b005a55" name="a05eb56e10251a1424c289e689b005a55"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a05eb56e10251a1424c289e689b005a55">◆ </a></span>readFromStdOut</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void PParamDataHandler::readFromStdOut </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel private">private</span><span class="mlabel slot">slot</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Slot to handle standard output from msr2data process. </p>
|
|
<p>This slot is connected to the readyReadStandardOutput signal of the QProcess used to run msr2data. It reads and logs all output from the process's stdout. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l01196">1196</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acb5d9b86f3dd2be0a7a9d81f86937f57" name="acb5d9b86f3dd2be0a7a9d81f86937f57"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acb5d9b86f3dd2be0a7a9d81f86937f57">◆ </a></span>ReadParamFile()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool PParamDataHandler::ReadParamFile </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QStringList</td> <td class="paramname"><span class="paramname"><em>fln</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">QString &</td> <td class="paramname"><span class="paramname"><em>errorMsg</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Reads parameter file(s) and loads them into collections. </p>
|
|
<p>This is the main entry point for loading parameter data. It handles multiple file formats (msr, db, dat) and dispatches to the appropriate reader function. For msr-files, it invokes msr2data to convert them to db format first.</p>
|
|
<p>File format handling:</p><ul>
|
|
<li>.msr files: Converted via msr2data, then loaded as db</li>
|
|
<li>.db files: Loaded directly via <a class="el" href="#a664a91e867b80ea8dee642deafa78447" title="Reads and parses a db-format parameter file.">ReadDbFile()</a></li>
|
|
<li>.dat/.txt files: Loaded directly via <a class="el" href="#af8e044e67d6fd22c3426b95672389326" title="Reads and parses a column-based parameter file (dat/txt format).">ReadColumnParamFile()</a></li>
|
|
</ul>
|
|
<p>Multiple files can be loaded in a single call. Each file becomes a separate collection in the handler.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">fln</td><td>list of file names (with paths) to be loaded </td></tr>
|
|
<tr><td class="paramname">errorMsg</td><td>output parameter: error message if reading fails</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true on success, false on any error</dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="#a664a91e867b80ea8dee642deafa78447" title="Reads and parses a db-format parameter file.">ReadDbFile()</a>, <a class="el" href="#af8e044e67d6fd22c3426b95672389326" title="Reads and parses a column-based parameter file (dat/txt format).">ReadColumnParamFile()</a>, <a class="el" href="#a28b40a9fc574e643bfb60123ac1d777a" title="Analyzes a list of msr-files to prepare arguments for msr2data.">analyzeFileList()</a> </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l00346">346</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acb17faa780456854d58180e86eb2b6b2" name="acb17faa780456854d58180e86eb2b6b2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acb17faa780456854d58180e86eb2b6b2">◆ </a></span>RemoveCollection()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void PParamDataHandler::RemoveCollection </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QString</td> <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Removes a collection from the handler by name. </p>
|
|
<p>Searches for a collection with the specified name and removes it from the internal collection vector. If multiple collections have the same name, only the first match is removed.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">name</td><td>the name of the collection to be removed </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l01123">1123</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3f73e91822e7e174571986bffbf210ee" name="a3f73e91822e7e174571986bffbf210ee"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3f73e91822e7e174571986bffbf210ee">◆ </a></span>ReplaceCollection()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void PParamDataHandler::ReplaceCollection </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classPmuppCollection.html">PmuppCollection</a></td> <td class="paramname"><span class="paramname"><em>coll</em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>idx</em></span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Replaces a collection at the specified index. </p>
|
|
<p>Replaces an existing collection with a new one at the given index position. If the index is out of range, no action is taken.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">coll</td><td>the new collection to insert </td></tr>
|
|
<tr><td class="paramname">idx</td><td>the index position where the collection should be replaced </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8cpp_source.html#l01143">1143</a> of file <a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="ab57818eb0a98872147f2fd827185597f" name="ab57818eb0a98872147f2fd827185597f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab57818eb0a98872147f2fd827185597f">◆ </a></span>fCollection</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QVector<<a class="el" href="classPmuppCollection.html">PmuppCollection</a>> PParamDataHandler::fCollection</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>vector containing all loaded collections </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8h_source.html#l00355">355</a> of file <a class="el" href="Pmupp_8h_source.html">Pmupp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a59ac6665e85c488cddf2477274b3d99e" name="a59ac6665e85c488cddf2477274b3d99e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a59ac6665e85c488cddf2477274b3d99e">◆ </a></span>fProc</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::unique_ptr<QProcess> PParamDataHandler::fProc</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>process handle for invoking msr2data when msr files need conversion </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Pmupp_8h_source.html#l00354">354</a> of file <a class="el" href="Pmupp_8h_source.html">Pmupp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>/workspace/LMU/musrfit/src/musredit_qt6/mupp/<a class="el" href="Pmupp_8h_source.html">Pmupp.h</a></li>
|
|
<li>/workspace/LMU/musrfit/src/musredit_qt6/mupp/<a class="el" href="Pmupp_8cpp_source.html">Pmupp.cpp</a></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.13.2
|
|
</small></address>
|
|
</div><!-- doc-content -->
|
|
</body>
|
|
</html>
|