<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html lang="en"> <head> <meta content="en-us" http-equiv="Content-Language"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <title>C/C++ search</title> <link href="../help.css" type="text/css" rel="stylesheet"> </head> <body> <h1>C/C++ search</h1> <p><img alt="Search Dialog Box" src="../images/search.png"></p> <p> </p> <dt>Search string</dt> <dd>Specifies a search string.</dd> <dd>The search functions support the following wildcards:</dd> <ul> <dd><li>Use * to represent any series of characters</li> </dd> <dd><li>Use ? to represent any single character</li> </dd> <dd><li>Use \* to find an asterisk character (*)</li> </dd> </ul> <dt>Case sensitive</dt> <dd>Searches will return results which match capitalization specified in the search string precisely.<br> </dd> <br> <dt>Search for</dt> <dd>Specify the types of elements to include in the search:</dd> <dd><br> </dd> <dd> <table cellspacing="0" border="1"> <tbody> <tr> <th>Search for</th> <th>Description</th> </tr> <tr> <td><b>Class/Struct</b></td> <td>Includes classes and structs in your search.</td> </tr> <tr> <td><b>Function</b></td> <td>Searches for global functions or functions in a namespace (functions that are not members of a class, struct, or union).</td> </tr> <tr> <td><b>Variable</b></td> <td>Searches for variables that are not members of a class, struct, or union.</td> </tr> <tr> <td><b>Union</b></td> <td>Searches for unions.</td> </tr> <tr> <td><b>Method</b></td> <td>Searches for methods that are members of a class, struct, or union.</td> </tr> <tr> <td><b>Field</b></td> <td>Searches for fields that are members of a class, struct, or union.</td> </tr> <tr> <td><b>Enumeration</b></td> <td>Searches for enumerations.</td> </tr> <tr> <td><b>Enumerator</b></td> <td>Searches for enumerators.</td> </tr> <tr> <td><b>Namespace</b></td> <td>Searches for namespaces.</td> </tr> <tr> <td style="vertical-align: top;"><span style="font-weight: bold;">Typedef</span><br> </td> <td style="vertical-align: top;">Searches for typedef.<br> </td> </tr> <tr> <td style="vertical-align: top;"><span style="font-weight: bold;">Macro</span><br> </td> <td style="vertical-align: top;">Searches for macro.<br> </td> </tr> <tr> <td><b>Any Element</b></td> <td>Includes all elements in the search.</td> </tr> </tbody> </table> </dd> <br> <dt>Limit to</dt> <dd>Specify the types of context to search:</dd> <dd><br> </dd> <dd> <table cellspacing="0" border="1"> <tbody> <tr> <th>Limit to</th> <th>Description</th> </tr> <tr> <td><b>Declarations</b></td> <td>Limits the search to declarations.</td> </tr> <tr> <td><b>Definitions</b></td> <td>Limits the search to definitions (for functions, methods, variables, and fields).</td> </tr> <tr> <td><b>References</b></td> <td>Limits the search to references.</td> </tr> <tr> <td><b>All Occurrences</b></td> <td>Includes declarations, definitions, and references in the search.</td> </tr> </tbody> </table> </dd> <br> <dt>Scope</dt> <dd>Choose the scope of the search:</dd> <dd><br> </dd> <dd> <table cellspacing="0" border="1"> <tbody> <tr> <th>Scope</th> <th>Availability</th> <th>Description</th> </tr> <tr> <td><b>Workspace</b></td> <td>all elements</td> <td>Searches in the full workspace</td> </tr> <tr> <td><b>Selected Resources</b></td> <td>all elements</td> <td>Searches the resources selected in the <b>Projects</b> view</td> </tr> <tr> <td style="vertical-align: top;"><span style="font-weight: bold;">Enclosing Projects</span><br> </td> <td style="vertical-align: top;">all elements<br> </td> <td style="vertical-align: top;">Searches in the enclosing projects (plus the include paths) of the selected resource <br> </td> </tr> <tr> <td><b>Workings Set</b></td> <td>all elements</td> <td>Searches in a working set</td> </tr> </tbody> </table> </dd> <br> <dd>Working sets can be created and used from within the search dialog.</dd> <p><img height="21" width="143" alt="Related concepts" src="../images/ngconcepts.gif" border="0"> <br> <a href="../concepts/cdt_o_code_entry.htm">Coding aids</a><br> <a href="../concepts/cdt_c_search.htm">C/C++ search</a></p> <p><img height="21" width="143" alt="Related tasks" src="../images/ngtasks.gif" border="0"> <br> <a href="../tasks/cdt_t_search.htm">Searching for C/C++ elements</a><br> <a href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++ editor</a></p> <p><img height="21" width="143" alt="Related reference" src="../images/ngref.gif" border="0"> <br> <a href="cdt_o_ceditor_pref.htm">C/C++ editor preferences</a><br> <a href="cdt_u_m_search.htm">Search action</a><br> <a href="cdt_u_search_view.htm">Search view</a></p> <p> <img alt="Red Hat Copyright Statement" src="../images/rh03_04.gif"> <br> <img alt="IBM Copyright Statement" src="../images/ng00_04a.gif"> </p> </body> </html>