umbrello API Documentation

cppsourcecodedocument.h

00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  *   copyright (C) 2004-2006                                               *
00009  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
00010  ***************************************************************************/
00011 
00012 /*  This code generated by:
00013  *      Author : thomas
00014  *      Date   : Thu Aug 28 2003
00015  */
00016 
00017 #ifndef CPPSOURCECODEDOCUMENT_H
00018 #define CPPSOURCECODEDOCUMENT_H
00019 
00020 #include <qstring.h>
00021 
00022 #include "../classifiercodedocument.h"
00023 #include "../hierarchicalcodeblock.h"
00024 #include "classifierinfo.h"
00025 
00031 class CPPSourceCodeDocument : public ClassifierCodeDocument
00032 {
00033     Q_OBJECT
00034 public:
00035 
00036     // Constructors/Destructors
00037     //
00038 
00042     CPPSourceCodeDocument (UMLClassifier * classifier);
00043 
00047     virtual ~CPPSourceCodeDocument ( );
00048 
00052     bool addCodeOperation (CodeOperation * op );
00053 
00054 protected:
00055 
00056     // reset/clear our inventory of textblocks in this document
00057     void resetTextBlocks();
00058 
00059     // a little utility method to save us some work
00060     QString getCPPClassName (const QString &name);
00061 
00062     void updateContent();
00063 
00064 private:
00065 
00066     HierarchicalCodeBlock * constructorBlock;
00067     HierarchicalCodeBlock * methodsBlock;
00068 
00069     void init ( );
00070 
00071 };
00072 
00073 #endif // CPPSOURCECODEDOCUMENT_H
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:56 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003