umbrello API Documentation

aswriter.h

00001 /***************************************************************************
00002                           aswriter.h  -  description
00003                              -------------------
00004     begin                : Sat Feb 08 2003
00005     copyright            : (C) 2003 by Alexander Blum
00006     email                : blum@kewbee.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef ASWRITER_H
00019 #define ASWRITER_H
00020 
00021 #include "simplecodegenerator.h"
00022 #include "../umloperationlist.h"
00023 #include "../umlassociationlist.h"
00024 
00029 class ASWriter : public SimpleCodeGenerator {
00030     Q_OBJECT
00031 public:
00032 
00033     ASWriter();
00034     virtual ~ASWriter();
00035 
00040     virtual void writeClass(UMLClassifier *c);
00041 
00045     virtual Uml::Programming_Language getLanguage();
00046 
00050     virtual const QStringList reservedKeywords() const;
00051 
00052 
00053 private:
00054 
00058     bool bPrivateSectionCommentIsWritten;
00059 
00067     void writeOperations(QString classname, UMLOperationList *opList, QTextStream &as);
00068 
00076     void writeAssociation(QString& classname, UMLAssociationList& assoclist , QTextStream &as);
00077 
00078 };
00079 
00080 #endif //ASWRITER
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:07:54 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003