The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Boilerplater::Type::Primitive - Abstract base class for primitive types.

DESCRIPTION

Boilerplater::Type::Primitive serves as a common parent class for primitive types including Boilerplater::Type::Integer and Boilerplater::Type::Float.

METHODS

new

    my $type = MyPrimitiveType->new(
        const     => 1,       # default: undef
        specifier => 'char',  # default: undef
        c_string  => 'char',  # default: undef
    );

Abstract constructor. See Boilerplater::Type for parameter definitions.

COPYRIGHT AND LICENSE

Copyright 2008-2009 Marvin Humphrey

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.