⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 8-hierarchy browser.mht

📁 这是著名的源码浏览工具(不仅仅浏览
💻 MHT
📖 第 1 页 / 共 5 页
字号:
From: <由 Windows Internet Explorer 7 保存>
Subject: Hierarchy Browser
Date: Thu, 15 May 2008 14:47:24 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
	type="text/html";
	boundary="----=_NextPart_000_00B5_01C8B69A.965C2860"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198

This is a multi-part message in MIME format.

------=_NextPart_000_00B5_01C8B69A.965C2860
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://sourcenav.sourceforge.net/online-docs/userguide/clhierbrws.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" =
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD><TITLE>Hierarchy Browser</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3DISO-8859-1">
<META http-equiv=3DContent-Style-Type content=3Dtext/css>
<META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR><LINK=20
href=3D"http://sourcenav.sourceforge.net/online-docs/cygnus2.css" =
type=3Dtext/css=20
charset=3DISO-8859-1 rel=3DSTYLESHEET></HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<TABLE class=3DTABLE cellPadding=3D1 width=3D100 align=3Dcenter =
border=3D0>
  <TBODY>
  <TR>
    <TD align=3Dmiddle>
      <P class=3DGotos><A=20
      =
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/index_ug.h=
tml">Contents</A>=20
      </P></TD>
    <TD align=3Dmiddle>
      <P class=3DGotos><A=20
      =
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/editor.htm=
l">Previous</A></P></TD>
    <TD align=3Dmiddle>
      <P class=3DGotos><A=20
      =
href=3D"http://sourcenav.sourceforge.net/online-docs/userguide/clbrws.htm=
l">Next</A></P></TD></TR></TBODY></TABLE>
<HR align=3Dcenter>
</DIV>
<H1 class=3DChapterTitle><A name=3DpgfId-996755></A><A=20
name=3D"Hierarchy Browser"></A><A name=3Dmarker-1171507></A>Hierarchy=20
Browser&nbsp;&nbsp;<IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/clhierbrws-=
1.gif">=20
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/clhierbrws-=
2.gif">=20
</DIV></H1>
<P class=3DBody><A name=3DpgfId-996757></A><EM =
class=3DEmphasis>Inheritance</EM><A=20
name=3Dmarker-997120></A>, a type of relationship between objects, =
allows one=20
object to share behavior with one or more other objects. Inheritance =
provides a=20
basic mechanism for the reuse of code. Sharing with more than one is =
known as=20
<EM class=3DEmphasis>multiple</EM> <EM =
class=3DItalics>inheritance</EM><A=20
name=3Dmarker-997121></A>.</P>
<P class=3DBody><A name=3DpgfId-1179734></A>The <A =
name=3Dmarker-1171504></A><SPAN=20
class=3DBold>Hierarchy Browser</SPAN> can display the entire class =
hierarchy,=20
including the <A name=3Dmarker-1184040></A>superclasses and <A=20
name=3Dmarker-1184045></A>subclasses of a selected class. This helps you =

understand class hierarchy trees, which in turn helps you to reuse =
existing=20
code.</P>
<P class=3DBody><A name=3DpgfId-1179739></A>A baseclass is a top-level =
class in the=20
class hierarchy. It does not inherit from any other class; other classes =
inherit=20
from it.</P>
<P class=3DBody><A name=3DpgfId-1179740></A>A class <SPAN =
class=3DBold>a</SPAN> is=20
said to be a superclass of class <SPAN class=3DBold>b</SPAN> when class =
<SPAN=20
class=3DBold>b</SPAN> inherits from <SPAN class=3DBold>a</SPAN> or =
another class=20
that inherits from <SPAN class=3DBold>a</SPAN>.</P>
<P class=3DBody><A name=3DpgfId-1179741></A>A class <SPAN =
class=3DBold>a</SPAN> is=20
said to be a subclass of class <SPAN class=3DBold>b</SPAN> when class =
<SPAN=20
class=3DBold>a</SPAN> inherits from <SPAN class=3DBold>b</SPAN> or =
another class=20
that inherits from <SPAN class=3DBold>b</SPAN>.</P>
<P class=3DBody><A name=3DpgfId-1179742></A>If class <SPAN =
class=3DBold>a</SPAN> is a=20
superclass of class <SPAN class=3DBold>b</SPAN>, then class <SPAN=20
class=3DBold>b</SPAN> is a subclass of class <SPAN =
class=3DBold>a</SPAN>.</P>
<H2 class=3DHeading1><A name=3DpgfId-1152137></A><A =
name=3D29822></A>Using the=20
Hierarchy Browser</H2>
<P class=3DBody><A name=3DpgfId-1152139></A>Start the <A=20
name=3Dmarker-1152138></A><SPAN class=3DBold>Hierarchy Browser </SPAN>in =
one of the=20
following ways:</P>
<UL>
  <LI class=3DBullet>
  <P class=3DBody><A name=3DpgfId-1162427></A>from the <SPAN=20
  class=3DBold>Windows</SPAN> menu, select <SPAN class=3DBold>New View =
</SPAN><EM=20
  class=3DArrow>-&gt;</EM> <SPAN class=3DBold>Hierarchy</SPAN>. </P>
  <LI class=3DBullet>
  <P class=3DBody><A name=3DpgfId-1162428></A>click the <SPAN=20
  class=3DBold>Hierarchy</SPAN> toolbar button. </P>
  <LI class=3DBullet>
  <P class=3DBody><A name=3DpgfId-1162431></A>choose the <SPAN=20
  class=3DBold>Hierarchy</SPAN> tab in the <SPAN =
class=3DBold>Editor</SPAN>.=20
  </P></LI></UL>
<P class=3DFigureTitle><A name=3DpgfId-1001340></A><A =
name=3D24371></A><A=20
name=3Dmarker-1042098></A>Hierarchy Browser Window</P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/clhierbrws-=
3.gif">=20
</DIV>
<H3 class=3DHeading2><A name=3DpgfId-1001351></A><A =
name=3Dmarker-1001350></A>Tools=20
Menu</H3>
<P class=3DBody><A name=3DpgfId-1001360></A>The <SPAN =
class=3DBold>Hierarchy</SPAN>=20
menu, accessed from the <SPAN class=3DBold>Tools</SPAN> menu, contains =
the=20
following items, which control how the class hierarchies are =
displayed.</P>
<P class=3DBody><A name=3DpgfId-1001352></A>Show Superclasses<BR>
<P class=3DBodyHang1>Limits the <A name=3Dmarker-1001353></A>hierarchy =
to the=20
superclasses (and their subclasses) of the selected class. </P>
<P class=3DBody><A name=3DpgfId-1001354></A>Show Subclasses<BR>
<P class=3DBodyHang1>Limits the hierarchy to the subclasses of the =
selected class.=20
</P>
<P class=3DBody><A name=3DpgfId-1001355></A>Show All<BR>
<P class=3DBodyHang1>This is the default for this menu.</P>
<P class=3DBody><A name=3DpgfId-1171245></A>Display file names<BR>
<P class=3DBodyHang1>Displays the file names of the superclasses and=20
subclasses.</P>
<H3 class=3DHeading2><A name=3DpgfId-1152151></A><A =
name=3D29305></A>Class/Hierarchy=20
<A name=3Dmarker-1171510></A>Preferences</H3>
<P class=3DBody><A name=3DpgfId-1152152></A>Many of the settings that =
control how=20
the <SPAN class=3DBold>Hierarchy Browser</SPAN> window functions are =
located in=20
the <SPAN class=3DBold>Class/Hierarchy</SPAN> tab of the <SPAN=20
class=3DBold>Preferences</SPAN> dialog. To find this dialog:</P>
<OL>
  <LI class=3DNumbered>
  <P class=3DBody><A name=3DpgfId-1067161></A>In the <SPAN =
class=3DBold>Symbol=20
  Browser</SPAN>, from the <SPAN class=3DBold>File</SPAN> menu, select =
<SPAN=20
  class=3DBold>Project Preferences</SPAN>. In the <SPAN =
class=3DBold>Hierarchy=20
  Browser</SPAN>, from the <SPAN class=3DBold>File</SPAN> menu, select =
<SPAN=20
  class=3DBold>View Preferences</SPAN>. </P>
  <LI class=3DNumberedNext>
  <P class=3DBody><A name=3DpgfId-1067170></A>Choose the <SPAN=20
  class=3DBold>Class/Hierarchy</SPAN> tab. </P></LI></OL>
<P class=3DFigureTitle><A name=3DpgfId-1001264></A><A =
name=3D56758></A>Class/Hierarchy=20
Tab of the Preferences Dialog<A name=3D40031></A> </P>
<DIV><IMG=20
src=3D"http://sourcenav.sourceforge.net/online-docs/userguide/clhierbrws-=
4.gif">=20
</DIV>
<H5 class=3DHeading4><A name=3DpgfId-1001239></A>Class</H5>
<P class=3DBody><A name=3DpgfId-1118698></A>Go To<BR>
<P class=3DBodyHang1>Select <A name=3Dmarker-1179438></A><SPAN=20
class=3DBold>Declaration</SPAN> if you want the <SPAN class=3DBold>Class =

Browser</SPAN> to display the prototype of the function; select <SPAN=20
class=3DBold>Implementation</SPAN> if you want to see the actual =
code.</P>
<P class=3DBody><A name=3DpgfId-1118699></A>Orientation<BR>
<P class=3DBodyHang1>Select <SPAN class=3DBold>Horizontal</SPAN> to have =
the <SPAN=20
class=3DBold>Hierarchy Browser</SPAN> appear below the <SPAN =
class=3DBold>Class=20
Browser</SPAN>; select <SPAN class=3DBold>Vertical</SPAN> to have the =
<SPAN=20

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -