Viewing Members Declared in Classes and Interfaces with the C++ Class Explorer

From Appmethod Topics
Jump to: navigation, search

Go Up to C++ Class Explorer Topics

Classes and interfaces appear automatically in the C++ Class Explorer.

To view members of classes and interfaces

  1. In Appmethod C++, open a C++ project that contains a managed unit (paired .cpp/.h files) that defines the classes and interfaces you want to examine.
  2. Click View > C++ Class Explorer.
  3. After the Type List (left-hand pane) is populated, click a class or interface in the tree structure.
  4. View the structure of the project in the three panes as follows:
    • The Type List displays a view of the types or classes in the project. You can group items in the Type List in the following views (using toolbar buttons or context menu commands):
      • File ClExplFile.bmp
      • Namespace GroupTypesByNamespace.bmp
      • Custom group ClExplCustomGroup.bmp
      • Inheritance hierarchy ClExplHierarchy.bmp
    • The Member View displays the members of the class or interface currently selected in the Type List.
    • The Source/References/Graph Window displays:
      • Source tab: The source location of the declaration of the class or interface (read-only mode).
      • References tab: The source line number associated with the following (for the element selected in the Type List):
        • The definition, when available: ClExplGoToDef.png
        • The declaration: ClExplGoToDecl.bmp
        • References: (ClExplReference.bmp)
      • Graph tab: The graphical inheritance relationship between multiple selected classes or interfaces.
The Source/References/Graph Window is read-only mode. To edit the source, right-click the desired item in the Type List, and select either Go to declaration or Go to definition on the context menu.

See Also