umbrello API Documentation

RubyWriter Class Reference

class RubyWriter is a ruby code generator for UMLClassifier objects Just call writeClass and feed it a UMLClassifier; More...

#include <rubywriter.h>

Inheritance diagram for RubyWriter:

SimpleCodeGenerator CodeGenerator List of all members.

Public Member Functions

virtual void writeClass (UMLClassifier *c)
 call this method to generate C++ code for a UMLClassifier
virtual Uml::Programming_Language getLanguage ()
 returns "Ruby"
virtual const QStringList reservedKeywords () const
 get list of reserved keywords

Detailed Description

class RubyWriter is a ruby code generator for UMLClassifier objects Just call writeClass and feed it a UMLClassifier;

Definition at line 34 of file rubywriter.h.


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 42 of file rubywriter.cpp.

References ClassifierInfo::atpriv, ClassifierInfo::atprot, ClassifierInfo::atpub, ClassifierInfo::className, CodeGenerator::cleanName(), CodeGenerator::codeGenerated(), ClassifierInfo::fileName, CodeGenerator::findFileName(), CodeGenerator::getHeadingFile(), UMLObject::getName(), ClassifierInfo::hasAccessorMethods, and CodeGenerator::openFile().

Uml::Programming_Language RubyWriter::getLanguage  )  [virtual]
 

returns "Ruby"

Implements CodeGenerator.

Definition at line 394 of file rubywriter.cpp.

const QStringList RubyWriter::reservedKeywords  )  const [virtual]
 

get list of reserved keywords

Reimplemented from CodeGenerator.

Definition at line 398 of file rubywriter.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:05 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003