umbrello/umbrello
TclWriter Class Reference
Class TclWriter is a code generator for UMLClassifier objects. More...
#include <tclwriter.h>

Public Member Functions | |
| TclWriter () | |
| virtual | ~TclWriter () |
| virtual Uml::Programming_Language | getLanguage () |
| virtual const QStringList | reservedKeywords () const |
| virtual void | writeClass (UMLClassifier *c) |
Detailed Description
Class TclWriter 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 both a header (.h) and source (.tcl) file for that classifier.
Definition at line 31 of file tclwriter.h.
Constructor & Destructor Documentation
| TclWriter::TclWriter | ( | ) |
Constructor, initialises a couple of variables.
Definition at line 79 of file tclwriter.cpp.
| TclWriter::~TclWriter | ( | ) | [virtual] |
Destructor, empty.
Definition at line 83 of file tclwriter.cpp.
Member Function Documentation
| Uml::Programming_Language TclWriter::getLanguage | ( | ) | [virtual] |
Returns "Tcl".
- Returns:
- the programming language identifier
Implements CodeGenerator.
Definition at line 88 of file tclwriter.cpp.
| const QStringList TclWriter::reservedKeywords | ( | ) | const [virtual] |
Get list of reserved keywords.
- Returns:
- the list of reserved keywords
Reimplemented from CodeGenerator.
Definition at line 876 of file tclwriter.cpp.
| void TclWriter::writeClass | ( | UMLClassifier * | c | ) | [virtual] |
Call this method to generate tcl code for a UMLClassifier.
- Parameters:
-
c the class to generate code for
Implements SimpleCodeGenerator.
Definition at line 93 of file tclwriter.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference