CWB
|
The Variable object: a list of strings that can be used as a variable within a query (to match all tokens whose type is identical to one of the strings on the list). More...
#include <variables.h>
Data Fields | |
int | valid |
flag: whether I'm valid or not (valid = associated with a corpus/attribute, and known to match at least one entry in that attribute's lexicon) More... | |
char * | my_name |
my name More... | |
char * | my_corpus |
name of corpus I'm valid for More... | |
char * | my_attribute |
name of attribute I'm valid for More... | |
int | nr_valid_items |
only valid after validation More... | |
int | nr_invalid_items |
int | nr_items |
number of items (size of the "items" array) More... | |
VariableItem * | items |
array of items - the set of strings within the variable. More... | |
The Variable object: a list of strings that can be used as a variable within a query (to match all tokens whose type is identical to one of the strings on the list).
(Plus also VariableBuffer: the former is a pointer to the latter.)
VariableItem* items |
array of items - the set of strings within the variable.
Referenced by do_printVariableSize(), GetVariableItems(), GetVariableStrings(), NewVariable(), printSingleVariableValue(), VariableAddItem(), VariableDeleteItems(), VariableItemMember(), VariableSubtractItem(), and VerifyVariable().
char* my_attribute |
name of attribute I'm valid for
Referenced by DropVariable(), NewVariable(), and VerifyVariable().
char* my_corpus |
name of corpus I'm valid for
Referenced by DropVariable(), NewVariable(), and VerifyVariable().
char* my_name |
my name
Referenced by do_printVariableSize(), DropVariable(), NewVariable(), printSingleVariableValue(), and VerifyVariable().
int nr_invalid_items |
Referenced by VariableDeleteItems(), and VerifyVariable().
int nr_items |
number of items (size of the "items" array)
Referenced by do_printVariableSize(), GetVariableItems(), GetVariableStrings(), NewVariable(), printSingleVariableValue(), VariableAddItem(), VariableDeleteItems(), VariableItemMember(), VariableSubtractItem(), and VerifyVariable().
int nr_valid_items |
only valid after validation
Referenced by GetVariableItems(), VariableDeleteItems(), and VerifyVariable().
int valid |
flag: whether I'm valid or not (valid = associated with a corpus/attribute, and known to match at least one entry in that attribute's lexicon)
Referenced by NewVariable(), VariableAddItem(), VariableDeleteItems(), VariableSubtractItem(), and VerifyVariable().