line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
10
|
use Opendata::GTFS::Standard; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
17
|
|
2
|
2
|
|
|
2
|
|
2569
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
52
|
|
3
|
2
|
|
|
2
|
|
9
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
61
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# PODNAME: Opendata::GTFS::Type::StopTime |
6
|
|
|
|
|
|
|
# ABSTRACT: Stop time |
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
2921
|
class Opendata::GTFS::Type::StopTime using Moose { |
|
2
|
|
|
2
|
|
58
|
|
|
2
|
|
|
2
|
|
13
|
|
|
2
|
|
|
|
|
10
|
|
|
2
|
|
|
|
|
122
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
31
|
|
|
2
|
|
|
|
|
487
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
106
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
100
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
171
|
|
|
2
|
|
|
|
|
65
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
5854
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
9876
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
17
|
|
|
2
|
|
|
|
|
6043
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
22
|
|
|
2
|
|
|
|
|
140
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
385
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
1865
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
8671
|
|
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
84
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
63
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
98
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
277
|
|
|
2
|
|
|
|
|
16
|
|
|
2
|
|
|
|
|
27361
|
|
|
2
|
|
|
|
|
48
|
|
|
2
|
|
|
|
|
3340
|
|
9
|
|
|
|
|
|
|
|
10
|
2
|
|
|
|
|
24
|
our $VERSION = '0.0103'; # 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
|
|
|
|
|
16
|
for (my $i = 0; $i < $#columns; $i += 2) { |
25
|
18
|
|
|
|
|
27005
|
my $required = $columns[$i]; |
26
|
18
|
|
|
|
|
27
|
my $column = $columns[$i + 1]; |
27
|
|
|
|
|
|
|
|
28
|
18
|
100
|
|
|
|
70
|
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.0103, released 2015-02-21. |
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 |