PANDORE Version 6 |
GREYC-IMAGE |
pcolprenameitem
Renames item in collection.
Synopsis
pcolrenameitem old_name new_name [col_in|-] [col_out|-]
Description
pcolrenameitem renames the item named old_name
in the input collection col_in to new_name in
the output collection col_out.
Parameters
- old_name is the name of the input item.
It is a string without blank character.
- new_name is the name of the output item.
It is a string without blank character.
Inputs
Outputs
Result
Returns SUCCESS or FAILURE.
Examples
Renames item "foo" by "bar":
pobject2col foo tangram.pan col.pan
pcolrenameitem foo bar col.pan col.pan
pfile col.pan
See also
Collection
C++ prototype
Errc PColRenameItem( Collection &col_in_out, const std::string &old_name, const std::string &new_name );
Version française
Renommage d'un élément dans une collection.
Author: Alexandre Duret-Lutz