Holds the url itself, plus associated information.
| Name |
|---|
| AjSUrl |
| AjOUrl |
| 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 |
| Resqry | AjPResquery | Resource query |
| 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 url and possible further entries
| Name |
|---|
| AjSUrlin |
| AjOUrlin |
| Name | Type | Description |
|---|---|---|
| Input | AjPTextin | General text input object |
| Resource | AjPResource | Resource object |
| UrlList | AjPList | Result URLs list |
| QryList | AjPList | Resource query objects for result URLs list |
| UrlData | void* | Format data for reuse, e.g. multiple term input (unused in current code) |
| Identifiers | AjPStr | Identifiers of source entry |
| Accession | AjPStr | Accession number of source entry |
| IdTypes | AjPStr | Identifier types in DRCAT |
| IsSwiss | AjBool | True if URL is from a SwissProt reference |
| IsEmbl | AjBool | True if URL is from an Embl/GenBank/DDBJ reference |
Inherits an AjPUrl but allows more URLs to be read from the same input by also inheriting the AjPUrlin input object.
| Name |
|---|
| AjSUrlall |
| AjOUrlall |
| Name | Type | Description |
|---|---|---|
| Url | AjPUrl | Current URL |
| Urlin | AjPUrlin | URL 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: URL 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 an url entry from a database. Access methods are defined for each known database type.
Url entries are read from the database using the defined database access function, which is usually a static function within ajurldb.c
This should be a static data object but is needed for the definition of AjPUrlin.
| Name |
|---|
| AjSUrlAccess |
| AjOUrlAccess |
| 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 |