Kurt Stephens > UMMF > UMMF::Export::Template

Download:
UMMF-1.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.066   Source  

NAME ^

UMMF::Export::Template - A code generator base class using Template Toolkit.

SYNOPSIS ^

  use base qw(UMMF::Export::Template);

DESCRIPTION ^

This package allow UML models to be processed into other forms using a template.

USAGE ^

Need description of template input data structure.

EXPORT ^

None exported.

TO DO ^

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.

AUTHOR ^

Kurt Stephens, kstephens@users.sourceforge.net 2003/05/02

SEE ALSO ^

UMMF::UML::MetaModel

VERSION ^

$Revision: 1.66 $

METHODS ^

template_file

  $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'.

template_config

Returns the Template configuration hash.

template

Returns a cached Template object.

template_vars

Returns the template variables generated by scanning the Model.