Icon for Dimension.orgIcon for TalentIcon for ToolsIcon for Doorways.org
Icon for ToolsIcon for Perl Tools

DoxyFilt: POD/Item/Head/Head.pm Source File

  • Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List

POD/Item/Head/Head.pm

Go to the documentation of this file.
00001 package Doxygen::POD::Item::Head;
00002 
00003 =head1 NAME
00004 
00005 Doxygen::POD::Item::Head - Perl extension for generating Doxygen documentation
00006 
00007 =head1 SYNOPSIS
00008 
00009     my  $item = new Doxygen::POD::Item::Head;
00010 
00011 =head1 ABSTRACT
00012 
00013 A POD =head block.
00014 
00015 =head1 DESCRIPTION
00016 
00017 =head1 METHODS
00018 
00019 =over
00020 
00021 =cut
00022 
00023 use     5.005;  # just to pick something, but not really tested
00024 use     strict;
00025 use     warnings;
00026 
00027 use     base    qw(Doxygen::POD::Item);
00028 
00029 our $VERSION = '0.01';
00030 
00031 ###########################################################################
00032 ###########################################################################
00033 
00034 =item   C<generate($self, %flags)>
00035 
00036 Generates output understandable by doxygen to standard output.
00037 
00038 =cut
00039 
00040 sub generate
00041 {
00042     my  $self = shift;
00043     my  $lvl  = ($self->{level} || 1) + 1;
00044     my  $head = undef;
00045     
00046     return if $self->{disabled};
00047     
00048     Doxygen::Item::genThing("\n", @_);
00049     
00050     Doxygen::Item::genThing
00051         ("<h$lvl class='POD_head$lvl'>$self->{name}</h$lvl>\n", @_);
00052     
00053     my  %flags = @_;
00054     my  $which = $flags{which} || 'text';
00055     
00056     $flags{which} = $which unless defined $flags{which};
00057         
00058     Doxygen::Item::genThing($_, %flags)
00059         for @{$self->text($which)};
00060 }
00061 
00062 ###########################################################################
00063 ###########################################################################
00064 
00065 1
00066 
00067 __END__
00068 
00069 =back
00070 
00071 =head1 SEE ALSO
00072 
00073 DoxyFilt.pl Doxygen::Item Doxygen::POD::Item
00074 
00075 =head1 AUTHOR
00076 
00077 Marc M. Adkins, L<mailTo:Perl@Doorways.org>
00078 
00079 =head1 COPYRIGHT AND LICENSE
00080 
00081 Copyright 2004 by Marc M. Adkins
00082 
00083 This library is free software; you can redistribute it and/or modify
00084 it under the same terms as Perl itself.
00085 
00086 =cut

Generated on Mon Dec 27 2010 15:15:39 for DoxyFilt by  doxygen 1.7.1

www.dimension.org logo

(C)opyright 1998 - 2012 Dimension.org

WebMaster