|  | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 
|  | <html> | 
|  |  | 
|  | <head> | 
|  | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 
|  | <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> | 
|  | <title>Naming Conventions</title> | 
|  | </head> | 
|  |  | 
|  | <body bgcolor="#FFFFFF"> | 
|  |  | 
|  | <h1>C++ API Naming Conventions</h1> | 
|  |  | 
|  | <ul> | 
|  | <li><font size="5">Create...</font><br> | 
|  | <font size="5">--Makes a new object, caller must delete</font> </li> | 
|  | <li><font size="5">Copy...</font><br> | 
|  | <font size="5">-- Copies an existing object, caller must delete</font> </li> | 
|  | <li><font size="5">Orphan...</font><br> | 
|  | <font size="5">-- Abandons an object, caller must delete</font> </li> | 
|  | <li><font size="5">Adopt...</font><br> | 
|  | <font size="5">-- Accepts ownership of an object</font> <br> | 
|  | <font size="5">-- Caller must NOT delete</font> </li> | 
|  | <li><font size="5">Get...</font><br> | 
|  | <font size="5">-- Typically parameters are filled in</font> <br> | 
|  | <font size="5">-- If const pointer returned, lifetime depends on original object</font></li> | 
|  | </ul> | 
|  |  | 
|  | <p><a href="codeConv.html"><font size="3">code conventions</font></a> </p> | 
|  | </body> | 
|  | </html> |