Update of /cvsroot/objecthandler/ObjectHandler/gensrc/metadata
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11495/gensrc/metadata
Modified Files:
functions.xml
Log Message:
add function ohParseField()
Index: functions.xml
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/metadata/functions.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** functions.xml 23 Jun 2006 17:01:24 -0000 1.8
--- functions.xml 30 Jun 2006 09:33:39 -0000 1.9
***************
*** 427,430 ****
--- 427,455 ----
</Procedure-->
+ <Procedure name='ohParseField'>
+ <description>Extract the ith number from a whitespace-delimited list of fields</description>
+ <functionCategory>ObjectHandler</functionCategory>
+ <alias>ObjHandler::parseField</alias>
+ <ParameterList>
+ <Parameters>
+ <Parameter name='line'>
+ <type>string</type>
+ <tensorRank>scalar</tensorRank>
+ <description>text to be parsed</description>
+ </Parameter>
+ <Parameter name='index'>
+ <type>long</type>
+ <tensorRank>scalar</tensorRank>
+ <description>index (1-based) of desired field</description>
+ </Parameter>
+ </Parameters>
+ </ParameterList>
+ <ReturnValue>
+ <type>double</type>
+ <tensorRank>scalar</tensorRank>
+ <description>requested text field converted to double</description>
+ </ReturnValue>
+ </Procedure>
+
</Functions>
</Category>
|