line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
9
|
use Opendata::GTFS::Standard; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
14
|
|
2
|
2
|
|
|
2
|
|
2428
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
80
|
|
3
|
2
|
|
|
2
|
|
9
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
76
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# PODNAME: Opendata::GTFS::Type::StopTime |
6
|
|
|
|
|
|
|
# ABSTRACT: Stop time |
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
3004
|
class Opendata::GTFS::Type::StopTime using Moose { |
|
2
|
|
|
2
|
|
50
|
|
|
2
|
|
|
2
|
|
10
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
123
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
17
|
|
|
2
|
|
|
|
|
486
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
106
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
83
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
189
|
|
|
2
|
|
|
|
|
86
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
6225
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
10176
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
22
|
|
|
2
|
|
|
|
|
6225
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
20
|
|
|
2
|
|
|
|
|
147
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
437
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
20
|
|
|
2
|
|
|
|
|
1789
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
9123
|
|
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
71
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
62
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
101
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
272
|
|
|
2
|
|
|
|
|
16
|
|
|
2
|
|
|
|
|
27963
|
|
|
2
|
|
|
|
|
35
|
|
|
2
|
|
|
|
|
3601
|
|
9
|
|
|
|
|
|
|
|
10
|
2
|
|
|
|
|
24
|
our $VERSION = '0.0102'; # VERSION |
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
|
|
7
|
my @columns = qw/ |
13
|
|
|
|
|
|
|
1 trip_id |
14
|
|
|
|
|
|
|
1 arrival_time |
15
|
|
|
|
|
|
|
1 departure_time |
16
|
|
|
|
|
|
|
1 stop_id |
17
|
|
|
|
|
|
|
1 stop_sequence |
18
|
|
|
|
|
|
|
0 stop_headsign |
19
|
|
|
|
|
|
|
0 pickup_type |
20
|
|
|
|
|
|
|
0 drop_off_type |
21
|
|
|
|
|
|
|
0 shape_dist_traveled |
22
|
|
|
|
|
|
|
/; |
23
|
|
|
|
|
|
|
|
24
|
2
|
|
|
|
|
19
|
for (my $i = 0; $i < $#columns; $i += 2) { |
25
|
18
|
|
|
|
|
27073
|
my $required = $columns[$i]; |
26
|
18
|
|
|
|
|
33
|
my $column = $columns[$i + 1]; |
27
|
|
|
|
|
|
|
|
28
|
18
|
100
|
|
|
|
54
|
has $column => ( |
29
|
|
|
|
|
|
|
is => 'ro', |
30
|
|
|
|
|
|
|
isa => ($required ? Str : Maybe[Str]), |
31
|
|
|
|
|
|
|
); |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__END__ |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=pod |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=encoding utf-8 |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 NAME |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Opendata::GTFS::Type::StopTime - Stop time |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 VERSION |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Version 0.0102, released 2015-02-19. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 arrival_time |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=begin HTML |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
61
|
|
|
|
|
|
|
<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> |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
</td> |
64
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
65
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
66
|
|
|
|
|
|
|
</table> |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
<p></p> |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=end HTML |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 departure_time |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=begin HTML |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
77
|
|
|
|
|
|
|
<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> |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
</td> |
80
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
81
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
82
|
|
|
|
|
|
|
</table> |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
<p></p> |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=end HTML |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head2 drop_off_type |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=begin HTML |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
93
|
|
|
|
|
|
|
<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> |
94
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
95
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
96
|
|
|
|
|
|
|
</table> |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
<p></p> |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=end HTML |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head2 pickup_type |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=begin HTML |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
107
|
|
|
|
|
|
|
<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> |
108
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
109
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
110
|
|
|
|
|
|
|
</table> |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
<p></p> |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=end HTML |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=head2 shape_dist_traveled |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=begin HTML |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
121
|
|
|
|
|
|
|
<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> |
122
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
123
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
124
|
|
|
|
|
|
|
</table> |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
<p></p> |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=end HTML |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head2 stop_headsign |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=begin HTML |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
135
|
|
|
|
|
|
|
<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> |
136
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
137
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
138
|
|
|
|
|
|
|
</table> |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
<p></p> |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=end HTML |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=head2 stop_id |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=begin HTML |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
149
|
|
|
|
|
|
|
<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> |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
</td> |
152
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
153
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
154
|
|
|
|
|
|
|
</table> |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
<p></p> |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=end HTML |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=head2 stop_sequence |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=begin HTML |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
165
|
|
|
|
|
|
|
<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> |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
</td> |
168
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
169
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
170
|
|
|
|
|
|
|
</table> |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
<p></p> |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=end HTML |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
=head2 trip_id |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=begin HTML |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
181
|
|
|
|
|
|
|
<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> |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
</td> |
184
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
185
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
186
|
|
|
|
|
|
|
</table> |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
<p></p> |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
=end HTML |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=head1 SOURCE |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Opendata-GTFS-Feed> |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
=head1 HOMEPAGE |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
L<https://metacpan.org/release/Opendata-GTFS-Feed> |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=head1 AUTHOR |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>. |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
209
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
=cut |