KCMS CMM Developer's Guide

Mandatory

When you derive from a KcsProfileFormat class, the mandatory external entry points are:

extern

long KcsDLOpenPfmtCount; KcsProfileFormat *KcsCreatePfmt(KcsStatus *sStat,

KcsIO *aIO); KcsProfileFormat *KcsCreatePfmtBlnk(KcsStatus *aStat,  	KcsId

aCmmId, KcsVersion aCmmVersion, KcsId aProfId,  	KcsVersion

aProfVersion);

KcsCreatePfmt() creates an instance of a KcsProfileFormat derivative. The derivative is determined by the version information contained within the data represented by aIO. This corresponds to the KcsLoadProfile() call.

KcsCreatePfmtBlnk() creates an instance of a KcsProfileFormat derivative that is determined by aProfId. This creates a blank profile version instance with no objects associated with the returned instance. It initializes the CMM type identifier, the CMM version, and the profile version from aCmmId, aCmmVersion, and aProfVersion, respectively.