1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 7 <title>GetPointer</title> 8 </head> 9 <body> 10 <h1><a href="../../nn/Overview.html">nn</a>::<a href="../../nn/ro/Overview.html">ro</a>::GetPointer Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14template <typename T> 15T GetPointer( 16 const char * name 17); 18</pre> 19 </div> 20 <h2>Template Arguments</h2> 21 <div class="section"> 22 <table class="arguments"> 23 <thead> 24 <tr> 25 <th>Name</th> 26 <td>Description</td> 27 </tr> 28 </thead> 29 <tr> 30 <th><CODE>T</CODE></th> 31 <td>Type of pointer to get.</td> 32 </tr> </table> 33 </div> 34 <h2>Arguments</h2> 35 <div class="section"> 36 <table class="arguments"> 37 <thead> 38 <tr> 39 <td width="15" /> 40 <th>Name</th> 41 <td>Description</td> 42 </tr> 43 </thead> 44 <tr> 45 <td>in</td> 46 <th><CODE>name</CODE></th> 47 <td>Symbol string for the object whose pointer is to be gotten.</td> 48 </tr> </table> 49 </div> 50 <h2>Return Values</h2> 51 <div class="section">Returns a pointer to the object pointed to by the symbol if the symbol specified by <CODE>name</CODE> is found. Returns <code>NULL</code> if the address is not found. </div> 52 <h2>Description</h2> 53 <div class="section"> 54 <p>Searches for a symbol.</p><p>Searchs for the symbol having the specified name from among all modules loaded with <CODE>true</CODE> specified in the <CODE>doRegister</CODE> argument of <a href="../../nn/ro/LoadModule.html"><CODE>LoadModule</CODE></a>, and returns a pointer to that symbol.</p><p>A mangled name must be specified when specifying a <CODE>C++</CODE> symbol. </p><!-- write here --></div> 55 <h2>Revision History</h2> 56 <div class="section"> 57 <dl class="history"> 58 <dt>2011/07/29</dt> 59 <dd>Initial version.<br /> 60 </dd> 61 </dl> 62 </div> 63 <hr><p>CONFIDENTIAL</p></body> 64</html> 65