The Component object. More...
#include <attributes.h>
The Component object.
A "component" is one of the data-chunks on disk that make up a CWB corpus. Each corpus attribute (of whatever kind) consists of an array (vector) of components, along with some other fields dependent on what type of attribute it is.
union _Attribute* attribute [write] |
the attribute this component belongs to
Referenced by comp_drop_component(), creat_freqs(), creat_rev_corpus(), creat_rev_corpus_idx(), creat_sort_lexicon(), declare_component(), and describe_component().
the corpus this component belongs to
Referenced by comp_drop_component(), creat_rev_corpus(), creat_rev_corpus_idx(), and declare_component().
the actual contents of this component
Referenced by cl_alg2cpos(), cl_cpos2alg(), collect_matching_ids(), comp_component_state(), comp_drop_component(), creat_freqs(), creat_rev_corpus(), creat_rev_corpus_idx(), creat_sort_lexicon(), create_component(), declare_component(), get_alg_attribute(), get_bounds_of_nth_struc(), get_id_at_position(), get_id_frequency(), get_id_from_sortidx(), get_id_of_string(), get_id_string_len(), get_num_of_struc(), get_positions(), get_string_of_id(), get_struc_attribute(), load_component(), OpenPositionStream(), structure_value(), and validate_revcorp().
the type of this component
Referenced by comp_component_state(), comp_drop_component(), creat_freqs(), declare_component(), and describe_component().
char* path |
the full filename of this component
Referenced by comp_component_state(), comp_drop_component(), component_full_name(), creat_freqs(), creat_rev_corpus(), creat_rev_corpus_idx(), creat_sort_lexicon(), create_component(), declare_component(), describe_component(), and load_component().
int size |
a copy of the number of items in the structure
Referenced by cl_alg2cpos(), cl_cpos2alg(), cl_max_alg(), collect_matches(), collect_matching_ids(), creat_freqs(), creat_rev_corpus_idx(), creat_sort_lexicon(), get_alg_attribute(), get_attribute_size(), get_bounds_of_nth_struc(), get_id_of_string(), get_id_range(), get_id_string_len(), get_nr_of_strucs(), get_num_of_struc(), get_string_of_id(), get_struc_attribute(), load_component(), structure_value(), and validate_revcorp().