|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
|
2 <html lang="en"> |
|
3 <head> |
|
4 <meta content="en-us" http-equiv="Content-Language"> |
|
5 <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> |
|
6 <title>C/C++ search</title> |
|
7 <link href="../help.css" type="text/css" rel="stylesheet"> |
|
8 </head> |
|
9 <body> |
|
10 <h1>C/C++ search</h1> |
|
11 <p><img alt="Search Dialog Box" src="../images/search.png"></p> |
|
12 <p> </p> |
|
13 <dl> |
|
14 <dt>Search string</dt> |
|
15 <dd>Specifies a search string.</dd> |
|
16 <dd>The search functions support the following wildcards:</dd> |
|
17 <ul> |
|
18 <dd><li>Use * to represent any series of characters</li> |
|
19 </dd> |
|
20 <dd><li>Use ? to represent any single character</li> |
|
21 </dd> |
|
22 <dd><li>Use \* to find an asterisk character (*)</li> |
|
23 </dd> |
|
24 </ul> |
|
25 <dt>Case sensitive</dt> |
|
26 <dd>Searches will return results which match capitalization specified |
|
27 in the search string precisely.<br> |
|
28 </dd> |
|
29 <br> |
|
30 <dt>Search for</dt> |
|
31 <dd>Specify the types of elements to include in the search:</dd> |
|
32 <dd><br> |
|
33 </dd> |
|
34 <dd> |
|
35 <table cellspacing="0" border="1"> |
|
36 <tbody> |
|
37 <tr> |
|
38 <th>Search for</th> |
|
39 <th>Description</th> |
|
40 </tr> |
|
41 <tr> |
|
42 <td><b>Class/Struct</b></td> |
|
43 <td>Includes classes and structs in your search.</td> |
|
44 </tr> |
|
45 <tr> |
|
46 <td><b>Function</b></td> |
|
47 <td>Searches for global functions or functions in a namespace |
|
48 (functions that are not members of a class, struct, or union).</td> |
|
49 </tr> |
|
50 <tr> |
|
51 <td><b>Variable</b></td> |
|
52 <td>Searches for variables that are not members of a class, |
|
53 struct, or union.</td> |
|
54 </tr> |
|
55 <tr> |
|
56 <td><b>Union</b></td> |
|
57 <td>Searches for unions.</td> |
|
58 </tr> |
|
59 <tr> |
|
60 <td><b>Method</b></td> |
|
61 <td>Searches for methods that are members of a class, struct, |
|
62 or union.</td> |
|
63 </tr> |
|
64 <tr> |
|
65 <td><b>Field</b></td> |
|
66 <td>Searches for fields that are members of a class, struct, or |
|
67 union.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><b>Enumeration</b></td> |
|
71 <td>Searches for enumerations.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><b>Enumerator</b></td> |
|
75 <td>Searches for enumerators.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><b>Namespace</b></td> |
|
79 <td>Searches for namespaces.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td style="vertical-align: top;"><span |
|
83 style="font-weight: bold;">Typedef</span><br> |
|
84 </td> |
|
85 <td style="vertical-align: top;">Searches for typedef.<br> |
|
86 </td> |
|
87 </tr> |
|
88 <tr> |
|
89 <td style="vertical-align: top;"><span |
|
90 style="font-weight: bold;">Macro</span><br> |
|
91 </td> |
|
92 <td style="vertical-align: top;">Searches for macro.<br> |
|
93 </td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><b>Any Element</b></td> |
|
97 <td>Includes all elements in the search.</td> |
|
98 </tr> |
|
99 </tbody> |
|
100 </table> |
|
101 </dd> |
|
102 <br> |
|
103 <dt>Limit to</dt> |
|
104 <dd>Specify the types of context to search:</dd> |
|
105 <dd><br> |
|
106 </dd> |
|
107 <dd> |
|
108 <table cellspacing="0" border="1"> |
|
109 <tbody> |
|
110 <tr> |
|
111 <th>Limit to</th> |
|
112 <th>Description</th> |
|
113 </tr> |
|
114 <tr> |
|
115 <td><b>Declarations</b></td> |
|
116 <td>Limits the search to declarations.</td> |
|
117 </tr> |
|
118 <tr> |
|
119 <td><b>Definitions</b></td> |
|
120 <td>Limits the search to definitions (for functions, methods, |
|
121 variables, and fields).</td> |
|
122 </tr> |
|
123 <tr> |
|
124 <td><b>References</b></td> |
|
125 <td>Limits the search to references.</td> |
|
126 </tr> |
|
127 <tr> |
|
128 <td><b>All Occurrences</b></td> |
|
129 <td>Includes declarations, definitions, and references in the |
|
130 search.</td> |
|
131 </tr> |
|
132 </tbody> |
|
133 </table> |
|
134 </dd> |
|
135 <br> |
|
136 <dt>Scope</dt> |
|
137 <dd>Choose the scope of the search:</dd> |
|
138 <dd><br> |
|
139 </dd> |
|
140 <dd> |
|
141 <table cellspacing="0" border="1"> |
|
142 <tbody> |
|
143 <tr> |
|
144 <th>Scope</th> |
|
145 <th>Availability</th> |
|
146 <th>Description</th> |
|
147 </tr> |
|
148 <tr> |
|
149 <td><b>Workspace</b></td> |
|
150 <td>all elements</td> |
|
151 <td>Searches in the full workspace</td> |
|
152 </tr> |
|
153 <tr> |
|
154 <td><b>Selected Resources</b></td> |
|
155 <td>all elements</td> |
|
156 <td>Searches the resources selected in the <b>Projects</b> view</td> |
|
157 </tr> |
|
158 <tr> |
|
159 <td style="vertical-align: top;"><span |
|
160 style="font-weight: bold;">Enclosing Projects</span><br> |
|
161 </td> |
|
162 <td style="vertical-align: top;">all elements<br> |
|
163 </td> |
|
164 <td style="vertical-align: top;">Searches in the enclosing |
|
165 projects (plus the include paths) of the selected resource <br> |
|
166 </td> |
|
167 </tr> |
|
168 <tr> |
|
169 <td><b>Workings Set</b></td> |
|
170 <td>all elements</td> |
|
171 <td>Searches in a working set</td> |
|
172 </tr> |
|
173 </tbody> |
|
174 </table> |
|
175 </dd> |
|
176 <br> |
|
177 <dd>Working sets can be created and used from within the search dialog.</dd> |
|
178 </dl> |
|
179 <p><img height="21" width="143" alt="Related concepts" |
|
180 src="../images/ngconcepts.gif" border="0"> <br> |
|
181 <a href="../concepts/cdt_o_code_entry.htm">Coding aids</a><br> |
|
182 <a href="../concepts/cdt_c_search.htm">C/C++ search</a></p> |
|
183 <p><img height="21" width="143" alt="Related tasks" |
|
184 src="../images/ngtasks.gif" border="0"> <br> |
|
185 <a href="../tasks/cdt_t_search.htm">Searching for C/C++ elements</a><br> |
|
186 <a href="../tasks/cdt_t_cust_cpp_editor.htm">Customizing the C/C++ |
|
187 editor</a></p> |
|
188 <p><img height="21" width="143" alt="Related reference" |
|
189 src="../images/ngref.gif" border="0"> |
|
190 <br> |
|
191 <a href="cdt_o_ceditor_pref.htm">C/C++ editor preferences</a><br> |
|
192 <a href="cdt_u_m_search.htm">Search action</a><br> |
|
193 <a href="cdt_u_search_view.htm">Search view</a></p> |
|
194 <p> |
|
195 <img alt="Red Hat Copyright Statement" src="../images/rh03_04.gif"> <br> |
|
196 <img alt="IBM Copyright Statement" src="../images/ng00_04a.gif"> </p> |
|
197 </body> |
|
198 </html> |