DATASERV (kappserv) functions


LIBRARY ROUTINE

kpds_copy_object - copy all data and attributes from one object to another.

LIBRARY CALL

int kpds_copy_object(
   kobject source_object,
   kobject destination_object)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

kpds_copy_object copies all physical & presentation attributes and all data from the source_object to the destination_object. This means that all the attributes and data (not just those that are part of the polymorphic data model) are copied. For example, the source object may contain data and attributes that one of the other services (geometry, numerical, etc.) uses. These will also be copied.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DATASERV/include/kappserv/kpolymorphic.h

SEE ALSO

kappserv(3)

COPYRIGHT

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