include Parameter

Specifies the list of classes for which member lines are to be displayed in a file view.

Scope: View

Syntax

query include 
set include [ClassName] [ClassName] [...] 

Option

ClassName 
Name of a class to be included in the file when it is displayed. A list of class names is separated by blanks.

Description

The include parameter specifies the list of classes for which member lines are to be displayed in the current file view. If the list is empty, all classes are displayed. The list of classes can be overridden by the exclude parameter.

To display all classes in the file view, the set include and set exclude commands without any class list are issued.

You can use the set showcurrent command to override the exclude setting for a line as long as that line is visible in the file view.

Examples

  1. To list classes to be included in the file when it is displayed, type:
    query include 
  2. To define the classes to be included in the file when it is displayed, type:
    set include error comment 

    The ERROR and COMMENT classes are displayed.

API Return Code

-2 
The specified ClassName was not a valid class type. Use the query classes command to see which ClassName is currently defined, or use the set class command to define a new class. Issue the command again using valid ClassName.

exclude Parameter
showcurrent Parameter