CWB
Data Fields
TCorpus Struct Reference

Underlying structure for the Corpus class. More...

#include <corpus.h>

Data Fields

char * id
 a unique ID (i.e., the registry name identifying the corpus to the CWB) More...
 
char * name
 the full name of the corpus (descriptive, for information only) More...
 
char * path
 the ``home directory'' of the corpus More...
 
char * info_file
 the path of the info file of the corpus More...
 
CorpusCharset charset
 a special corpus property: specifies character set of the encoded text More...
 
CorpusProperty properties
 head of a linked list of CorpusProperty object. More...
 
char * admin
 {doesn't seem to be used?} More...
 
IDList groupAccessList
 List of groups allowed to access this corpus (can be NULL) More...
 
IDList userAccessList
 List of users allowed to access this corpus (can be NULL) More...
 
IDList hostAccessList
 List of host machines allowed to access this corpus (can be NULL) More...
 
char * registry_dir
 Directory where this corpus's registry file is located. More...
 
char * registry_name
 the cwb-name of this corpus More...
 
int nr_of_loads
 the number of setup_corpus ops More...
 
union _Attributeattributes
 the list of attributes More...
 
struct TCorpusnext
 next entry in a linked-list of loaded corpora More...
 

Detailed Description

Underlying structure for the Corpus class.

Field Documentation

char* admin

{doesn't seem to be used?}

Referenced by cl_delete_corpus().

union _Attribute* attributes
CorpusCharset charset
IDList groupAccessList

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

Referenced by check_access_conditions(), and cl_delete_corpus().

IDList hostAccessList

List of host machines allowed to access this corpus (can be NULL)

Referenced by check_access_conditions(), and cl_delete_corpus().

char* id

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

Referenced by check_access_conditions(), cl_delete_corpus(), cl_new_corpus(), describe_corpus(), do_StructuralContext(), and setup_attribute().

char* info_file

the path of the info file of the corpus

Referenced by cl_delete_corpus(), corpus_info(), describe_corpus(), and describecorpus_show_basic_info().

char* name
struct TCorpus* next

next entry in a linked-list of loaded corpora

Referenced by cl_delete_corpus(), cl_new_corpus(), and find_corpus().

int nr_of_loads

the number of setup_corpus ops

Referenced by cl_delete_corpus(), and cl_new_corpus().

char* path

the ``home directory'' of the corpus

Referenced by cl_delete_corpus(), describe_corpus(), and describecorpus_show_basic_info().

CorpusProperty properties

head of a linked list of CorpusProperty object.

Referenced by add_corpus_property(), and cl_first_corpus_property().

char* registry_dir
char* registry_name
IDList userAccessList

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

Referenced by check_access_conditions(), and cl_delete_corpus().


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