Class Explorer (C++)

From RAD Studio
Jump to: navigation, search

Go Up to C++ Options

Note: The C++ Class Explorer feature is only supported for the C++ classic compiler.

Tools > Options > Language > C++ Options > Class Explorer

You can also invoke this dialog box using the Properties command on the context menu of the 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. The 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. The default is off.

Custom

Enter command-line options for the C++ compiler in the text box. Punctuate command options just as you would for the command-line interface of the target C++ compiler. For example, you separate options with spaces. The default is off.

Show Enumerations

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

Show Typedefs

Allows you to choose whether typedefs appear in the top-level view. The 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. The 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. The default is off.

Case Insensitive Search

Enables searching in the Class Explorer without regard for uppercase/lowercase. The 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.

The default is off.

See Also