line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
8
|
use Opendata::GTFS::Standard; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
15
|
|
2
|
2
|
|
|
2
|
|
2720
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
79
|
|
3
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
77
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# PODNAME: Opendata::GTFS::Type::Transfer |
6
|
|
|
|
|
|
|
# ABSTRACT: Transfer |
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
3070
|
class Opendata::GTFS::Type::Transfer using Moose { |
|
2
|
|
|
2
|
|
64
|
|
|
2
|
|
|
2
|
|
13
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
150
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
20
|
|
|
2
|
|
|
|
|
581
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
99
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
90
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
166
|
|
|
2
|
|
|
|
|
51
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
6297
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
18
|
|
|
2
|
|
|
|
|
10474
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
18
|
|
|
2
|
|
|
|
|
6169
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
23
|
|
|
2
|
|
|
|
|
141
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
402
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
1950
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
8635
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
76
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
70
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
91
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
280
|
|
|
2
|
|
|
|
|
20
|
|
|
2
|
|
|
|
|
28099
|
|
|
2
|
|
|
|
|
65
|
|
|
2
|
|
|
|
|
3812
|
|
9
|
|
|
|
|
|
|
|
10
|
2
|
|
|
|
|
26
|
our $VERSION = '0.0102'; # VERSION |
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
|
|
5
|
my @columns = qw/ |
13
|
|
|
|
|
|
|
1 from_stop_id |
14
|
|
|
|
|
|
|
1 to_stop_id |
15
|
|
|
|
|
|
|
1 transfer_type |
16
|
|
|
|
|
|
|
0 min_transfer_time |
17
|
|
|
|
|
|
|
/; |
18
|
|
|
|
|
|
|
|
19
|
2
|
|
|
|
|
7
|
for (my $i = 0; $i < $#columns; $i += 2) { |
20
|
8
|
|
|
|
|
10714
|
my $required = $columns[$i]; |
21
|
8
|
|
|
|
|
19
|
my $column = $columns[$i + 1]; |
22
|
|
|
|
|
|
|
|
23
|
8
|
100
|
|
|
|
31
|
has $column => ( |
24
|
|
|
|
|
|
|
is => 'ro', |
25
|
|
|
|
|
|
|
isa => ($required ? Str : Maybe[Str]), |
26
|
|
|
|
|
|
|
); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__END__ |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=pod |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=encoding utf-8 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 NAME |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Opendata::GTFS::Type::Transfer - Transfer |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 VERSION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Version 0.0102, released 2015-02-19. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 from_stop_id |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=begin HTML |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
56
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
</td> |
59
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
60
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
61
|
|
|
|
|
|
|
</table> |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
<p></p> |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=end HTML |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 min_transfer_time |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=begin HTML |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
72
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Maybe">Maybe</a> [ <a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> ]</td> |
73
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
74
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
75
|
|
|
|
|
|
|
</table> |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
<p></p> |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=end HTML |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 to_stop_id |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=begin HTML |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
86
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
</td> |
89
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
90
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
91
|
|
|
|
|
|
|
</table> |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
<p></p> |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=end HTML |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 transfer_type |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=begin HTML |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
102
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
</td> |
105
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
106
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
107
|
|
|
|
|
|
|
</table> |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
<p></p> |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=end HTML |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head1 SOURCE |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Opendata-GTFS-Feed> |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=head1 HOMEPAGE |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
L<https://metacpan.org/release/Opendata-GTFS-Feed> |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head1 AUTHOR |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>. |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
130
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=cut |