umbrello 2.39.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <idlwriter.h>
Private Member Functions | |
void | writeOperation (UMLOperation *op, QTextStream &idl, bool is_comment=false) |
void | computeAssocTypeAndRole (UMLAssociation *a, UMLClassifier *c, QString &typeName, QString &roleName) |
Static Private Member Functions | |
static bool | isOOClass (UMLClassifier *c) |
static bool | assocTypeIsMappableToAttribute (Uml::AssociationType::Enum at) |
Class IDLWriter is a code generator for UMLClassifier objects. Create an instance of this class, and feed it a UMLClassifier when calling writeClass and it will generate an IDL interface for that concept.
IDLWriter::IDLWriter | ( | ) |
|
virtual |
|
staticprivate |
|
private |
|
virtual |
Return the default datatypes for your language (bool, int etc). Default implementation returns empty list.
Reimplemented from CodeGenerator.
|
staticprivate |
|
virtual |
Returns "IDL".
Implements CodeGenerator.
|
virtual |
Get list of reserved keywords.
Reimplemented from CodeGenerator.
|
virtual |
Call this method to generate IDL code for a UMLClassifier.
c | the class to generate code for |
Implements SimpleCodeGenerator.
|
private |
Write one operation.
op | the class for which we are generating code |
idl | the stream associated with the output file |
is_comment | specifying true generates the operation as commented out |