line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::Coordinate::MapperI; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:BIOPERLML'; |
3
|
|
|
|
|
|
|
$Bio::Coordinate::MapperI::VERSION = '1.007001'; |
4
|
3
|
|
|
3
|
|
1302
|
use utf8; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
19
|
|
5
|
3
|
|
|
3
|
|
84
|
use strict; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
47
|
|
6
|
3
|
|
|
3
|
|
9
|
use warnings; |
|
3
|
|
|
|
|
2
|
|
|
3
|
|
|
|
|
77
|
|
7
|
3
|
|
|
3
|
|
10
|
use parent qw(Bio::Root::RootI); |
|
3
|
|
|
|
|
42
|
|
|
3
|
|
|
|
|
19
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# ABSTRACT: Interface describing coordinate mappers. |
10
|
|
|
|
|
|
|
# AUTHOR: Heikki Lehvaslaiho |
11
|
|
|
|
|
|
|
# OWNER: Heikki Lehvaslaiho |
12
|
|
|
|
|
|
|
# LICENSE: Perl_5 |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub in { |
17
|
0
|
|
|
0
|
1
|
0
|
my ($self,$value) = @_; |
18
|
|
|
|
|
|
|
|
19
|
0
|
|
|
|
|
0
|
$self->throw_not_implemented(); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub out { |
25
|
0
|
|
|
0
|
1
|
0
|
my ($self,$value) = @_; |
26
|
|
|
|
|
|
|
|
27
|
0
|
|
|
|
|
0
|
$self->throw_not_implemented(); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub swap { |
32
|
0
|
|
|
0
|
1
|
0
|
my ($self) = @_; |
33
|
|
|
|
|
|
|
|
34
|
0
|
|
|
|
|
0
|
$self->throw_not_implemented(); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
sub test { |
40
|
0
|
|
|
0
|
1
|
0
|
my ($self) = @_; |
41
|
|
|
|
|
|
|
|
42
|
0
|
|
|
|
|
0
|
$self->throw_not_implemented(); |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
sub map { |
47
|
0
|
|
|
0
|
1
|
0
|
my ($self,$value) = @_; |
48
|
|
|
|
|
|
|
|
49
|
0
|
|
|
|
|
0
|
$self->throw_not_implemented(); |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
sub return_match { |
55
|
3
|
|
|
3
|
1
|
1346
|
my ($self,$value) = @_; |
56
|
3
|
100
|
|
|
|
9
|
if( defined $value) { |
57
|
|
|
|
|
|
|
$value ? ( $self->{'_return_match'} = 1 ) : |
58
|
2
|
50
|
|
|
|
6
|
( $self->{'_return_match'} = 0 ); |
59
|
|
|
|
|
|
|
} |
60
|
3
|
|
50
|
|
|
14
|
return $self->{'_return_match'} || 0 ; |
61
|
|
|
|
|
|
|
} |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
1; |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
__END__ |