AcMapIEExporter::AddClassMapping Method

Land Desktop Development ARX CPP SDK

AcMapIEExporter:: AddClassMapping Method
 

Creates a per-class mapping when exporting multi-classes.

virtual AcMapIE::ErrCode AddClassMapping(
    const AcMapIEExportClassMapping*& mapping
) = 0;
Parameters 
Description 
mapping 
The Class Mapping 
Returns

kErr_OK if successful 

kErr_CannotModifySchema if the datastore does not have that capability 

kErr_Conflict if global mappings have also been set 

kErr_InvalidMapping if the source has already been mapped 

kErr_InvalidDataStore if the target datastore is not supported (FDO)

Remarks

The source type for each mapping is based on the StorageOpts setting: Layers, Object Data, Object Classes, or Link Templates. This mapping can only be used with FDO data stores as the target. If this mapping is set, then any global mappings created by SetLayerLevelMapping() and SetExportDataMappings() are not used. Any new Schema, Class, or Property names which appear in the mapping, but not in an existing datastore will be appended - if the datastore has an append capability.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].