fpmas-metamodel 1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DotOutput Class Reference

#include <dot.h>

Inheritance diagram for DotOutput:
Inheritance graph
[legend]
Collaboration diagram for DotOutput:
Collaboration graph
[legend]

Public Member Functions

 DotOutput (BasicMetaModel &meta_model, std::string filename)
 
void dump () override
 

Detailed Description

An output class that can be used to dump a representation of a MetaModel as a DOT file.

Classical DOT layout engines, especially neato, fdp and sfdp, can be used externally to generate beautiful representations of MetaModels.

Constructor & Destructor Documentation

◆ DotOutput()

DotOutput::DotOutput ( BasicMetaModel meta_model,
std::string  filename 
)

DotOutput constructor.

Parameters
meta_modelMetaModel to dump to a DOT file
filenameName of the DOT file

Member Function Documentation

◆ dump()

void DotOutput::dump ( )
override

Dumps the MetaModel to the DOT file.

Must be called on all processes.


The documentation for this class was generated from the following file: