<!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.6"/> <title>The Gnome Chemistry Utils: gcp::DeleteOperation 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="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 style="padding-left: 0.5em;"> <div id="projectname">The Gnome Chemistry Utils  <span id="projectnumber">0.14.8</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.6 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacegcp.html">gcp</a></li><li class="navelem"><a class="el" href="classgcp_1_1DeleteOperation.html">DeleteOperation</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classgcp_1_1DeleteOperation-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">gcp::DeleteOperation Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="operation_8h_source.html">gcp/operation.h</a>></code></p> <div class="dynheader"> Inheritance diagram for gcp::DeleteOperation:</div> <div class="dyncontent"> <div class="center"> <img src="classgcp_1_1DeleteOperation.png" usemap="#gcp::DeleteOperation_map" alt=""/> <map id="gcp::DeleteOperation_map" name="gcp::DeleteOperation_map"> <area href="classgcp_1_1Operation.html" alt="gcp::Operation" shape="rect" coords="0,0,131,24"/> </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:a8277405fd29afd041677c2e11bec3a8a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1DeleteOperation.html#a8277405fd29afd041677c2e11bec3a8a">DeleteOperation</a> (<a class="el" href="classgcp_1_1Document.html">gcp::Document</a> *pDoc, unsigned long ID)</td></tr> <tr class="separator:a8277405fd29afd041677c2e11bec3a8a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a50475f9addf33577065aabfe008c4abb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1DeleteOperation.html#a50475f9addf33577065aabfe008c4abb">Undo</a> ()</td></tr> <tr class="separator:a50475f9addf33577065aabfe008c4abb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a73f44294304cdc254798ff628ba2a8ea"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1DeleteOperation.html#a73f44294304cdc254798ff628ba2a8ea">Redo</a> ()</td></tr> <tr class="separator:a73f44294304cdc254798ff628ba2a8ea"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classgcp_1_1Operation"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgcp_1_1Operation')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classgcp_1_1Operation.html">gcp::Operation</a></td></tr> <tr class="memitem:ac011147054c6ef84c9f58e5022598faf inherit pub_methods_classgcp_1_1Operation"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Operation.html#ac011147054c6ef84c9f58e5022598faf">Operation</a> (<a class="el" href="classgcp_1_1Document.html">Document</a> *pDoc, unsigned long ID)</td></tr> <tr class="separator:ac011147054c6ef84c9f58e5022598faf inherit pub_methods_classgcp_1_1Operation"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae713d95b1c4d6487a02ca6d3176b4f13 inherit pub_methods_classgcp_1_1Operation"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Operation.html#ae713d95b1c4d6487a02ca6d3176b4f13">AddObject</a> (<a class="el" href="classgcu_1_1Object.html">gcu::Object</a> *pObject, unsigned type=0)</td></tr> <tr class="separator:ae713d95b1c4d6487a02ca6d3176b4f13 inherit pub_methods_classgcp_1_1Operation"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab4e256613f7cb52a85cc4fc077b7fdf9 inherit pub_methods_classgcp_1_1Operation"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Operation.html#ab4e256613f7cb52a85cc4fc077b7fdf9">AddNode</a> (xmlNodePtr node, unsigned type=0)</td></tr> <tr class="separator:ab4e256613f7cb52a85cc4fc077b7fdf9 inherit pub_methods_classgcp_1_1Operation"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pro_methods_classgcp_1_1Operation"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classgcp_1_1Operation')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classgcp_1_1Operation.html">gcp::Operation</a></td></tr> <tr class="memitem:a0cc4ca5b232a38642980fff597611e83 inherit pro_methods_classgcp_1_1Operation"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Operation.html#a0cc4ca5b232a38642980fff597611e83">Add</a> (unsigned type=0)</td></tr> <tr class="separator:a0cc4ca5b232a38642980fff597611e83 inherit pro_methods_classgcp_1_1Operation"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4666a4ff04bf033791b3c7cad89eeedf inherit pro_methods_classgcp_1_1Operation"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Operation.html#a4666a4ff04bf033791b3c7cad89eeedf">Delete</a> (unsigned type=0)</td></tr> <tr class="separator:a4666a4ff04bf033791b3c7cad89eeedf inherit pro_methods_classgcp_1_1Operation"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_attribs_classgcp_1_1Operation"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classgcp_1_1Operation')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classgcp_1_1Operation.html">gcp::Operation</a></td></tr> <tr class="memitem:a2e4bb51639a31e1f434566acebe12fad inherit pro_attribs_classgcp_1_1Operation"><td class="memItemLeft" align="right" valign="top">xmlNodePtr * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgcp_1_1Operation.html#a2e4bb51639a31e1f434566acebe12fad">m_Nodes</a></td></tr> <tr class="separator:a2e4bb51639a31e1f434566acebe12fad inherit pro_attribs_classgcp_1_1Operation"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><a class="el" href="classgcp_1_1Operation.html">Operation</a> class representing objects deletions. </p> <p>Definition at line <a class="el" href="operation_8h_source.html#l00182">182</a> of file <a class="el" href="operation_8h_source.html">operation.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a8277405fd29afd041677c2e11bec3a8a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gcp::DeleteOperation::DeleteOperation </td> <td>(</td> <td class="paramtype"><a class="el" href="classgcp_1_1Document.html">gcp::Document</a> * </td> <td class="paramname"><em>pDoc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned long </td> <td class="paramname"><em>ID</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pDoc</td><td>a document. </td></tr> <tr><td class="paramname">ID</td><td>a unique operation ID for the document and the session.</td></tr> </table> </dd> </dl> <p>Creates a new <a class="el" href="classgcp_1_1DeleteOperation.html">DeleteOperation</a>. Operations should always created by calls to <a class="el" href="classgcp_1_1Document.html#a9929825e838d4b3e16a033e9393b4fa6">Document::GetNewOperation()</a>. </p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a73f44294304cdc254798ff628ba2a8ea"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void gcp::DeleteOperation::Redo </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Redo the deletions represented by this operation. </p> <p>Implements <a class="el" href="classgcp_1_1Operation.html#a56848b25e63e60453b3273a12eed901e">gcp::Operation</a>.</p> </div> </div> <a class="anchor" id="a50475f9addf33577065aabfe008c4abb"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void gcp::DeleteOperation::Undo </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Undo the deletions represented by this operation. </p> <p>Implements <a class="el" href="classgcp_1_1Operation.html#a28f5207dfb9c9f0f586f98d687f12600">gcp::Operation</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="operation_8h_source.html">operation.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu May 8 2014 09:55:05 for The Gnome Chemistry Utils by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.6 </small></address> </body> </html>