KCMS CMM Developer's Guide

Getting Attributes

Once a profile is loaded (see "Loading a Profile" ), an application can call the KcsGetAttribute() "C" API function to retrieve the profile's attributes. The following outlines the flow of control at the framework level to obtain the profile's attributes (see Figure 3-2):

  1. For the appropriate object in the KcsProfile object array, the framework calls its getAttribute() method.

  2. The KcsProfile()XXXX::getAttribute ()calls its KcsProfileFormat::getAttribute() method.

  3. This in turn calls its KcsAttributeSet::getAttribute() method.

  4. The KcsAttributeSet::getAttribute() method gets the attribute and returns it back up the chain to the API layer.

    Figure 3-2 KcsGetAttribute() Flow Example

    Graphic

A similar flow of control is true for the other KCMS "C" API calls.