CWB
Data Fields
TComponent Struct Reference

The Component object. More...

#include <attributes.h>

Data Fields

char * path
 the full filename of this component More...
 
Corpuscorpus
 the corpus this component belongs to More...
 
union _Attributeattribute
 the attribute this component belongs to More...
 
ComponentID id
 the type of this component More...
 
int size
 a copy of the number of items in the structure More...
 
MemBlob data
 the actual contents of this component More...
 

Detailed Description

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.

See also
ComponentID
Attribute
_Attribute

Field Documentation

union _Attribute* attribute
Corpus* corpus

the corpus this component belongs to

Referenced by comp_drop_component(), creat_rev_corpus(), creat_rev_corpus_idx(), and declare_component().

MemBlob data
char* path
int size

The documentation for this struct was generated from the following file: