55 return "<<EST_Item_featfunc>>";
68 cerr <<
"item featfunc \"" << name <<
69 "\" redefined definition" << endl;
83 EST_error(
"featfunc %p has no name", func);
105 EST_error(
"val not of type val_type_featfunc");
116 void val_copy_featfunc(
void *v1,
void *v2)
135 else if ((r == 0) || (r->
f(
"timing-style") !=
"segment"))
136 return s->
f(
"start");
146 return prev(fl)->
f(
"end");
EST_Val est_val(const EST_Item_featfunc f)
EST_Val(* EST_Item_featfunc)(class EST_Item *)
EST_Item_featfunc get_featfunc(const EST_String name, int must=0)
EST_Item_featfunc featfunc(const EST_Val &v)
void register_func(const EST_String &name, const EST_Item_featfunc func)
EST_Item * as_relation(const char *relname) const
View item from another relation (const char *) method.
const EST_Val f(const EST_String &name) const
val_type val_type_featfunc
const EST_String & relation_name() const
The relation name of this particular item.
val_type type(void) const
EST_String get_featname(const EST_Item_featfunc func)
EST_String get_featfunc_name(const EST_Item_featfunc func, int &found) const
const void * internal_ptr(void) const
const char * error_name(EST_Item_featfunc f)
static EST_FeatureFunctionContext * global
EST_Relation * relation(void) const
The relation of this particular item.
EST_Item_featfunc get_featfunc(const EST_String &name, int must)
void register_featfunc(const EST_String &name, const EST_Item_featfunc func)
void val_delete_featfunc(void *v)
EST_Item * first_leaf() const
void EST_register_feature_function_package(const char *name, void(*init_fn)(EST_FeatureFunctionPackage &p))
void add_package(EST_FeatureFunctionPackage *package)