PANDORE Version 6 GREYC-IMAGE

pcol2txt



Converts collection to text file.



Synopsis

pcol2txt [col_in|-] [file_out]

Description

pcol2txt converts the contents of the input collection col_in into a text file. Only numerical values are printed, Pandore object are just listed.

The name of the text file is optional. If it is omitted, the result is printed on the standard output. This operator is a mean to display the contents of a collection.

Notice: Uchar and Char arrays are printed as tiny integer arrays. Therefore, strings (Array:Char) are printed as a sequence of ascii code values (where A = 65, B=66 ...).

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Displays the contents of the collection col.pan:

  pobject2col foo tangram.pan col.pan
  pcolsetvalue foo Float 10.5 col.pan col.pan
  pfile col.pan
  pcol2txt col.pan

See also

Collection, ptxt2col

C++ prototype

Errc PCol2Txt( const Collection &col_in_out, FILE *fd );

Version française

Conversion d'une collection en un fichier texte.


Author: Alexandre Duret-Lutz