Holds the xml itself, plus associated information.
| Name |
|---|
| AjSXml |
| AjOXml |
| 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 |
| Doc | AjPDomDocument | Parsed document |
| TextPtr | 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 xml and possible further entries
| Name |
|---|
| AjSXmlin |
| AjOXmlin |
| Name | Type | Description |
|---|---|---|
| Input | AjPTextin | General text input object |
| XmlData | void* | Format data for reuse, e.g. multiple term input (unused in current code) |
Inherits an AjPXml but allows more xmls to be read from the same input by also inheriting the AjPXmlin input object.
| Name |
|---|
| AjSXmlall |
| AjOXmlall |
| Name | Type | Description |
|---|---|---|
| Xml | AjPXml | Current xml |
| Xmlin | AjPXmlin | Xml 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: Xml 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 xml entry from a database. Access methods are defined for each known database type.
Xml entries are read from the database using the defined database access function, which is usually a static function within ajxmldb.c
This should be a static data object but is needed for the definition of AjPXmlin.
| Name |
|---|
| AjSXmlAccess |
| AjOXmlAccess |
| Name | Type | Description |
|---|---|---|
| Name | const char* | Access method name used in emboss.default |
| Access | AjBool function | Access function |
| AccessFree | AjBool function | 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 |