dsrcgen.plantuml

Public Imports

dsrcgen.base
public import dsrcgen.base;
Undocumented in source.

Members

Aliases

CanRelateSeq
alias CanRelateSeq = AliasSeq!(ClassNameType, ComponentNameType)
Undocumented in source.
ClassAsType
alias ClassAsType = Typedef!(Text!PlantumlModule, null, "ComponentAsType")
Undocumented in source.
ClassModuleType
alias ClassModuleType = Typedef!(PlantumlModule, null, "ClassModuleType")
Undocumented in source.
ClassNameType
alias ClassNameType = Typedef!(string, string.init, "ClassNameType")
Undocumented in source.
ClassType
alias ClassType = Tuple!(ClassNameType, "name", ClassModuleType, "m", ClassSpotType, "spot", ClassAsType, "as")
Undocumented in source.
ComponentAsType
alias ComponentAsType = Typedef!(Text!PlantumlModule, null, "ComponentAsType")
Undocumented in source.
ComponentNameType
alias ComponentNameType = Typedef!(string, string.init, "ComponentNameType")
Undocumented in source.
ComponentType
alias ComponentType = Tuple!(ComponentNameType, "name", ComponentModuleType, "m", ComponentAsType, "as")
Undocumented in source.
RelationType
alias RelationType = Typedef!(ReturnType!(PlantumlModule.stmt), ReturnType!(PlantumlModule.stmt).init, "RelationType")
Undocumented in source.

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.

Enums

CanRelate
eponymoustemplate CanRelate(T)
Undocumented in source.
LabelPos
enum LabelPos
Undocumented in source.
Relate
enum Relate
Undocumented in source.

Functions

addAs
auto addAs(T m)

Add a PlantUML renaming of a class or component.

addSpot
auto addSpot(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, 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.

else_
auto else_(T if_)

Add a else branch to a previously defined if.

else_if
auto else_if(T if_, string condition)

Add a else if branch to a previously defined if.

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, T args)

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

then
auto then(ActivityBlock!(ActivityKind.IfThen) if_then, string content)

Add a then statement to an if.

Mixins

__anonymous
mixin RelateTypes!(Text!PlantumlModule, Text!PlantumlModule, Text!PlantumlModule, PlantumlModule)
Undocumented in source.

Structs

ActivityBlock
struct ActivityBlock(ActivityKind kind_)

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

ClassSpotType
struct ClassSpotType
Undocumented in source.
ComponentModuleType
struct ComponentModuleType
Undocumented in source.
NoteType
struct NoteType
Undocumented in source.
PlantumlRootModule
struct PlantumlRootModule

Generate a plantuml block ready to be rendered.

Mixed In Members

From mixin RelateTypes!(Text!PlantumlModule, Text!PlantumlModule, Text!PlantumlModule, PlantumlModule)

RelateLeft
alias RelateLeft = Typedef!(Tleft, Tleft.init, "RelateLeft")
Undocumented in source.
RelateRight
alias RelateRight = Typedef!(Tright, Tright.init, "RelateRight")
Undocumented in source.
RelateMiddle
alias RelateMiddle = Typedef!(Trel, Trel.init, "RelateMiddle")
Undocumented in source.
RelateBlock
alias RelateBlock = Typedef!(Tblock, Tblock.init, "RelationBlock")
Undocumented in source.
Relation
alias Relation = Tuple!(RelateLeft, "left", RelateRight, "right", RelateMiddle, "rel", RelateBlock, "block")
Undocumented in source.

Meta

Authors

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