line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finnigan::CASInfo; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
12
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
70
|
|
4
|
2
|
|
|
2
|
|
12
|
use warnings FATAL => qw( all ); |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
87
|
|
5
|
|
|
|
|
|
|
our $VERSION = 0.0206; |
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
10
|
use Finnigan; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
43
|
|
8
|
2
|
|
|
2
|
|
10
|
use base 'Finnigan::Decoder'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
369
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub decode { |
11
|
1
|
|
|
1
|
1
|
3
|
my ($class, $stream) = @_; |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
5
|
my $fields = [ |
14
|
|
|
|
|
|
|
preamble => ['object', 'Finnigan::CASInfoPreamble'], |
15
|
|
|
|
|
|
|
text => ['varstr', 'PascalStringWin32'], |
16
|
|
|
|
|
|
|
]; |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
|
|
7
|
my $self = Finnigan::Decoder->read($stream, $fields); |
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
|
|
6
|
return bless $self, $class; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub preamble { |
24
|
1
|
|
|
1
|
1
|
3
|
my ( $self ) = @_; |
25
|
1
|
|
|
|
|
8
|
$self->{data}->{preamble}->{value}; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
__END__ |