• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • kdesdk
  • Sitemap
  • Contact Us
 

umbrello/umbrello

umlnamespace.h File Reference

#include <string>
#include <QtCore/QString>
#include <kdebug.h>
Include dependency graph for umlnamespace.h:

Go to the source code of this file.

Classes

class  Uml::Visibility

Namespaces

namespace  Uml

Defines

#define DISABLE_COPY(Class)
#define ENUM_NAME(o, e, v)   (o::staticMetaObject.enumerator(o::staticMetaObject.indexOfEnumerator(#e)).valueToKey((v)))
#define ID2STR(id)   QString(id.c_str())
#define STR2ID(id)   qPrintable(id)
#define uDebug()   kDebug(8060)
#define uError()   kError(8060)
#define uIgnoreZeroPointer(a)   if (!a) { uDebug() << "zero pointer detected" << __FILE__ << __LINE__; continue; }
#define uWarning()   kWarning(8060)

Typedefs

typedef std::string Uml::IDType

Enumerations

enum  Uml::Association_Type {
  Uml::at_Generalization = 500, Uml::at_Aggregation, Uml::at_Dependency, Uml::at_Association,
  Uml::at_Association_Self, Uml::at_Coll_Message, Uml::at_Seq_Message, Uml::at_Coll_Message_Self,
  Uml::at_Seq_Message_Self, Uml::at_Containment, Uml::at_Composition, Uml::at_Realization,
  Uml::at_UniAssociation, Uml::at_Anchor, Uml::at_State, Uml::at_Activity,
  Uml::at_Exception, Uml::at_Category2Parent, Uml::at_Child2Category, Uml::at_Relationship,
  Uml::at_Unknown = - 1
}
enum  Uml::Changeability_Type { Uml::chg_Changeable = 900, Uml::chg_Frozen, Uml::chg_AddOnly }
enum  Uml::Corner { Uml::corner_TopLeft = 0x1, Uml::corner_TopRight = 0x2, Uml::corner_BottomRight = 0x4, Uml::corner_BottomLeft = 0x8 }
enum  Uml::DBIndex_Type { Uml::None = 1100, Uml::Primary, Uml::Index, Uml::Unique }
enum  Uml::Diagram_Type {
  Uml::dt_Undefined = 0, Uml::dt_Class, Uml::dt_UseCase, Uml::dt_Sequence,
  Uml::dt_Collaboration, Uml::dt_State, Uml::dt_Activity, Uml::dt_Component,
  Uml::dt_Deployment, Uml::dt_EntityRelationship, Uml::N_DIAGRAMTYPES
}
enum  Uml::ListView_Type {
  Uml::lvt_View = 800, Uml::lvt_Logical_View, Uml::lvt_UseCase_View, Uml::lvt_Logical_Folder,
  Uml::lvt_UseCase_Folder, Uml::lvt_UseCase_Diagram, Uml::lvt_Collaboration_Diagram, Uml::lvt_Class_Diagram,
  Uml::lvt_State_Diagram, Uml::lvt_Activity_Diagram, Uml::lvt_Sequence_Diagram, Uml::lvt_Actor,
  Uml::lvt_UseCase, Uml::lvt_Class, Uml::lvt_Attribute, Uml::lvt_Operation,
  Uml::lvt_Template, Uml::lvt_Interface, Uml::lvt_Package, Uml::lvt_Component_Diagram,
  Uml::lvt_Component_Folder, Uml::lvt_Component_View, Uml::lvt_Component, Uml::lvt_Diagrams,
  Uml::lvt_Artifact, Uml::lvt_Deployment_Diagram, Uml::lvt_Deployment_Folder, Uml::lvt_Deployment_View,
  Uml::lvt_Node, Uml::lvt_Datatype, Uml::lvt_Datatype_Folder, Uml::lvt_Enum,
  Uml::lvt_Entity, Uml::lvt_EntityAttribute, Uml::lvt_EntityRelationship_Diagram, Uml::lvt_EntityRelationship_Folder,
  Uml::lvt_EntityRelationship_Model, Uml::lvt_Subsystem, Uml::lvt_Model, Uml::lvt_EnumLiteral,
  Uml::lvt_UniqueConstraint, Uml::lvt_PrimaryKeyConstraint, Uml::lvt_ForeignKeyConstraint, Uml::lvt_CheckConstraint,
  Uml::lvt_Category, Uml::lvt_Unknown = -1
}
enum  Uml::Model_Type {
  Uml::mt_Logical, Uml::mt_UseCase, Uml::mt_Component, Uml::mt_Deployment,
  Uml::mt_EntityRelationship, Uml::N_MODELTYPES
}
enum  Uml::Object_Type {
  Uml::ot_UMLObject = 100, Uml::ot_Actor, Uml::ot_UseCase, Uml::ot_Package,
  Uml::ot_Interface, Uml::ot_Datatype, Uml::ot_Enum, Uml::ot_Class,
  Uml::ot_Association, Uml::ot_Attribute, Uml::ot_Operation, Uml::ot_EnumLiteral,
  Uml::ot_Template, Uml::ot_Component, Uml::ot_Artifact, Uml::ot_Node,
  Uml::ot_Stereotype, Uml::ot_Role, Uml::ot_Entity, Uml::ot_EntityAttribute,
  Uml::ot_Folder, Uml::ot_EntityConstraint, Uml::ot_UniqueConstraint, Uml::ot_ForeignKeyConstraint,
  Uml::ot_CheckConstraint, Uml::ot_Category
}
enum  Uml::Parameter_Direction { Uml::pd_In, Uml::pd_InOut, Uml::pd_Out }
enum  Uml::Programming_Language {
  Uml::pl_ActionScript, Uml::pl_Ada, Uml::pl_Cpp, Uml::pl_CSharp,
  Uml::pl_D, Uml::pl_IDL, Uml::pl_Java, Uml::pl_JavaScript,
  Uml::pl_MySQL, Uml::pl_Pascal, Uml::pl_Perl, Uml::pl_PHP,
  Uml::pl_PHP5, Uml::pl_PostgreSQL, Uml::pl_Python, Uml::pl_Ruby,
  Uml::pl_SQL, Uml::pl_Tcl, Uml::pl_Vala, Uml::pl_XMLSchema,
  Uml::pl_Reserved
}
enum  Uml::Region {
  Uml::reg_Error = 0, Uml::reg_West, Uml::reg_North, Uml::reg_East,
  Uml::reg_South, Uml::reg_NorthWest, Uml::reg_NorthEast, Uml::reg_SouthEast,
  Uml::reg_SouthWest
}
enum  Uml::Role_Type { Uml::A, Uml::B }
enum  Uml::Sequence_Message_Type {
  Uml::sequence_message_synchronous = 1000, Uml::sequence_message_asynchronous, Uml::sequence_message_creation, Uml::sequence_message_lost,
  Uml::sequence_message_found
}
enum  Uml::Signature_Type { Uml::st_NoSig = 600, Uml::st_ShowSig, Uml::st_SigNoVis, Uml::st_NoSigNoVis }
enum  Uml::Text_Role {
  Uml::tr_Floating = 700, Uml::tr_MultiA, Uml::tr_MultiB, Uml::tr_Name,
  Uml::tr_Seq_Message, Uml::tr_Seq_Message_Self, Uml::tr_Coll_Message, Uml::tr_Coll_Message_Self,
  Uml::tr_State, Uml::tr_RoleAName, Uml::tr_RoleBName, Uml::tr_ChangeA,
  Uml::tr_ChangeB
}
enum  Uml::Widget_Type {
  Uml::wt_UMLWidget = 300, Uml::wt_Actor, Uml::wt_UseCase, Uml::wt_Class,
  Uml::wt_Interface, Uml::wt_Datatype, Uml::wt_Enum, Uml::wt_Entity,
  Uml::wt_Package, Uml::wt_Object, Uml::wt_Note, Uml::wt_Box,
  Uml::wt_Message, Uml::wt_Text, Uml::wt_State, Uml::wt_Activity,
  Uml::wt_Component, Uml::wt_Artifact, Uml::wt_Node, Uml::wt_Association,
  Uml::wt_ForkJoin, Uml::wt_Precondition, Uml::wt_CombinedFragment, Uml::wt_FloatingDashLine,
  Uml::wt_Signal, Uml::wt_Pin, Uml::wt_ObjectNode, Uml::wt_Region,
  Uml::wt_Category
}

