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: Reality check, please: Animating user defined Types/Classes
Topic Summary:
Created On: 5-Mar-2007 10:46
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.
 5-Mar-2007 10:46
User is offline View Users Profile Print this message


Jim Spriggs

Posts: 16
Joined: 13-Dec-2006

Hi Guys,

I'd be grateful if someone could confirm that I am (or am not) getting my head round the following...

Assume I'm working in c++, and I define a type like this:

[INDENT]typedef RhpInteger myType;
[/INDENT]
1) If I want to animate myType as an attribute of a class, it is sufficient to provide the operator<< only.

2) Whereas if I want to animate the myType as an argument of an Event or Operation, it is neccessary to provide either the AnimSerializeOperation, or to instantiate X2String<myType>.
In fact, in this case, the operator<< is redundant/irrelevant, even if I do define it for other purposes besides Animation.

How am I doing so far?
Thanks!

-------------------------
--
jim
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.