The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Finnigan::GenericDataDescriptor -- a decoder for GenericDataDescriptor, a key to decoding GenericRecord fields

SYNOPSIS

  use Finnigan;
  my $d = Finnigan::GenericDataDescriptor->decode(\*INPUT);
  say d->type;
  say d->label;

DESCRIPTION

GenericDataDescriptor stores information about the type, size and name of a data element in a generic data record.

METHODS

decode($stream)

The constructor method

type

Get the element type (see Known data types)

length

Get the size of the element represented by this descriptor

label

Get the element's label. It is the same label that Thermo uses in their GUI, such as Xcalibur.

definition

Returns an appropriate decoder template based on descriptor type

stringify

Make a short string representation of the descriptor

SEE ALSO

Finnigan::GenericDataHeader

Finnigan::GenericRecord

AUTHOR

Gene Selkov, <selkovjr@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2010 by Gene Selkov

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.