line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
10
|
use Opendata::GTFS::Standard; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
15
|
|
2
|
2
|
|
|
2
|
|
2570
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
58
|
|
3
|
2
|
|
|
2
|
|
8
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
80
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# PODNAME: Opendata::GTFS::Type::Route |
6
|
|
|
|
|
|
|
# ABSTRACT: Route |
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
3027
|
class Opendata::GTFS::Type::Route using Moose { |
|
2
|
|
|
2
|
|
64
|
|
|
2
|
|
|
2
|
|
11
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
118
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
16
|
|
|
2
|
|
|
|
|
494
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
150
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
120
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
165
|
|
|
2
|
|
|
|
|
60
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
6343
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
16
|
|
|
2
|
|
|
|
|
10047
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
17
|
|
|
2
|
|
|
|
|
6281
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
19
|
|
|
2
|
|
|
|
|
128
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
375
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
16
|
|
|
2
|
|
|
|
|
1955
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
9248
|
|
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
77
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
54
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
105
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
387
|
|
|
2
|
|
|
|
|
17
|
|
|
2
|
|
|
|
|
28280
|
|
|
2
|
|
|
|
|
37
|
|
|
2
|
|
|
|
|
3480
|
|
9
|
|
|
|
|
|
|
|
10
|
2
|
|
|
|
|
23
|
our $VERSION = '0.0104'; # 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
|
|
|
|
|
27633
|
my $required = $columns[$i]; |
26
|
18
|
|
|
|
|
33
|
my $column = $columns[$i + 1]; |
27
|
|
|
|
|
|
|
|
28
|
18
|
100
|
|
|
|
83
|
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.0104, released 2015-02-22. |
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 |