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
|