Functions

bool Uml::tagEq (const QString &inTag, const QString &inPattern)

Variables

const IDType Uml::id_None = "-1"
const IDType Uml::id_Reserved = "0"

Define Documentation

#define DISABLE_COPY ( Class   ) 
Value:
Class(const Class &);                       \
    Class &operator=(const Class &);

Definition at line 350 of file umlnamespace.h.

#define ENUM_NAME ( o,
e,
v   )     (o::staticMetaObject.enumerator(o::staticMetaObject.indexOfEnumerator(#e)).valueToKey((v)))

In a Q_OBJECT class define any enum as Q_ENUMS.

With the above the following macro returns the name of a given enum. This can be used in debug output. TODO: convert it to a function.

Definition at line 362 of file umlnamespace.h.

#define ID2STR ( id   )     QString(id.c_str())

Definition at line 343 of file umlnamespace.h.

#define STR2ID ( id   )     qPrintable(id)

Definition at line 342 of file umlnamespace.h.

 
#define uDebug (  )     kDebug(8060)

Definition at line 346 of file umlnamespace.h.

 
#define uError (  )     kError(8060)

Definition at line 347 of file umlnamespace.h.

#define uIgnoreZeroPointer ( a   )     if (!a) { uDebug() << "zero pointer detected" << __FILE__ << __LINE__; continue; }

Definition at line 354 of file umlnamespace.h.

 
#define uWarning (  )     kWarning(8060)

Definition at line 348 of file umlnamespace.h.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdesdk

Skip menu "kdesdk"
  • kapptemplate
  • kate
  •     kate
  • kbugbuster
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal