<!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.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <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 class="tabs"> <ul> <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 class="navpath"><a class="el" href="namespacegcp.html">gcp</a>::<a class="el" href="classgcp_1_1DeleteOperation.html">DeleteOperation</a> </div> </div> <div class="contents"> <h1>gcp::DeleteOperation Class Reference</h1><!-- 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="dynsection"> <div class="center"> <img src="classgcp_1_1DeleteOperation.gif" 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 border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>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"></a><h2>Detailed Description</h2> <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> <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><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pDoc</em> </td><td>a document. </td></tr> <tr><td valign="top"></td><td valign="top"><em>ID</em> </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 size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 6 18:33:54 2009 for The Gnome Chemistry Utils by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>