umbrello/umbrello
RubyWriter Class Reference
#include <rubywriter.h>
Inheritance diagram for RubyWriter:

Detailed Description
Class RubyWriter is a ruby code generator for UMLClassifier objects.Just call writeClass and feed it a UMLClassifier.
Definition at line 33 of file rubywriter.h.
Public Member Functions | |
| RubyWriter () | |
| virtual | ~RubyWriter () |
| virtual void | writeClass (UMLClassifier *c) |
| virtual Uml::Programming_Language | getLanguage () |
| virtual const QStringList | reservedKeywords () const |
Constructor & Destructor Documentation
| RubyWriter::RubyWriter | ( | ) |
Definition at line 36 of file rubywriter.cpp.
| RubyWriter::~RubyWriter | ( | ) | [virtual] |
Definition at line 40 of file rubywriter.cpp.
Member Function Documentation
| void RubyWriter::writeClass | ( | UMLClassifier * | c | ) | [virtual] |
Call this method to generate C++ code for a UMLClassifier.
- Parameters:
-
c the class you want to generate code for.
Implements SimpleCodeGenerator.
Definition at line 44 of file rubywriter.cpp.
| Uml::Programming_Language RubyWriter::getLanguage | ( | ) | [virtual] |
Returns "Ruby".
- Returns:
- the programming language identifier
Implements CodeGenerator.
Definition at line 387 of file rubywriter.cpp.
| const QStringList RubyWriter::reservedKeywords | ( | ) | const [virtual] |
Get list of reserved keywords.
- Returns:
- the list of reserved keywords
Reimplemented from CodeGenerator.
Definition at line 392 of file rubywriter.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference