ELF::Extract::Sections::Meta::Types - Generic Type Constraints for E:E:S


ELF-Extract-Sections documentation Contained in the ELF-Extract-Sections distribution.

Index


Code Index:

NAME

Top

ELF::Extract::Sections::Meta::Types - Generic Type Constraints for E:E:S

VERSION

Top

version 0.02071411

Types

Top

FilterField

ENUM: name, offset, size

ElfSection

An object that is a ELF::Extract::Sections::Section

AUTHOR

Top

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

Top


ELF-Extract-Sections documentation Contained in the ELF-Extract-Sections distribution.

use strict;
use warnings;

package ELF::Extract::Sections::Meta::Types;
BEGIN {
  $ELF::Extract::Sections::Meta::Types::VERSION = '0.02071411';
}

# ABSTRACT: Generic Type Constraints for E:E:S

# $Id:$

use MooseX::Types::Moose (':all');
use MooseX::Types -declare => [ 'FilterField', 'ElfSection' ];

subtype FilterField, as enum( [ 'name', 'offset', 'size', ] );

subtype ElfSection, as Object, where { $_->isa('ELF::Extract::Sections::Section') };

1;



__END__