<!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"/> <title>The Gnome Chemistry Utils: gcp::DeleteOperation Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <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.13.5</span></div> </td> </tr> </tbody> </table> </div> <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> <li><a href="dirs.html"><span>Directories</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> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">gcp::DeleteOperation Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="gcp::DeleteOperation" --><!-- doxytag: inherits="gcp::Operation" --> <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> <p><a href="classgcp_1_1DeleteOperation-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><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><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><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> </table> <hr/><a name="details" id="details"></a><h2>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><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a8277405fd29afd041677c2e11bec3a8a"></a><!-- doxytag: member="gcp::DeleteOperation::DeleteOperation" ref="a8277405fd29afd041677c2e11bec3a8a" args="(gcp::Document *pDoc, unsigned long ID)" --> <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><dt><b>Parameters:</b></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> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a73f44294304cdc254798ff628ba2a8ea"></a><!-- doxytag: member="gcp::DeleteOperation::Redo" ref="a73f44294304cdc254798ff628ba2a8ea" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::DeleteOperation::Redo </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></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><!-- doxytag: member="gcp::DeleteOperation::Undo" ref="a50475f9addf33577065aabfe008c4abb" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcp::DeleteOperation::Undo </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></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> <hr class="footer"/><address class="footer"><small>Generated on Fri Nov 11 2011 18:01:07 for The Gnome Chemistry Utils by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>