Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Solution of Return type of class in another package
Topic Summary: Returns instead of Returntype
Created On: 9-Sep-2008 19:45
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 9-Sep-2008 19:45
User is offline View Users Profile Print this message


Sean Duggan

Posts: 29
Joined: 21-Apr-2008

We had this come up at work. One of our templates used "$name of [returnType]" to return the name of the type for return values. An engineer was using classes as the return type and found that Rhapsody interpreted the code above as the return type not existing when the operation and the class that was being returned were in different packages. The solution I found was to use "$name of [returns]" instead. That resolves for native data types, classes within the package, and classes without the package. Figured I would post it on the off chance someone else gets it as a headscratcher.
Report this to a Moderator Report this to a Moderator
 16-Sep-2008 11:49
User is offline View Users Profile Print this message


Matthew Thomas

Posts: 15
Joined: 14-Feb-2008

Great to share such stuff - can be a real time saver.
As well as this forum there is the knowledgebase (e.g. this loosely related posting:
https://kb.telelogic.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=10527&sliceId=1&docTypeID=DT_FAQ&dialogID=748044&stateId=0%200%20744859
)
Does anyone know the procedure for getting knowledge up on the knowledgebase?
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.