Skip to main content
summaryrefslogtreecommitdiffstats
blob: 21ec42a3b5297daa37832f888c889e6c765bdee4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!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>
<dl>
<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>
&nbsp;</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>
</dl>
<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>

Back to the top