| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Biblio::ILL::ISO::ILLServiceTypeSequence; |
|
2
|
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
621
|
use Biblio::ILL::ISO::ILLASNtype; |
|
|
4
|
|
|
|
|
9
|
|
|
|
4
|
|
|
|
|
105
|
|
|
4
|
4
|
|
|
4
|
|
22
|
use Biblio::ILL::ISO::SEQUENCE_OF; |
|
|
4
|
|
|
|
|
8
|
|
|
|
4
|
|
|
|
|
81
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
20
|
use Carp; |
|
|
4
|
|
|
|
|
8
|
|
|
|
4
|
|
|
|
|
347
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
|
9
|
|
|
|
|
|
|
#--------------------------------------------------------------------------- |
|
10
|
|
|
|
|
|
|
# Mods |
|
11
|
|
|
|
|
|
|
# 0.01 - 2003.07.15 - original version |
|
12
|
|
|
|
|
|
|
#--------------------------------------------------------------------------- |
|
13
|
|
|
|
|
|
|
|
|
14
|
4
|
|
|
4
|
|
664
|
BEGIN{@ISA = qw ( Biblio::ILL::ISO::SEQUENCE_OF |
|
15
|
|
|
|
|
|
|
Biblio::ILL::ISO::ILLASNtype );} # inherit from ILLASNtype |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# From the ASN |
|
18
|
|
|
|
|
|
|
# (part of ILL-Request) |
|
19
|
|
|
|
|
|
|
# |
|
20
|
|
|
|
|
|
|
# iLL-service-type [9] IMPLICIT SEQUENCE OF ILL-Service-Type, -- SIZE (1..5) |
|
21
|
|
|
|
|
|
|
# -- this sequence is a list, in order of preference |
|
22
|
|
|
|
|
|
|
# |
|
23
|
|
|
|
|
|
|
# |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
#--------------------------------------------------------------- |
|
26
|
|
|
|
|
|
|
# |
|
27
|
|
|
|
|
|
|
#--------------------------------------------------------------- |
|
28
|
|
|
|
|
|
|
sub from_asn { |
|
29
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
|
30
|
0
|
|
|
|
|
|
my $aref = shift; |
|
31
|
|
|
|
|
|
|
|
|
32
|
0
|
|
|
|
|
|
foreach my $elem (@$aref) { |
|
33
|
|
|
|
|
|
|
#print ref($self) . "...$k\n"; |
|
34
|
|
|
|
|
|
|
|
|
35
|
0
|
|
|
|
|
|
my $objref = new Biblio::ILL::ISO::ILLServiceType(); |
|
36
|
|
|
|
|
|
|
#$objref->from_asn( $aref[$elem] ); |
|
37
|
0
|
|
|
|
|
|
$objref->from_asn( $elem ); |
|
38
|
0
|
|
|
|
|
|
push @{ $self->{"SEQUENCE"} }, $objref; |
|
|
0
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
} |
|
41
|
0
|
|
|
|
|
|
return $self; |
|
42
|
|
|
|
|
|
|
} |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |