Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Silly question on CDT classes!

Thank you.

 

Best regards,

Felipe

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Beth Tibbitts
Sent: Tuesday, June 29, 2010 1:35 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Silly question on CDT classes!

 

You can use either one. But the I* public interface is safer, because it is less likely to change in the future.
That's why you are "discouraged" to use the other one.


...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform http://eclipse.org/ptp
IBM STG Communications Protocols and Tools
Mailing Address: IBM Corp., Coldstream Research Campus, 745 West New Circle Road, Lexington, KY 40511

Inactive hide details for John Cortell ---06/29/2010 01:05:43 PM---One is an internal, implementation class. The other is a pubJohn Cortell ---06/29/2010 01:05:43 PM---One is an internal, implementation class. The other is a public interface. John


From:


John Cortell <rat042@xxxxxxxxxxxxx>


To:


"CDT General developers list." <cdt-dev@xxxxxxxxxxx>, "CDT General developers list." <cdt-dev@xxxxxxxxxxx>


Date:


06/29/2010 01:05 PM


Subject:


Re: [cdt-dev] Silly question on CDT classes!


Sent by:


cdt-dev-bounces@xxxxxxxxxxx





One is an internal, implementation class. The other is a public interface.

John

At 12:59 PM 6/29/2010, Figuer, Felipe A wrote:

Content-Class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01CB17B5.0269BDF7"

This may be a silly question but I bet you have the answer.

I have been playing with the CDT source writing some static checkers.

At some point while debugging I see the object class says for example CASTFunctionCallExpression.

I cast my _expression_ to that but I get a warning discouraging the use of CASTFunctionCallExpression so I use instead IASTFunctionCallExpression.

Therefore my question is what is the difference between C*_expression_ and I*_expression_. They seem brothers to me.

Why is it discouraging?

Thanks in advance,

Felipe Antonio Martinez Figueroa.
+52 442 1030500 Ext.1249.
felipe.a.figuer@xxxxxxxxxx

Delphi Electronics & Safety
Software Development Tools & Expert Synergy User & Suggestions Committee Leader

Queretaro Technical Center.
Circuito Palma Cocotera No. 2059.
Fraccionamiento Palmares.
Queretaro, Qro. CP 76127
Mexico
.


****************************************************************************************

Note:  If the reader of this message is not the intended recipient,
or an employee or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If
you have received this communication in error, please notify us
immediately by replying to the message and deleting it from your
computer. Thank you.

****************************************************************************************

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

****************************************************************************************
Note:  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. 
****************************************************************************************

 

****************************************************************************************

Note:  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. 

****************************************************************************************

Back to the top