Interface Template
List of: Types
Contents: Online Help Guide

<NAME> The Name title is a case sensitive string used to identify the C++ interface class, called simply interfaces. Interfaces are used in conjunction with C++ coclasses, called simply objects.


Interfaces are used for object communication. Interfaces are the services. Objects don't care about other objects, but rather they care about the services. Interfaces are pure abstract base classes. They provide the definition of the interface only.

Purpose: The Purpose field summarizes the intended purpose of the interface class.

Derivation: The Derivation field specifies the derivation of the interface class. The class described by the template is always listed on the left, followed by its parent, grandparent, etc. The last class in the list is always a base class, indicated by a trailing hyphen (-). Classes with no parents (base classes) show only the class name and a trailing hyphen (-).

GUID: The GUID field specifies the Globally Unique Identifier for the interface class. This is a long hexidecimal number that uniquely identifies the interface to the operating system. This is used in Microsoft COM to provide the handle to this interface class.

Filename: The Filename field specifies the name of the header file, including the directory path, containing the prototype of the class. To use this class, applications should include this header file. The first element of the file path is the component's top-level installation directory.

Description: The Description field describes the class, its use, and its structure. This field may provide other general information that applies to the entire class.

Coclasses: The Coclasses field lists the coclasses that reference this interface class. The interface classes define the services that are available to coclass objects and specify the manner in which those services are accessed.

Methods: The Methods field alphabetically lists the interface class methods (member functions). The interface defines the services that are available to a coclass object, while the interface methods specify the manner in which those services are accessed.
PDF/HELP/06TYPE.PDF
HTM/DATA/ACIS/HELP/06TYPE/0006.HTM