TclWriter Class Reference
class TclWriter is a code generator for UMLClassifier objects. More...
#include <tclwriter.h>
Inheritance diagram for TclWriter:

Public Member Functions | |
| TclWriter () | |
| Constructor, initialises a couple of variables. | |
| virtual | ~TclWriter () |
| Destructor, empty. | |
| virtual void | writeClass (UMLClassifier *c) |
| call this method to generate tcl code for a UMLClassifier | |
| virtual Uml::Programming_Language | getLanguage () |
| returns "Tcl" | |
| virtual const QStringList | reservedKeywords () const |
| get list of reserved keywords | |
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 38 of file tclwriter.h.
Constructor & Destructor Documentation
|
|
Constructor, initialises a couple of variables.
Definition at line 80 of file tclwriter.cpp. |
|
|
Destructor, empty.
Definition at line 84 of file tclwriter.cpp. |
Member Function Documentation
|
|
call this method to generate tcl code for a UMLClassifier
Implements SimpleCodeGenerator. Definition at line 95 of file tclwriter.cpp. References ClassifierInfo::className, CodeGenerator::cleanName(), CodeGenerator::codeGenerated(), ClassifierInfo::fileName, CodeGenerator::findFileName(), ClassifierInfo::isInterface, and CodeGenerator::openFile(). |
|
|
returns "Tcl"
Implements CodeGenerator. Definition at line 89 of file tclwriter.cpp. |
|
|
get list of reserved keywords
Reimplemented from CodeGenerator. Definition at line 940 of file tclwriter.cpp. |
The documentation for this class was generated from the following files:
