line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
8
|
use Opendata::GTFS::Standard; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
14
|
|
2
|
2
|
|
|
2
|
|
2477
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
49
|
|
3
|
2
|
|
|
2
|
|
8
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
69
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# PODNAME: Opendata::GTFS::Type::Route |
6
|
|
|
|
|
|
|
# ABSTRACT: Route |
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
2971
|
class Opendata::GTFS::Type::Route using Moose { |
|
2
|
|
|
2
|
|
50
|
|
|
2
|
|
|
2
|
|
11
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
122
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
16
|
|
|
2
|
|
|
|
|
496
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
115
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
92
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
152
|
|
|
2
|
|
|
|
|
53
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
11
|
|
|
2
|
|
|
|
|
5978
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
10233
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
17
|
|
|
2
|
|
|
|
|
6171
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
20
|
|
|
2
|
|
|
|
|
143
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
395
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
1832
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
8567
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
77
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
65
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
98
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
304
|
|
|
2
|
|
|
|
|
21
|
|
|
2
|
|
|
|
|
27235
|
|
|
2
|
|
|
|
|
38
|
|
|
2
|
|
|
|
|
3367
|
|
9
|
|
|
|
|
|
|
|
10
|
2
|
|
|
|
|
24
|
our $VERSION = '0.0102'; # VERSION |
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
|
|
7
|
my @columns = qw/ |
13
|
|
|
|
|
|
|
1 route_id |
14
|
|
|
|
|
|
|
0 agency_id |
15
|
|
|
|
|
|
|
0 route_short_name |
16
|
|
|
|
|
|
|
0 route_long_name |
17
|
|
|
|
|
|
|
0 route_desc |
18
|
|
|
|
|
|
|
1 route_type |
19
|
|
|
|
|
|
|
0 route_url |
20
|
|
|
|
|
|
|
0 route_color |
21
|
|
|
|
|
|
|
0 route_text_color |
22
|
|
|
|
|
|
|
/; |
23
|
|
|
|
|
|
|
|
24
|
2
|
|
|
|
|
9
|
for (my $i = 0; $i < $#columns; $i += 2) { |
25
|
18
|
|
|
|
|
27841
|
my $required = $columns[$i]; |
26
|
18
|
|
|
|
|
28
|
my $column = $columns[$i + 1]; |
27
|
|
|
|
|
|
|
|
28
|
18
|
100
|
|
|
|
59
|
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::Route - Route |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 VERSION |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Version 0.0102, released 2015-02-19. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 agency_id |
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#Maybe">Maybe</a> [ <a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> ]</td> |
62
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
63
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
64
|
|
|
|
|
|
|
</table> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
<p></p> |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=end HTML |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head2 route_color |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=begin HTML |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
75
|
|
|
|
|
|
|
<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> |
76
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
77
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
78
|
|
|
|
|
|
|
</table> |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
<p></p> |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=end HTML |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 route_desc |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=begin HTML |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
89
|
|
|
|
|
|
|
<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> |
90
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
91
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
92
|
|
|
|
|
|
|
</table> |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
<p></p> |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=end HTML |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head2 route_id |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=begin HTML |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
103
|
|
|
|
|
|
|
<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> |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
</td> |
106
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
107
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
108
|
|
|
|
|
|
|
</table> |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
<p></p> |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=end HTML |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 route_long_name |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=begin HTML |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
119
|
|
|
|
|
|
|
<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> |
120
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
121
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
122
|
|
|
|
|
|
|
</table> |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
<p></p> |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=end HTML |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=head2 route_short_name |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=begin HTML |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
133
|
|
|
|
|
|
|
<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> |
134
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
135
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
136
|
|
|
|
|
|
|
</table> |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
<p></p> |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=end HTML |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head2 route_text_color |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=begin HTML |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
147
|
|
|
|
|
|
|
<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> |
148
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
149
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
150
|
|
|
|
|
|
|
</table> |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
<p></p> |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=end HTML |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=head2 route_type |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=begin HTML |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
161
|
|
|
|
|
|
|
<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> |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
</td> |
164
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
165
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
166
|
|
|
|
|
|
|
</table> |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
<p></p> |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=end HTML |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=head2 route_url |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=begin HTML |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
177
|
|
|
|
|
|
|
<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> |
178
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
179
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
180
|
|
|
|
|
|
|
</table> |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
<p></p> |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=end HTML |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=head1 SOURCE |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Opendata-GTFS-Feed> |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
=head1 HOMEPAGE |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
L<https://metacpan.org/release/Opendata-GTFS-Feed> |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=head1 AUTHOR |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>. |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
203
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
=cut |