This is what I had to do to be able to return a casa table from a measures tool method.
1. I edited casa/code/xmlcasa/xml/conversions.xml adding the following tag near the beginning of the file with like tags:
>substitute interface="casatable" as="table" in="measures" />
2. I added the following element as a child of the root
<tool>
element in code/xmlcasa/implement/measures/measures.xml
<needs>table</needs>
3. I gave my function a casatable returns type
<returns type="casatable"/>
in code/xmlcasa/implement/measures/measures.xml
4. I implemented a corresponding method with a
table*
return type in code/xmlcasa/implement/measures/measures_cmpt.cc
--
DaveMehringer - 2010-08-27