UMMF::Export::Template - A code generator base class using Template Toolkit.
use base qw(UMMF::Export::Template);
This package allow UML models to be processed into other forms using a template.
Need description of template input data structure.
None exported.
This entire class needs to be refactored; it has grown too large and most of the template variables are set up in a redundant manner that is dependent on the underlying meta-model.
I propose that the meta-model be used directly in all templates from now on.
Kurt Stephens, kstephens@users.sourceforge.net 2003/05/02
UMMF::UML::MetaModel
$Revision: 1.66 $
$self->template_file;
Returns the name of the Template to be used.
If $self-{'template_file'}> is not defined, defaults to the file name ref($self) . '.txt'.
$self-
ref($self) . '.txt'
Returns the Template configuration hash.
Returns a cached Template object.
Returns the template variables generated by scanning the Model.
To install UMMF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UMMF
CPAN shell
perl -MCPAN -e shell install UMMF
For more information on module installation, please visit the detailed CPAN module installation guide.