Class Explorer (C++)

From Appmethod Topics
Jump to: navigation, search

Go Up to Tools Options Dialog Box

Tools > Options > C++ Options > Class Explorer

You can also invoke this dialog box using the Properties command on context menu of C++ Class Explorer Window.

Use this page to enable options for the C++ Class Explorer.

Note: By default, the C++ compiler passes only #includes and #defines for each .cpp file.

Item Description

Enable Precompiled Headers

Processes precompiled headers (pch.h) when a project is opened. Using precompiled headers can potentially reduce compilation time. Default is on.

Display compiler messages in the 'Messages View'

Displays messages in the Messages view when the C++ compiler emits messages during a Class Explorer session. Default is off.

Custom

Enter bcc32 compiler command-line options in the text box. Punctuate command options just as you would for bcc32. For example, you separate options with spaces. Default is off.

Show Enumerations

Allows you to choose whether enumerations appear in the top-level view. Default is off.

Show Typedefs

Allows you to choose whether typedefs appear in the top-level view. Default is off.

Show pure abstract classes as Interfaces

If all functions in a class or struct are pure virtual and the class or struct contains no data member, the class is represented as an Interface in the Class Explorer. Otherwise, it is represented as a class. Default is on.

Interfaces must derive from IUnknown

In addition to the previous requirement (that a class must contain only pure virtual methods), a class must derive from IUnknown in order to be represented as an Interface in the Class Explorer. Otherwise, it is represented as a class. This option is useful if you are using ActiveX/COM, where interfaces derive from IUnknown. Default is off.

Case Insensitive Search

Enables searching in the Class Explorer without regard for uppercase/lowercase. Default is off.

Allow wildcard (?*)

Enables you to use the standard DOS wildcard characters ? and * when searching in the C++ Class Explorer:

  •  ? matches any single character.
  • * matches any number of characters.

Default is off.

See Also