dsrcgen.plantuml

Members

Classes

ActivityModule
class ActivityModule

Semantic representation in D for Activity Diagrams.

Comment
class Comment

A plantuml comment using ''' as is.

PlantumlModule
class PlantumlModule

Semantic representation in D of PlantUML elements.

Stmt
class Stmt(T)

Affected by attribute end. stmt ~ end <recursive>

Suite
class Suite(T)

A plantuml block.

Functions

addAs
auto addAs(ref T m)

Add a PlantUML renaming of a class or component.

addSpot
auto addSpot(ref T m, string spot)

Add a "spot" to a class in a class diagram.

ctor
auto ctor(T m, string class_name)

Make a constructor without any parameters in a UML class diagram.

ctorBody
auto ctorBody(T0 m, string class_name, auto ref T args)

Make a constructor that takes arbitrary number of parameters.

dtor
auto dtor(T m, Flag!"isVirtual" isVirtual, string class_name)

Make a destructor in a UML class diagram.

dtor
auto dtor(T m, string class_name)

Make a destructor in a UML class diagram.

label
auto label(Relation m, string txt, LabelPos pos)

Add a label to an existing relation.

label
auto label(Relation m, string txt)

Add a raw label "on" the relationship line.

method
auto method(T m, string txt)

Make a method in a UML class diagram.

method
auto method(T m, Flag!"isVirtual" isVirtual, string return_type, string name, Flag!"isConst" isConst)

Make a method that takes no parameters in a UML class diagram.

method
auto method(T m, Flag!"isVirtual" isVirtual, string return_type, string name, Flag!"isConst" isConst, auto ref T args)

Make a method that takes arbitrary parameters in a UML class diagram.

Structs

ActivityBlock
struct ActivityBlock(ActivityKind kind_)

Used to realise type safe if/else/endif blocks.

PlantumlRootModule
struct PlantumlRootModule

Generate a plantuml block ready to be rendered.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)