40 #include "ling_class/EST_item_aux.h" 41 #include "ling_class/EST_Item.h" 42 #include "EST_String.h" 43 #include "EST_error.h" 45 #include "../base_class/EST_get_function_template.h" 49 defineGetFunction(
EST_Item, f,
float, getFloat)
50 defineGetFunction(
EST_Item, f,
int, getInteger)
55 EST_feat_status status=efs_ok;
58 v = getFloat(item,
"start", -1.0, status);
62 if ((pp = iprev(&item)) != NULL)
63 v = getFloat(*pp,
"end", -1.0, status);
72 EST_feat_status status=efs_ok;
74 v = getFloat(item,
"mid", -1.0, status);
77 v = (start(item)+end(item))/2.0;
86 EST_feat_status status=efs_ok;
88 v = getFloat(item,
"time", -1.0, status);
99 EST_feat_status status=efs_ok;
102 v = getFloat(item,
"end", -1.0, status);
106 if ((nn = inext(&item)) != NULL)
107 v = getFloat(*nn,
"start", -1.0, status);