/doc/lfun/SetProperties


LFUN

mapping SetProperties (mapping props)

DESCRIPTION

Set all properties of an object.

Arguments
props: A mapping indexed by the property names, with the intended property values as data.

Result
A mapping of the data actually set.

The functions merely does a Set() call for each entry in the <props> mapping, thus properly regarding hard- and softcoded properties.

Properties not mentioned in <props> are not changed.

EXAMPLE

  obj2->SetProperties(obj->QueryProperties())
    /* copies all properties from <obj> to <obj2>. */

IMPLEMENTED

/std/base

SEE ALSO

properties

| Home | Applied | Concepts | Efuns | Help | Intro | Lfuns | Lib | LPC | Prop | Obj | Sefuns | Std | W |

Nightfall@quest.tat.physik.uni-tuebingen.de
Automatically generated on Mon, Jul 22, 1996