File: UmlSettings.h

package info (click to toggle)
bouml 4.21-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,336 kB
  • ctags: 55,459
  • sloc: cpp: 290,644; makefile: 228; sh: 13
file content (52 lines) | stat: -rw-r--r-- 1,203 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef _UMLSETTINGS_H
#define _UMLSETTINGS_H


#include <qdict.h>
#include <qcstring.h>

struct UmlBuiltin;
struct UmlStereotype;

//  Do NOT use it, refer to CppSettings, JavaSettings and IdlSettings classes

class UmlSettings {
  protected:
    // never called !
    UmlSettings() {};

    static bool _defined;

    static QDict<UmlBuiltin> _map_builtins;

    static UmlBuiltin * _builtins;

    static QDict<UmlStereotype> _map_relation_stereotypes;

    static UmlStereotype * _relation_stereotypes;

    static QDict<UmlStereotype> _map_class_stereotypes;

    static UmlStereotype * _class_stereotypes;

    static void read_();

    static void read_if_needed_();

    static unsigned multiplicity_column(const QCString & mult);

    static QCString uml_type(const QCString & t, QCString UmlBuiltin::* f);

    static QCString uml_rel_stereotype(const QCString & t, QCString UmlStereotype::* f);

    static QCString uml_class_stereotype(const QCString & t, QCString UmlStereotype::* f);

    static UmlBuiltin * add_type(const QCString & s);

    static UmlStereotype * add_rel_stereotype(const QCString & s);

    static UmlStereotype * add_class_stereotype(const QCString & s);

};

#endif