[udm-dev] FW: UDM Uml help

Attila Vizhanyo viza at isis.vanderbilt.edu
Wed Jun 29 12:16:34 CDT 2005


Ananth,
 
There is currently an extra nested namespace generated into the Uml
domain-specific API.
The classByName function signature is:
UDM_DLL Uml::Class classByName(const Uml::Diagram &d, const string
&ns_name,const string &name );

You have two options when declaring UML data variables:
1, 
using namespace Uml::Uml;
Class cl;
Diagram diag;
cl= ::Uml::classByName( diag, name1, name2);    // classByName belongs
to ::Uml, and not ::Uml::Uml
 
2,
::Uml::Uml::Class cl;
::Uml::Uml::Diagram diag;
cl= ::Uml::classByName( diag, name1, name2);    // classByName belongs
to ::Uml, and not ::Uml::Uml
 
Thanks,
Attila
 
-----Original Message-----
From: Anantha Narayanan 
Sent: Wednesday, June 29, 2005 11:09
To: Attila Vizhanyo
Subject: UDM Uml help



	Hi Attila,
	 
	I am trying to use Uml::classByName() method for a feature. It
works with the old udm, but not with udm_ns.
	Please let em know how to call this method in udm_ns.
	 
	Thanks,
	Ananth

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/udm-dev/attachments/20050629/f07b7ae0/attachment.htm


More information about the udm-dev mailing list