Beispiel #1
0
void TransitionData::send_uml_def(ToolCom * com,
				  BrowserNode * bn,
				  const QString & comment) {
  BasicData::send_uml_def(com, bn, comment);
  get_end_node()->write_id(com);
  uml.send_def(com);
  if (com->api_format() >= 33)
    com->write_bool(is_internal);
}
Beispiel #2
0
void SimpleRelationData::send_uml_def(ToolCom * com,
				      BrowserNode * bn,
				      const QString & comment) {
  BasicData::send_uml_def(com, bn, comment);
  switch (type) {
  case UmlDependOn:
    com->write_char(UmlDependency);
    break;
  default:	// UmlInherit:
    com->write_char(UmlGeneralisation);
    break;
  }
    
  get_end_node()->write_id(com);
}