umbrello 25.04.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
model_utils.h File Reference
#include "basictypes.h"
#include "umllistviewitem.h"
#include "umlobjectlist.h"
#include "umlviewlist.h"
#include "foreignkeyconstraint.h"
#include "icon_utils.h"
#include "multipagedialogbase.h"
#include "widgetbase.h"
#include <QList>
#include <QString>
Include dependency graph for model_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Model_Utils::NameAndType
struct  Model_Utils::OpDescriptor

Namespaces

namespace  Model_Utils

Typedefs

typedef QList< NameAndTypeModel_Utils::NameAndType_List
 Auxiliary type for OpDescriptor.
typedef QList< NameAndType >::iterator Model_Utils::NameAndType_ListIt
 Auxiliary type for OpDescriptor.

Enumerations

enum  Model_Utils::Parse_Status {
  Model_Utils::PS_OK , Model_Utils::PS_Empty , Model_Utils::PS_Malformed_Arg , Model_Utils::PS_Unknown_ArgType ,
  Model_Utils::PS_Illegal_MethodName , Model_Utils::PS_Unknown_ReturnType , Model_Utils::PS_Unspecified_Error
}

Functions

bool Model_Utils::isCloneable (WidgetBase::WidgetType type)
QString Model_Utils::normalize (QString type)
UMLObjectModel_Utils::findObjectInList (Uml::ID::Type id, const UMLObjectList &inList)
UMLObjectModel_Utils::findUMLObject (const UMLObjectList &inList, const QString &inName, UMLObject::ObjectType type, UMLObject *currentObj)
UMLObjectModel_Utils::findUMLObjectRaw (const UMLObjectList &inList, const QString &name, UMLObject::ObjectType type, UMLObject *currentObj)
UMLObjectModel_Utils::findUMLObjectRecursive (const UMLObjectList &inList, const QString &name, UMLObject::ObjectType type)
UMLPackageModel_Utils::rootPackage (UMLObject *obj)
void Model_Utils::treeViewAddViews (const UMLViewList &viewList)
void Model_Utils::treeViewChangeIcon (UMLObject *object, Icon_Utils::IconType to)
void Model_Utils::treeViewSetCurrentItem (UMLObject *object)
void Model_Utils::treeViewMoveObjectTo (UMLObject *container, UMLObject *object)
UMLObjectModel_Utils::treeViewGetCurrentObject ()
UMLPackageModel_Utils::treeViewGetPackageFromCurrent ()
QString Model_Utils::treeViewBuildDiagramName (Uml::ID::Type id)
QString Model_Utils::uniqObjectName (UMLObject::ObjectType type, UMLPackage *parentPkg, QString prefix)
QString Model_Utils::newTitle (UMLObject::ObjectType type)
QString Model_Utils::newText (UMLObject::ObjectType type)
QString Model_Utils::renameTitle (UMLObject::ObjectType type)
QString Model_Utils::renameText (UMLObject::ObjectType type)
QString Model_Utils::getXmiId (QDomElement element)
QString Model_Utils::loadCommentFromXMI (QDomElement elem)
bool Model_Utils::isCommonXMI1Attribute (const QString &tag)
bool Model_Utils::isCommonDataType (QString type)
bool Model_Utils::isClassifierListitem (UMLObject::ObjectType type)
bool Model_Utils::typeIsCanvasWidget (UMLListViewItem::ListViewType type)
bool Model_Utils::typeIsRootView (UMLListViewItem::ListViewType type)
bool Model_Utils::typeIsFolder (UMLListViewItem::ListViewType type)
bool Model_Utils::typeIsContainer (UMLListViewItem::ListViewType type)
bool Model_Utils::typeIsDiagram (UMLListViewItem::ListViewType type)
bool Model_Utils::typeIsClassifierList (UMLListViewItem::ListViewType type)
bool Model_Utils::typeIsClassifier (UMLListViewItem::ListViewType type)
bool Model_Utils::typeIsProperties (UMLListViewItem::ListViewType type)
bool Model_Utils::typeIsAllowedInType (UMLListViewItem::ListViewType childType, UMLListViewItem::ListViewType parentType)
bool Model_Utils::typeIsAllowedInDiagram (UMLObject *o, UMLScene *scene)
bool Model_Utils::typeIsAllowedInDiagram (UMLWidget *w, UMLScene *scene)
bool Model_Utils::hasAssociations (UMLObject::ObjectType type)
Uml::ModelType::Enum Model_Utils::convert_DT_MT (Uml::DiagramType::Enum dt)
UMLListViewItem::ListViewType Model_Utils::convert_MT_LVT (Uml::ModelType::Enum mt)
Uml::ModelType::Enum Model_Utils::convert_LVT_MT (UMLListViewItem::ListViewType lvt)
UMLListViewItem::ListViewType Model_Utils::convert_DT_LVT (Uml::DiagramType::Enum dt)
UMLObject::ObjectType Model_Utils::convert_LVT_OT (UMLListViewItem::ListViewType lvt)
UMLListViewItem::ListViewType Model_Utils::convert_OT_LVT (UMLObject *o)
Icon_Utils::IconType Model_Utils::convert_LVT_IT (UMLListViewItem::ListViewType lvt, UMLObject *o)
Uml::DiagramType::Enum Model_Utils::convert_LVT_DT (UMLListViewItem::ListViewType lvt)
MultiPageDialogBase::PageType Model_Utils::convert_LVT_PT (UMLListViewItem::ListViewType type)
Uml::ModelType::Enum Model_Utils::convert_OT_MT (UMLObject::ObjectType ot)
Uml::ModelType::Enum Model_Utils::guessContainer (UMLObject *o)
int Model_Utils::stringToDirection (QString input, Uml::ParameterDirection::Enum &result)
Parse_Status Model_Utils::parseTemplate (QString t, NameAndType &nmTp, UMLClassifier *owningScope)
Parse_Status Model_Utils::parseAttribute (QString a, NameAndType &nmTp, UMLClassifier *owningScope, Uml::Visibility::Enum *vis)
Parse_Status Model_Utils::parseOperation (QString m, OpDescriptor &desc, UMLClassifier *owningScope)
Parse_Status Model_Utils::parseConstraint (QString m, QString &name, UMLEntity *owningScope)
QString Model_Utils::psText (Parse_Status value)
QString Model_Utils::updateDeleteActionToString (UMLForeignKeyConstraint::UpdateDeleteAction uda)