IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32340


Ignore:
Timestamp:
Sep 6, 2011, 11:02:58 AM (15 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110710/PS-IPP-Config/lib/PS/IPP/Config.pm

    r30744 r32340  
    4040                    metadataLookupBool
    4141                    metadataLookupS32
     42                    metadataLookupF32
    4243                    caturi
    4344                    file_scheme
     
    15761577}
    15771578
     1579# Lookup the metadata, checking the type is F32
     1580sub metadataLookupF32
     1581{
     1582    my $item = metadataLookup(@_);
     1583    return undef if not defined $item;
     1584    my $name = shift;                # Name of item
     1585    carp "$name within metadata is type $item->{type} not F32.\n" unless $item->{type} eq "F32";
     1586    return $item->{value};
     1587}
     1588
    15781589# Lookup the metadata, checking the type is MD
    15791590sub metadataLookupMD
Note: See TracChangeset for help on using the changeset viewer.