NAME
Clownfish::Type::Primitive - Abstract base class for primitive types.
DESCRIPTION
Clownfish::Type::Primitive serves as a common parent class for primitive types including Clownfish::Type::Integer and Clownfish::Type::Float.
METHODS
new
my $type = MyPrimitiveType->new(
const => 1, # default: undef
specifier => 'char', # default: undef
c_string => 'char', # default: undef
);
Abstract constructor. See Clownfish::Type for parameter definitions.
COPYRIGHT AND LICENSE
Copyright 2008-2011 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.