<p dir="ltr">I think that's guaranteed to be sizeof (EntityHandle); there's also a cpp variable for that, but can't recall the name. </p>
<div class="gmail_quote">On Aug 4, 2015 6:56 PM, "Anthony Scopatz" <<a href="mailto:scopatz@gmail.com">scopatz@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hello All, <br><br></div>The problem is that right now Tag is forward declared as either <br><br></div>typedef TagInfo* Tag; // or<br>typedef struct TagInfo* Tag;<br><br></div>However, the Core::tag_get_handle() member function takes a Tag& as one of its output arguments. To handle this - even in an opaque way - we need to know the sizeof(TagInfo) so that we can malloc() enough space for it.<br><br>If there is another way to get the size of TagInfo or to get a pointer to a new TagInfo instance through the public interface, please let us know! Including this header file, though, also lets us have a more direct interface to Tags themselves, which I argue is more pythonic. <br><br></div>Be Well<br></div>Anthony<br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 4, 2015 at 3:22 PM Vijay S. Mahadevan <<a href="mailto:vijay.m@gmail.com" target="_blank">vijay.m@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Patrick,<br>
<br>
Almost all of the queries on a Tag can be directed through the<br>
Interface APIs. Is there something that you need from the Python layer<br>
that is not exposed through Interface ? What is the specific use case<br>
that requires access to TagInfo.hpp ?<br>
<br>
Vijay<br>
<br>
On Tue, Aug 4, 2015 at 2:53 PM, Timothy Tautges<br>
<<a href="mailto:timothy.tautges@cd-adapco.com" target="_blank">timothy.tautges@cd-adapco.com</a>> wrote:<br>
> Those details aren't meant to be visible across the API.<br>
><br>
> On Aug 4, 2015 2:34 PM, "Patrick Shriwise" <<a href="mailto:shriwise@wisc.edu" target="_blank">shriwise@wisc.edu</a>> wrote:<br>
>><br>
>> Hi all,<br>
>><br>
>> Anthony and I are down here at NCSA working on a python interface to some<br>
>> of MOAB's more basic functionality for use in yt. We're currently wrapping a<br>
>> bunch of the MOAB classes/functions but we're wondering why arent the<br>
>> TagInfo.hpp and related files aren't included in the install?<br>
>><br>
>> Cheers,<br>
>><br>
>> Patrick<br>
</blockquote></div>
</blockquote></div>