Holds the var itself, plus associated information.
| Name |
|---|
| AjSVar |
| AjOVar |
| Name | Type | Description |
|---|---|---|
| Id | AjPStr | Id of term |
| Db | AjPStr | Database name from input |
| Setdb | AjPStr | Database name from command line |
| Full | AjPStr | Full name |
| Qry | AjPStr | Query for re-reading |
| Formatstr | AjPStr | Input format name |
| Filename | AjPStr | Original filename |
| Lines | AjPStr* | Full text |
| Fpos | ajlong | File position |
| Format | AjEnum | Input format enum |
| Count | ajuint | Number of lines read |
Holds the input specification and information needed to read the var and possible further entries
| Name |
|---|
| AjSVarin |
| AjOVarin |
| Name | Type | Description |
|---|---|---|
| Input | AjPTextin | General text input object |
| VarData | void* | Format data for reuse, e.g. multiple term input (unused in current code) |
Inherits an AjPVar but allows more variations to be read from the same input by also inheriting the AjPVarin input object.
| Name |
|---|
| AjSVarall |
| AjOVarall |
| Name | Type | Description |
|---|---|---|
| Var | AjPVar | Current variation |
| Varin | AjPVarin | Variation input for reading next |
| Totterms | ajulong | Count of terms so far |
| Count | ajuint | Count of terms so far |
| Multi | AjBool | True if multiple values are expected |
| Returned | AjBool | if true: Variation object has been returned to a new owner and is not to be deleted by the destructor |
| Padding | char[4] | Padding to alignment boundary |
Holds information needed to read a var entry from a database. Access methods are defined for each known database type.
Var entries are read from the database using the defined database access function, which is usually a static function within ajvardb.c
This should be a static data object but is needed for the definition of AjPVarin.
| Name |
|---|
| AjSVarAccess |
| AjOVarAccess |
| Name | Type | Description |
|---|---|---|
| Name | const char* | Access method name used in emboss.default |
| Access | (AjBool*) | Access function |
| AccessFree | (AjBool*) | Access cleanup function |
| Qlink | const char* | Supported query link operators |
| Desc | const char* | Description |
| Alias | AjBool | Alias for another name |
| Entry | AjBool | Supports retrieval of single entries |
| Query | AjBool | Supports retrieval of selected entries |
| All | AjBool | Supports retrieval of all entries |
| Chunked | AjBool | Supports retrieval of entries in chunks |