mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Minor edits to page for clarity
This commit is contained in:
parent
a92398bdf6
commit
1d2c6d0f73
1 changed files with 59 additions and 59 deletions
|
@ -40,22 +40,22 @@ For information on working sets, see <strong>Workbench User Guide > Concepts
|
|||
considerations to note when searching for a given element type. You can search
|
||||
for some or all of the element types matching a search string that you
|
||||
specify. If you choose to search for matching elements, all types, macros, and typdefs are included in the search.</p>
|
||||
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="60%">
|
||||
<table border="2" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#AAA" width="60%">
|
||||
<tr>
|
||||
<td width="19%"><strong>Element</strong></td>
|
||||
<td width="81%"><strong>Note</strong></td>
|
||||
<td width="25%"><strong>Element</strong></td>
|
||||
<td width="75%"><strong>Note</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="19%"> Class/Struct</td>
|
||||
<td width="81%">Searches for classes and structs.<p>You can further qualify
|
||||
<td width="25%" valign="top"> Class/Struct</td>
|
||||
<td width="75%">Searches for classes and structs.<p>You can further qualify
|
||||
the search by specifying "class" or "struct" in front of the name
|
||||
that you are
|
||||
searching for. Specifying "class" or "struct" also allows you to
|
||||
search for anonymous classes and structures.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="19%"> Function</td>
|
||||
<td width="81%">Searches for global functions or functions in a namespace
|
||||
<td width="25%" valign="top"> Function</td>
|
||||
<td width="75%">Searches for global functions or functions in a namespace
|
||||
(functions that are not members of a class, struct, or union).<p>You can
|
||||
specify parameters to further qualify your search. When specifying a
|
||||
parameter list, everything between the parentheses should be valid C/C++
|
||||
|
@ -63,37 +63,37 @@ For information on working sets, see <strong>Workbench User Guide > Concepts
|
|||
<p>Do not specify the return type of the function.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="19%"> Variable</td>
|
||||
<td width="81%">Searches for variables that are not members of a class,
|
||||
<td width="25%" valign="top"> Variable</td>
|
||||
<td width="75%">Searches for variables that are not members of a class,
|
||||
struct, or union.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="19%"> Union</td>
|
||||
<td width="81%">Searches for unions.<p>Anonymous unions can be searched for by
|
||||
<td width="25%" valign="top"> Union</td>
|
||||
<td width="75%">Searches for unions.<p>Anonymous unions can be searched for by
|
||||
specifying "union" as the search pattern.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="19%"> Method</td>
|
||||
<td width="81%">Searches for methods that are members of a class, struct, or
|
||||
<td width="25%" valign="top"> Method</td>
|
||||
<td width="75%">Searches for methods that are members of a class, struct, or
|
||||
union.<p>Searching for methods also finds constructors and destructors. See
|
||||
above note for functions.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="19%"> Field </td>
|
||||
<td width="81%">Searches for fields that are members of a class, struct, or
|
||||
<td width="25%" valign="top"> Field </td>
|
||||
<td width="75%">Searches for fields that are members of a class, struct, or
|
||||
union.
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="19%"> Enumeration</td>
|
||||
<td width="81%">Searches for enumerations.</td>
|
||||
<td width="25%" valign="top"> Enumeration</td>
|
||||
<td width="75%">Searches for enumerations.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="19%"> Enumerator</td>
|
||||
<td width="81%">Searches for enumerators.</td>
|
||||
<td width="25%" valign="top"> Enumerator</td>
|
||||
<td width="75%">Searches for enumerators.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="19%"> Namespace</td>
|
||||
<td width="81%">Searches for namespaces.</td>
|
||||
<td width="25%" valign="top"> Namespace</td>
|
||||
<td width="75%">Searches for namespaces.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
@ -117,24 +117,24 @@ is to be searched:</p>
|
|||
|
||||
<h2>Wildcard characters</h2>
|
||||
<p>You can use wildcard characters to further refine your search.</p>
|
||||
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="60%">
|
||||
<table border="2" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#AAA" width="60%">
|
||||
<tr>
|
||||
<td width="49%"><strong>Use this wildcard character</strong></td>
|
||||
<td width="51%"><strong>To search for this</strong></td>
|
||||
<td width="30%" valign="top"><strong>Use this wildcard character</strong></td>
|
||||
<td width="70%"><strong>To search for this</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="49%"> <samp>*</samp></td>
|
||||
<td width="51%">Any string<p><strong>Tip:<br>
|
||||
<td width="30%" valign="top"> <samp>*</samp></td>
|
||||
<td width="70%">Any string<p><strong>Tip:<br>
|
||||
</strong> Use the character sequence <samp>\*</samp> to search for
|
||||
operators that begin with *. See syntax examples in the table below.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="49%"> <samp>?</samp></td>
|
||||
<td width="51%">A single character</td>
|
||||
<td width="30%" valign="top"> <samp>?</samp></td>
|
||||
<td width="70%">A single character</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="49%"> <samp>::</samp></td>
|
||||
<td width="51%">Nested elements</td>
|
||||
<td width="30%" valign="top"> <samp>::</samp></td>
|
||||
<td width="70%">Nested elements</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- no support for function parameters
|
||||
|
@ -147,69 +147,69 @@ the asterisk is interpreted as a pointer rather than a wild card.</p>
|
|||
<h2>Syntax examples</h2>
|
||||
<p>The table below provides syntax examples and an explanation for each example
|
||||
to help you conduct an effective search.</p>
|
||||
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="60%" height="400">
|
||||
<table border="2" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#AAA" width="60%">
|
||||
<tr>
|
||||
<td width="64%" height="16"><strong>Syntax</strong></td>
|
||||
<td width="36%" height="16"><strong>Searches for this</strong></td>
|
||||
<td width="30%"><strong>Syntax</strong></td>
|
||||
<td width="70%"><strong>Searches for this</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="64%" height="17"> <samp>::*::*::A</samp></td>
|
||||
<td width="36%" height="17">A nested element two levels deep</td>
|
||||
<td width="30%"> <samp>::*::*::A</samp></td>
|
||||
<td width="70%">A nested element two levels deep</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="64%" height="32"> <samp>::*::*::A?</samp></td>
|
||||
<td width="36%" height="32">Any two-letter name that begins with A and is two levels
|
||||
<td width="30%"> <samp>::*::*::A?</samp></td>
|
||||
<td width="70%">Any two-letter name that begins with A and is two levels
|
||||
deep</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="64%" height="32"> <samp>::A</samp> </td>
|
||||
<td width="36%" height="32">Searches for A not nested in anything</td>
|
||||
<td width="30%"> <samp>::A</samp> </td>
|
||||
<td width="70%">Searches for A not nested in anything</td>
|
||||
</tr>
|
||||
<!-- no support for function parameters
|
||||
<tr>
|
||||
<td width="64%" height="17"> <samp>*()</samp></td>
|
||||
<td width="36%" height="17">Any function taking no parameters</td>
|
||||
<td width="30%"> <samp>*()</samp></td>
|
||||
<td width="70%">Any function taking no parameters</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="64%" height="32"> <samp>*( A * )</samp> </td>
|
||||
<td width="36%" height="32">Any function taking 1 parameter that is a pointer to type
|
||||
<td width="30%"> <samp>*( A * )</samp> </td>
|
||||
<td width="70%">Any function taking 1 parameter that is a pointer to type
|
||||
A</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="64%" height="33"> <samp>f( int * )</samp></td>
|
||||
<td width="36%" height="33">Will search for function f taking 1 parameter that is an
|
||||
<td width="30%"> <samp>f( int * )</samp></td>
|
||||
<td width="60%">Will search for function f taking 1 parameter that is an
|
||||
int *</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="64%" height="64"> <samp>f( const char [
|
||||
<td width="30%"> <samp>f( const char [
|
||||
], A & )</samp></td>
|
||||
<td width="36%" height="64">Will search for a function f, taking 2 parameters; one is a
|
||||
<td width="60%">Will search for a function f, taking 2 parameters; one is a
|
||||
const char array, the other is a reference to type A</td>
|
||||
</tr>
|
||||
-->
|
||||
<tr>
|
||||
<td width="64%" height="32"> <samp>operator \*</samp></td>
|
||||
<td width="36%" height="32">Finds only operator *</td>
|
||||
<td width="30%"> <samp>operator \*</samp></td>
|
||||
<td width="60%">Finds only operator *</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="64%" height="32"> <samp>operator \*=</samp></td>
|
||||
<td width="36%" height="32">Finds only operator *=</td>
|
||||
<td width="30%"> <samp>operator \*=</samp></td>
|
||||
<td width="60%">Finds only operator *=</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="64%" height="16"> <samp>operator *</samp></td>
|
||||
<td width="36%" height="16">Finds all operators</td>
|
||||
<td width="30%"> <samp>operator *</samp></td>
|
||||
<td width="60%">Finds all operators</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="64%" height="15"> <samp>class</samp></td>
|
||||
<td width="36%" height="15">Searches for anonymous classes</td>
|
||||
<td width="30%"> <samp>class</samp></td>
|
||||
<td width="60%">Searches for anonymous classes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="64%" height="16"> <samp>struct</samp></td>
|
||||
<td width="36%" height="16">Searches for anonymous structs</td>
|
||||
<td width="30%"> <samp>struct</samp></td>
|
||||
<td width="60%">Searches for anonymous structs</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="64%" height="16"> <samp>union</samp></td>
|
||||
<td width="36%" height="16">Searches for anonymous unions</td>
|
||||
<td width="30%"> <samp>union</samp></td>
|
||||
<td width="60%">Searches for anonymous unions</td>
|
||||
</tr>
|
||||
</table>
|
||||
<h2>Search results</h2>
|
||||
|
|
Loading…
Add table
Reference in a new issue