TCorpus Struct Reference

Underlying structure for the Corpus class. More...

#include <corpus.h>

Data Fields


Detailed Description

Underlying structure for the Corpus class.


Field Documentation

char* admin

{doesn't seem to be used?}

Referenced by drop_corpus().

union _Attribute* attributes [write]

a special corpus property: internal support for 'latin1' to 'latin9' planned

Referenced by add_corpus_property(), catalog_corpus(), cl_corpus_charset(), corpus_info(), print_group(), print_tabulation(), and SortSubcorpus().

List of groups allowed to access this corpus (can be NULL).

Referenced by check_access_conditions(), and drop_corpus().

char* id

a unique ID (i.e., the registry name identifying the corpus to the CWB)

Referenced by check_access_conditions(), describe_corpus(), do_StructuralContext(), drop_corpus(), setup_attribute(), and setup_corpus().

char* info_file

the path of the info file of the corpus

Referenced by corpus_info(), describe_corpus(), drop_corpus(), and show_basic_info().

char* name
struct TCorpus* next [read]

next entry in a linked-list of loaded corpora

Referenced by drop_corpus(), find_corpus(), and setup_corpus().

the number of setup_corpus ops

Referenced by drop_corpus(), and setup_corpus().

char* path

the ``home directory'' of the corpus

Referenced by describe_corpus(), drop_corpus(), and show_basic_info().

head of a linked list of CorpusProperty object.

Referenced by add_corpus_property(), and cl_first_corpus_property().

char* registry_dir

Directory where this corpus's registry file is located.

Referenced by compute_code_lengths(), describe_corpus(), drop_corpus(), find_corpus(), GetSystemCorpus(), main(), setup_corpus(), and show_basic_info().

List of users allowed to access this corpus (can be NULL).

Referenced by check_access_conditions(), and drop_corpus().


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

Generated on Sun Feb 28 18:08:04 2010 for CWB by  doxygen 1.6.1