NAME
Finnigan::MethodFile -- a decoder for the outer MethodFile container
SYNOPSIS
use Finnigan;
my $mf = Finnigan::MethodFile->decode(\*INPUT);
say $mf->header->version;
say $mf->container->size;
my $dirent = $mf->container->find($path);
DESCRIPTION
This object decodes the outer container for a Windows OLE2 directory which in turn contains a set of method files for various instruments, both in binary and text representations.
The outer container also contains a name translation table mapping the names of the instruments into the names used inside the method files.
METHODS
- decode($stream)
-
The constructor method
- header
-
Get the Finnigan::FileHeader object attached to the method file
- n
-
Get the number of entries in the name translation table
- translation_table
-
Get the name translation table
- instrument_name($i)
-
Get the translation at index $i in the name translation table
- file_size
-
Get the size of the Finnigan::OLE2File container
- container
-
Get the Finnigan::OLE2File object
SEE ALSO
Finnigan::OLE2File
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.