Common.h File Reference

Go to the source code of this file.

Namespaces

namespace  MON
namespace  BON

Typedefs

typedef unsigned long MON::ObjectEventTypes
typedef unsigned short MON::ConstraintPriority
typedef long BON::AttributeStatus
typedef long BON::RegistryNodeStatus
typedef unsigned long BON::ULong
typedef std::pair< ULong, ULong > BON::Point

Enumerations

enum  MON::ObjectType {
  MON::OT_Null = 0, MON::OT_Model = 1, MON::OT_Atom = 2, MON::OT_Reference = 3,
  MON::OT_Connection = 4, MON::OT_Set = 5, MON::OT_Folder = 6, MON::OT_Aspect,
  MON::OT_Role, MON::OT_Attribute, MON::OT_Part
}
enum  MON::AttributeType {
  MON::AT_String = 1, MON::AT_Integer = 2, MON::AT_Real = 3, MON::AT_Boolean = 4,
  MON::AT_Enumeration = 6
}
enum  MON::ObjectEventType {
  MON::OET_None = 0x00000000, MON::OET_ObjectCreated = 0x80000000, MON::OET_ObjectDestroyed = 0x40000000, MON::OET_ObjectMoved = 0x00000100,
  MON::OET_AttributeChanged = 0x00000001, MON::OET_RegistryChanged = 0x00000002, MON::OET_RelationChanged = 0x00000008, MON::OET_PropertyChanged = 0x00000010,
  MON::OET_ChildAdded = 0x00000004, MON::OET_ChildLost = 0x00000200, MON::OET_ObjectReferenced = 0x00000400, MON::OET_ObjectReleased = 0x00002000,
  MON::OET_ObjectIncluded = 0x00001000, MON::OET_ObjectExcluded = 0x00008000, MON::OET_ObjectConnected = 0x00000800, MON::OET_ObjectDisconnected = 0x00004000,
  MON::OET_DescendantCreated = 0x00000020, MON::OET_ModelClosed = 0x00800000, MON::OET_All = 0xFFFFFFFF
}
enum  MON::ConstraintDepth { MON::CD_Zero, MON::CD_One, MON::CD_Any }
enum  BON::ObjectStatus { BON::OST_Exists = 0, BON::OST_Deleted, BON::OST_Zombie, BON::OST_Null }
enum  BON::ObjectType {
  BON::OT_Null = 0, BON::OT_Model = 1, BON::OT_Atom = 2, BON::OT_Reference = 3,
  BON::OT_Connection = 4, BON::OT_Set = 5, BON::OT_Folder = 6
}
enum  BON::NamePosition {
  BON::NP_North = 0, BON::NP_NorthEast, BON::NP_East, BON::NP_SouthEast,
  BON::NP_South, BON::NP_SouthWest, BON::NP_West, BON::NP_NorthWest,
  BON::NP_Center
}
enum  BON::AutoRouterPref { BON::ARP_North, BON::ARP_South, BON::ARP_West, BON::ARP_East }
enum  BON::LineType { BON::LT_Solid, BON::LT_Dash }
enum  BON::LineEndType {
  BON::LET_Butt, BON::LET_Arrow, BON::LET_Diamond, BON::LET_Apex,
  BON::LET_Bullet, BON::LET_EmptyDiamond, BON::LET_EmptyApex, BON::LET_EmptyBullet,
  BON::LET_LeftHalfArrow, BON::LET_RightHalfArrow
}

Functions

MON::ObjectEventTypeoperator++ (MON::ObjectEventType &eType, int)
MON::ObjectEventTypeoperator++ (MON::ObjectEventType &eType)
bool isAll (const std::set< MON::ObjectEventType > &setEvents)
bool isNone (const std::set< MON::ObjectEventType > &setEvents)
std::string toString (const MON::ObjectEventType &eType)
MON::ObjectEventTypes copy (const std::set< MON::ObjectEventType > &setEvents)
std::set< MON::ObjectEventTypecopy (MON::ObjectEventTypes ulEvents)
std::string toString (MON::ObjectType eType, bool bWithNameSpace=true)
std::string toString (BON::ObjectType eType, bool bWithNameSpace=true)

Variables

const long BON::AS_Here = 0
const long BON::AS_Meta = -1
const long BON::AS_Undefined = -2
const long BON::RNS_Here = 0
const long BON::RNS_Meta = -1
const long BON::RNS_Undefined = -2

Function Documentation

std::set<MON::ObjectEventType> copy ( MON::ObjectEventTypes  ulEvents  ) 

Definition at line 121 of file Common.cpp.

MON::ObjectEventTypes copy ( const std::set< MON::ObjectEventType > &  setEvents  ) 

Definition at line 112 of file Common.cpp.

bool isAll ( const std::set< MON::ObjectEventType > &  setEvents  ) 

Definition at line 64 of file Common.cpp.

bool isNone ( const std::set< MON::ObjectEventType > &  setEvents  ) 

Definition at line 75 of file Common.cpp.

MON::ObjectEventType& operator++ ( MON::ObjectEventType eType  ) 

Definition at line 59 of file Common.cpp.

MON::ObjectEventType& operator++ ( MON::ObjectEventType eType,
int   
)

Definition at line 33 of file Common.cpp.

std::string toString ( BON::ObjectType  eType,
bool  bWithNameSpace = true 
)

Definition at line 149 of file Common.cpp.

std::string toString ( MON::ObjectType  eType,
bool  bWithNameSpace = true 
)

Definition at line 130 of file Common.cpp.

std::string toString ( const MON::ObjectEventType eType  ) 

Definition at line 86 of file Common.cpp.

Generated on Thu May 30 15:42:55 2013 for GME by  doxygen 1.6.3