It is currently Wed Feb 08, 2012 5:02 pm

All times are UTC



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.





 Page 1 of 1 [ 1 post ] 
Author Message
 Post subject: Using Rhapsody API in C++
PostPosted: Mon Dec 07, 2009 1:11 pm 

Joined: Mon Dec 07, 2009 1:08 pm
Posts: 1
hello all,

I have a big problem with understanding C++ API from Rhapsody. I looked in Rhapsody_API_manual, but did not find much.
Is there actually some other reference or better small sample with those issues??

What I need to do is:
1) get all packages and classes
2) to instance classes
3) get all attributes and flow ports from INSTANCES.
4) to generate events
5) to connect flow ports

1) the first issue is easy.(copy and paste the sample from Rhapsody_API_manual).
2) To solve the second I use that function: "p->addGlobalObject(instName, classesName, packageName, (IRPRelation**) &ptrInst);"
But I can't tell if its the right one. The objects are added in Rhapsody, but I can't cast the ptrInst pointer to IRPInstance.
3) and now I can't go any futher, bacause a don't have IRPInstance

could somebody please show his code in C++ or at least tell what functions are to be used.

I thank you in advance.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

cron

suspicion-preferred