DATASERV (kappserv) functions


LIBRARY ROUTINE

kpds_copy_location_attr - copy all location attributes from one object to another object.

LIBRARY CALL

int kpds_copy_location_attr(
   kobject object1,
   kobject object2)

INPUT

none

OUTPUT

none

RETURN VALUE

TRUE if copy was successful, FALSE otherwise

DESCRIPTION

This function copies all the location attributes from one object to another object.

If the destination object does not contain a location segment, then this function will create a location segment, and initialize its size and data type attributes to those in the source object. If the location data already exists in the destination object, then the presentation attributes will be set to the source object's settings.

The destination's physical attributes will change depending on the coupling of the data objects. If the destination is coupled, then the physical attributes will be changed as well. Any data contained in the destination will be cast, rescaled, or resized to match its new physical attributes.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DATASERV/objects/library/kappserv/src/pds_location.c

SEE ALSO

kappserv(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.