umbrello: umbrello/codegenerators/codegenfactory.h Source File

umbrello 2.39.2 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

codegenfactory.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef CODEGENFACTORY_H
7#define CODEGENFACTORY_H
8
9#include "basictypes.h"
10#include "codeaccessormethod.h"
11
12// fwd decls
13class CodeGenerator;
14class ClassifierCodeDocument;
15class CodeOperation;
16class CodeClassField;
17class CodeClassFieldDeclarationBlock;
18class CodeGenPolicyExt;
19class UMLClassifier;
20class UMLOperation;
21class UMLAttribute;
22class UMLRole;
23
32namespace CodeGenFactory {
33
34 CodeGenerator* createObject(Uml::ProgrammingLanguage::Enum pl);
35
36 CodeOperation *newCodeOperation(ClassifierCodeDocument *cd, UMLOperation * op);
37
38 CodeClassField *newCodeClassField(ClassifierCodeDocument *cd, UMLAttribute * at);
39
40 CodeClassField *newCodeClassField(ClassifierCodeDocument *cd, UMLRole *role);
41
42 CodeAccessorMethod *newCodeAccessorMethod(ClassifierCodeDocument *cd,
43 CodeClassField *cf,
44 CodeAccessorMethod::AccessorType type);
45
46 CodeClassFieldDeclarationBlock *newDeclarationCodeBlock(ClassifierCodeDocument *cd,
47 CodeClassField * cf);
48
49 CodeComment *newCodeComment(CodeDocument *cd);
50
51 CodeDocument *newClassifierCodeDocument(UMLClassifier *classifier);
52
53 CodeGenPolicyExt* newCodeGenPolicyExt(Uml::ProgrammingLanguage::Enum pl);
54}
55
56#endif //CODEGENFACTORY_H
basictypes.h
ClassifierCodeDocument
Definition classifiercodedocument.h:29
CodeAccessorMethod
Definition codeaccessormethod.h:18
CodeAccessorMethod::AccessorType
AccessorType
Definition codeaccessormethod.h:29
CodeClassFieldDeclarationBlock
Definition codeclassfielddeclarationblock.h:26
CodeClassField
Definition codeclassfield.h:26
CodeComment
Definition codecomment.h:20
CodeDocument
Definition codedocument.h:30
CodeGenPolicyExt
Definition codegenpolicyext.h:23
CodeGenerator
Definition codegenerator.h:54
CodeOperation
Definition codeoperation.h:20
UMLAttribute
Sets up attribute information.
Definition attribute.h:23
UMLClassifier
Information for a non-graphical Concept/Class.
Definition classifier.h:35
UMLOperation
Definition operation.h:20
UMLRole
Definition umlrole.h:20
codeaccessormethod.h
CodeGenFactory
Definition codegenfactory.cpp:91
CodeGenFactory::newCodeGenPolicyExt
CodeGenPolicyExt * newCodeGenPolicyExt(Uml::ProgrammingLanguage::Enum pl)
Definition codegenfactory.cpp:432
CodeGenFactory::createObject
CodeGenerator * createObject(Uml::ProgrammingLanguage::Enum pl)
Definition codegenfactory.cpp:93
CodeGenFactory::newDeclarationCodeBlock
CodeClassFieldDeclarationBlock * newDeclarationCodeBlock(ClassifierCodeDocument *cd, CodeClassField *cf)
Definition codegenfactory.cpp:360
CodeGenFactory::newClassifierCodeDocument
CodeDocument * newClassifierCodeDocument(UMLClassifier *c)
Definition codegenfactory.cpp:189
CodeGenFactory::newCodeComment
CodeComment * newCodeComment(CodeDocument *cd)
Definition codegenfactory.cpp:399
CodeGenFactory::newCodeClassField
CodeClassField * newCodeClassField(ClassifierCodeDocument *ccd, UMLAttribute *at)
Definition codegenfactory.cpp:262
CodeGenFactory::newCodeOperation
CodeOperation * newCodeOperation(ClassifierCodeDocument *ccd, UMLOperation *op)
Definition codegenfactory.cpp:219
CodeGenFactory::newCodeAccessorMethod
CodeAccessorMethod * newCodeAccessorMethod(ClassifierCodeDocument *ccd, CodeClassField *cf, CodeAccessorMethod::AccessorType type)
Definition codegenfactory.cpp:310
Uml::ProgrammingLanguage::Enum
Enum
Definition basictypes.h:291