<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.12"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Engauge Digitizer: FileCmdAbstract Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Engauge Digitizer  <span id="projectnumber">2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.12 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </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="#pro-methods">Protected Member Functions</a> | <a href="classFileCmdAbstract-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">FileCmdAbstract Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> </div><!--header--> <div class="contents"> <p>Base class for 'file commands' that are used specifically for regression testing of file import/open/export features. <a href="classFileCmdAbstract.html#details">More...</a></p> <p><code>#include <<a class="el" href="FileCmdAbstract_8h_source.html">FileCmdAbstract.h</a>></code></p> <div class="dynheader"> Inheritance diagram for FileCmdAbstract:</div> <div class="dyncontent"> <div class="center"> <img src="classFileCmdAbstract.png" usemap="#FileCmdAbstract_map" alt=""/> <map id="FileCmdAbstract_map" name="FileCmdAbstract_map"> <area href="classFileCmdClose.html" title="Command for closing a file. " alt="FileCmdClose" shape="rect" coords="0,56,105,80"/> <area href="classFileCmdExport.html" title="Command for exporting a file. " alt="FileCmdExport" shape="rect" coords="115,56,220,80"/> <area href="classFileCmdImport.html" title="Command for importing a file. " alt="FileCmdImport" shape="rect" coords="230,56,335,80"/> <area href="classFileCmdOpen.html" title="Command for opening a file. " alt="FileCmdOpen" shape="rect" coords="345,56,450,80"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a3f00ca3c65f3443e19edc566d2f01f53"><td class="memItemLeft" align="right" valign="top"><a id="a3f00ca3c65f3443e19edc566d2f01f53"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="classFileCmdAbstract.html#a3f00ca3c65f3443e19edc566d2f01f53">FileCmdAbstract</a> (const QString &<a class="el" href="classFileCmdAbstract.html#aa0e4a464ef82a05ae4cf869e2a2c25eb">cmdDescription</a>)</td></tr> <tr class="memdesc:a3f00ca3c65f3443e19edc566d2f01f53"><td class="mdescLeft"> </td><td class="mdescRight">Single constructor. <br /></td></tr> <tr class="separator:a3f00ca3c65f3443e19edc566d2f01f53"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad7a5b3e18f2023088a984e7f101aeede"><td class="memItemLeft" align="right" valign="top"><a id="ad7a5b3e18f2023088a984e7f101aeede"></a> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classFileCmdAbstract.html#ad7a5b3e18f2023088a984e7f101aeede">redo</a> (<a class="el" href="classMainWindow.html">MainWindow</a> &mainWindow)=0</td></tr> <tr class="memdesc:ad7a5b3e18f2023088a984e7f101aeede"><td class="mdescLeft"> </td><td class="mdescRight">Apply this command, through <a class="el" href="classMainWindow.html" title="Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...">MainWindow</a>. <br /></td></tr> <tr class="separator:ad7a5b3e18f2023088a984e7f101aeede"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:aa0e4a464ef82a05ae4cf869e2a2c25eb"><td class="memItemLeft" align="right" valign="top"><a id="aa0e4a464ef82a05ae4cf869e2a2c25eb"></a> QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classFileCmdAbstract.html#aa0e4a464ef82a05ae4cf869e2a2c25eb">cmdDescription</a> () const</td></tr> <tr class="memdesc:aa0e4a464ef82a05ae4cf869e2a2c25eb"><td class="mdescLeft"> </td><td class="mdescRight">Command description for logging. <br /></td></tr> <tr class="separator:aa0e4a464ef82a05ae4cf869e2a2c25eb"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Base class for 'file commands' that are used specifically for regression testing of file import/open/export features. </p> <p>These commands operate outside of the normal undo/redo command framework, since that framework uses commands that are attached to an open <a class="el" href="classDocument.html" title="Storage of one imported image and the data attached to that image. ">Document</a>. The file commands follow special rules:</p><ol type="1"> <li>Never generated by the code</li> <li>Created by manually editing a 'file command' xml file, which does NOT have a <a class="el" href="classDocument.html" title="Storage of one imported image and the data attached to that image. ">Document</a> (so error report files cannot be used unless pretty much everything is removed)</li> <li>Are only read during regression testing normally. Although they can be loaded otherwise, there is no point in doing so</li> <li>These commands operate in the forward direction only, since undoing a File Close could be quite messy </li> </ol> <p>Definition at line <a class="el" href="FileCmdAbstract_8h_source.html#l00022">22</a> of file <a class="el" href="FileCmdAbstract_8h_source.html">FileCmdAbstract.h</a>.</p> </div><hr/>The documentation for this class was generated from the following files:<ul> <li>FileCmd/<a class="el" href="FileCmdAbstract_8h_source.html">FileCmdAbstract.h</a></li> <li>FileCmd/<a class="el" href="FileCmdAbstract_8cpp_source.html">FileCmdAbstract.cpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sun Dec 25 2016 20:54:34 for Engauge Digitizer by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.12 </small></address> </body> </html>