[Rose-public] Size of types

Quinlan, Dan quinlan1 at llnl.gov
Fri Sep 6 18:00:21 PDT 2013


Hi Greg,
    Perhaps I don't understand, but why is "sizeof(SgType)" not the answer?

Thanks,
Dan

From: <Bronevetsky>, Greg Bronevetsky <bronevetsky1 at llnl.gov<mailto:bronevetsky1 at llnl.gov>>
Date: Friday, September 6, 2013 4:43 PM
To: "rose-public at nersc.gov<mailto:rose-public at nersc.gov>" <rose-public at nersc.gov<mailto:rose-public at nersc.gov>>
Subject: [Rose-public] Size of types

I need to know the number of bytes that a given SgType takes up, much like the size_of() operator in C. Is there already functionality in ROSE to do something like this?

Greg Bronevetsky
Lawrence Livermore National Lab
(925) 424-5756
bronevetsky at llnl.gov<mailto:bronevetsky at llnl.gov>
http://greg.bronevetsky.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nersc.gov/pipermail/rose-public/attachments/20130907/1ffea4ff/attachment.html>


More information about the rose-public mailing list