DATASERV (koldgeom) functions
LIBRARY ROUTINE
kgeom_copy_attributes - copy all presentation attributes from one data object to another.
LIBRARY CALL
int kgeom_copy_object_attr(
kobject source_object,
kobject destination_object)
INPUT
none
OUTPUT
none
RETURN VALUE
TRUE (1) on success, FALSE (0) otherwise
DESCRIPTION
kgeom_copy_attributes is part of the Geometry
Data Services. This function copies all
presentation attributes from the source_object
to the destination_object. This means that all
the attributes of the object will be copied not
just those for the value, mask and map data.
For example, the source object may contain
attributes that one of the other services (geometry,
numerical, etc.) use. These will also be copied.
For more information on the behavior of attributes,
please refer to kgeom_sync_object, kgeom_get_attribute
and kgeom_set_attribute.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
Attributes that describe the physical representation
of the data will not change. For example, the
physical size, data type and index order will not
change. The presentation of these attributes, however
will change.
MODIFICATION
none
FILES
$DATASERV/objects/library/koldgeom/src/geometry.c
SEE ALSO
koldgeom(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.