comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Object Field Name Conflicts
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Object Field Name Conflicts [message #87339 is a reply to message #87338] Sat, 25 January 2014 19:06 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> In building an object program recently I have a core object that
> inherits IDL_CONTAINER, IDLitCOMPONENT, and IDL_OBJECT objects. I don't
> know the field or tag names of *any* of these objects, which makes
> choosing names for my own object a bit of an adventure.
>
> I've already run into conflict with _parent, _name, and _uvalue. Of
> course, this is not surprising. Great minds think alike and all that.
> But, I wonder if there is a listing of the tag names these objects use?
>
> It would be wonderful if the name space of objects could be protected,
> but failing that, it would be great if we knew what names we can't use.

You may be thinking, "Who cares!? I don't see why this is important."

Here is an example. Presumably the uvalue of one of these objects is
whatever I want it to be. It certainly works that way. So, I guess it
must be something that looks like a pointer. But, I want to have a user
value that I can transfer data into without making an extra copy of the
data. In other words, if I were going to put this in a pointer, I would
do this:

uvalue = Ptr_New(bigData, /No_Copy)

Is this possible with the uvalue in IDLitComponent (where I suspect this
is located)? If so, how would I do it?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: God save me!
Next Topic: urgent-outliers removal

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 10:55:44 PDT 2025

Total time taken to generate the page: 1.20082 seconds