umbrello/umbrello
rubycodeclassfield.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 rubycodeclassfield.cpp 00003 Derived from the Java code generator by thomas 00004 00005 begin : Thur Jul 21 2005 00006 author : Richard Dale 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 * copyright (C) 2006-2007 * 00017 * Umbrello UML Modeller Authors <uml-devel@uml.sf.net> * 00018 ***************************************************************************/ 00019 00020 #ifndef RUBYCODECLASSFIELD_H 00021 #define RUBYCODECLASSFIELD_H 00022 00023 #include <qstring.h> 00024 00025 #include "../codeclassfield.h" 00026 00027 class ClassifierCodeDocument; 00028 00029 class RubyCodeClassField : public CodeClassField 00030 { 00031 Q_OBJECT 00032 public: 00033 00034 // Constructors/Destructors 00035 // 00036 00040 RubyCodeClassField (ClassifierCodeDocument * parentDoc, UMLRole * role); 00041 RubyCodeClassField (ClassifierCodeDocument * parentDoc, UMLAttribute * attrib); 00042 00046 virtual ~RubyCodeClassField ( ); 00047 00048 QString getFieldType(); 00049 QString getFieldName(); 00050 QString getInitialValue(); 00051 00052 QString getTypeName ( ); 00053 protected: 00054 00055 private: 00056 00057 // void initDeclCodeBlock (); 00058 00059 }; 00060 00061 #endif // RUBYCODECLASSFIELD_H
KDE 4.0 API Reference