PlantUMLFrontend

Frontend for PlantUML generator.

TODO implement --in=... for multi-file handling

class PlantUMLFrontend : Controller , Parameters , Products {
auto fileExt;
auto inclExt;
FileNames input_files;
DirName output_dir;
FileName file_classes;
FileName file_components;
FileName file_style;
FileName file_style_output;
FilePrefix file_prefix;
Flag!"genClassMethod" gen_class_method;
Flag!"genClassParamDependency" gen_class_param_dep;
Flag!"genClassInheritDependency" gen_class_inherit_dep;
Flag!"genClassMemberDependency" gen_class_member_dep;
Flag!"doStyleIncl" do_style_incl;
Flag!"doGenDot" do_gen_dot;
Flag!"doComponentByFile" do_comp_by_file;
Regex!char[] exclude;
Regex!char[] restrict;
Regex!char comp_strip;
}

Members

Variables

fileData
FileData[] fileData;

Data produced by the generator intended to be written to specified file.

Inherited Members

From Controller

doFile
bool doFile(in string filename, in string info)

Query the controller with the filename of the AST node for a decision if it shall be processed.

genStyleInclFile
Flag!"genStyleInclFile" genStyleInclFile()

Determine by checking the filesystem if a templated PREFIX_style file shall be created.

doComponentNameStrip
FileName doComponentNameStrip(FileName fname)

Strip the filename according to user regex.

From Parameters

getOutputDirectory
DirName getOutputDirectory()

Output directory to store files in.

getFiles
Files getFiles()

Files to write generated diagram data to.

getFilePrefix
FilePrefix getFilePrefix()

Name affecting filenames.

doStyleIncl
Flag!"doStyleIncl" doStyleIncl()

In all diagrams generate an "!include" of the style file.

doGenDot
Flag!"doGenDot" doGenDot()

Generate a dot graph in the plantuml file

genClassMethod
Flag!"genClassMethod" genClassMethod()

If class methods should be part of the generated class diagrams.

genClassParamDependency
Flag!"genClassParamDependency" genClassParamDependency()

If the parameters of methods should result in directed association.

genClassInheritDependency
Flag!"genClassInheritDependency" genClassInheritDependency()

If the inheritance hierarchy between classes is generated.

genClassMemberDependency
Flag!"genClassMemberDependency" genClassMemberDependency()

If the class members result in dependency on those members.

From Products

putFile
void putFile(FileName fname, PlantumlRootModule data)
void putFile(FileName fname, PlantumlModule data)

Data pushed from the generator to be written to files.

Meta