I added a public 'int size();' to my *_Array classes. It is useful for determining the size of the _Array.
In ArrayParamHeaderWriter.java->writeMethods() add
writer.write("\t\tint size();\n");
In ArrayParamWriter.java->writeMethods() add
this.writeSizeMethod();
Add this method:
/**
* @throws WrapperFault
*/
protected void writeSizeMethod() throws WrapperFault
{
try
{
writer.write("int " + classname + "::" + "size()\n");
writer.write("{\n");
writer.write("\treturn m_Size;\n");
writer.write("}\n\n");
}
catch (IOException e)
{
throw new WrapperFault(e);
}
}
Ryan McCullough | RightNow Technologies | Integration Tools Engineer
406-556-3162 office | Bozeman, MT | <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] | <http://www.rightnow.com/>
http://www.rightnow.com
smime.p7s
Description: S/MIME cryptographic signature
