Holds the input specification and information needed to read the entry text and possible further entries
| Name |
|---|
| AjSText |
| AjOText |
| Name | Type | Description |
|---|---|---|
| Id | AjPStr | Id of text item |
| 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 | AjPList | Lines of input data |
| 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 entry text and possible further entries
| Name |
|---|
| AjSTextin |
| AjOTextin |
| Name | Type | Description |
|---|---|---|
| Db | AjPStr | Database name (from commandline, replace on reading) |
| Qry | AjPStr | Querystring for the entry |
| Formatstr | AjPStr | Input format name |
| Filename | AjPStr | Original filename |
| List | AjPList | List of USAs to be read |
| Filebuff | AjPFilebuff | Input buffered file |
| Fpos | ajlong | File position (fseek) for building USA |
| Query | AjPQuery | Query data |
| TextData | void* | Format data for reuse, e.g. multiple entry input |
| Search | AjBool | Search for more entries (always true?) |
| Single | AjBool | Read single entries |
| Multi | AjBool | Multiple entry input |
| CaseId | AjBool | Id case sensitive (default false) |
| Text | AjBool | true: save full text of entry |
| ChunkEntries | AjBool | true: access method returns entries in chunks and should be called again when input is empty |
| Count | ajuint | count of entries so far. Used when ACD reads first entry and we need to reuse it in a Next loop |
| Filecount | ajuint | Number of files read |
| Entrycount | ajuint | Number of entries in file |
| Records | ajuint | Records processed |
| Format | AjEnum | Text input format enum |
| TextFormat | AjEnum | Text input format enum |
Inherits an AjPText but allows more text blocks to be read from the same input by also inheriting the AjPTextin input object.
| Name |
|---|
| AjSTextall |
| AjOTextall |
| Name | Type | Description |
|---|---|---|
| Text | AjPText | Current text block |
| Textin | AjPTextin | Text 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: Text 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 text entry from a database. Access methods are defined for each known database type.
Text entries are read from the database using the defined database access function, which is usually a static function within ajtextdb.c
This should be a static data object but is needed for the definition of AjPTextin.
| Name |
|---|
| AjSTextAccess |
| AjOTextAccess |
| 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 |