help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave_value::rep


From: Paul Thomas
Subject: Re: Octave_value::rep
Date: Fri, 10 Dec 2004 07:36:54 +0100

Muthu,

Take a look at page 58 onwards in James O Coplein's book "Advanced C++ Programming Styles and Idioms" or in Jens Rueckenagels Thesis http://www.stud.tu-ilmenau.de/~rueckn/Oct_Interpreter_Compiler.pdf page 10.

Regards

Paul Thomas

----- Original Message ----- From: "Muthu" <address@hidden>
To: <address@hidden>
Sent: Friday, December 10, 2004 6:22 AM
Subject: Octave_value::rep


Hello!
Thanks a lot David!
I it works great. I still have one question regarding
the octave_value class, which has a union member
called
rep. Is this where the pointer to my object is stored,
when we do typecasting[narrowing] of  GdBoxed object
into octave_value ?

Is this why we use this code you suggested ?
    GdRep = ((const GdBoxed&) args(0)).get_rep();

Well thanks again.

Cheers
Muthu.





__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------






-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]