PANDORE Version 6 GREYC-IMAGE

pcolsetobject



Sets Pandore object to collection.



Synopsis

pcolsetobject name [col_in|-] [obj_in|-] [col_out|-]

Description

pcolsetobject adds a Pandore object to the input collection col_in with the specified name.

If the item named name already exists, the value is replaced by the new object.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Adds tangram.pan and parrot.pan to collection col.pan:

   pobject2col foo tangram.pan col.pan
   pcolsetobject bar col.pan parrot.pan col.pan
   pfile col.pan

See also

Collection, pobject2col

C++ prototype

Errc PColSetObject( const Collection &col_in_out , PObject &obj_in, const std::string &name );

Version française

Création d'une collection contenant un objet Pandore.


Author: Alexandre Duret-Lutz