| Name | |
|---|---|
| ajEOutfileTypeUnknown | Unknown - none of these |
| ajEOutfileTypeAssembly | Assembly |
| ajEOutfileTypeCodon | Codon usage |
| ajEOutfileTypeCPDB | Clean PDB |
| ajEOutfileTypeDiscrete | Discrete data |
| ajEOutfileTypeDistance | Distance matrix data |
| ajEOutfileTypeFrequency | Frequency data |
| ajEOutfileTypeMatrix | Integer matrix data |
| ajEOutfileTypeMatrixF | Floating point matrix data |
| ajEOutfileTypeOBO | OBO ontology data |
| ajEOutfileTypeProperties | Phylogenetic properties |
| ajEOutfileTypeRefseq | Reference sequence data |
| ajEOutfileTypeResource | Data resource catalogue data |
| ajEOutfileTypeSCOP | SCOP data |
| ajEOutfileTypeTaxon | NCBI taxonomy data |
| ajEOutfileTypeText | Text data |
| ajEOutfileTypeTree | Phylogenetic tree data |
| ajEOutfileTypeURL | URL data |
| ajEOutfileTypeVariation | Variation data |
| ajEOutfileTypeXml | XML data |
On output, conversion code "%F" writes the filename.
| Name |
|---|
| AjSFile |
| AjOFile |
| Name | Type | Description |
|---|---|---|
| fp | FILE* | C file pointer |
| Name | AjPStr | File name as used when opening |
| Printname | AjPStr | File name in a clean form for reporting |
| List | AjPList | List of file names (first is open) |
| End | AjBool | True if EOF has been reached |
| App | AjBool | True if file was opened for append. |
| Buff | AjPStr | Buffer for latest line read |
| Workbuffer | char* | Block as a buffer for fgets etc |
| Readblock | char* | Block as a buffer for fread |
| Filepos | ajlong | File offset for start of latest read |
| Blocksize | ajuint | Read block maximum size |
| Blockpos | ajuint | Read block position |
| Blocklen | ajuint | Read block length used |
| Buffsize | ajuint | Buffer size (zero for default size) |
| Handle | ajint | AJAX file number 0 if unused |
| Pid | pid_t | Process PID if any (non-WIN32 only) |
| Process | HANDLE | Process handle (WIN32 only) |
| Thread | HANDLE | Thread handle (WIN32 only) |
This is a substructure of the AjPFilebuff object.
| Name |
|---|
| AjSFilebufflist |
| AjSOilebufflist |
| Name | Type | Description |
|---|---|---|
| Line | AjPStr | String : this line |
| Next | struct AjSFilebufflist* | Next line in the list, NULL for last |
| Fpos | ajlong | File offset for start of this line |
| Name |
|---|
| AjSFilebuff |
| AjOFilebuff |
| Name | Type | Description |
|---|---|---|
| File | AjPFile | The input file - data to be buffered |
| Lines | AjPFilebufflist | All lines ... where the data really is |
| Freelines | AjPFilebufflist | Free list of lines for reuse |
| Curr | AjPFilebufflist | Current line in Lines list |
| Prev | AjPFilebufflist | Previous line (points to Curr for delete) |
| Last | AjPFilebufflist | Last line for quick appending |
| Freelast | AjPFilebufflist | Last free line for quick append |
| Nobuff | AjBool | if true, do not buffer the file |
| Pos | ajint | Position in list |
| Size | ajint | Size of list |
| FreeSize | ajint | Size of free list |
| Fpos | ajlong | File position in File |
| Name |
|---|
| AjSDir |
| AjODir |
| Name | Type | Description |
|---|---|---|
| Name | AjPStr | Path |
| Printname | AjPStr | Directory path in a clean form for reporting |
| Prefix | AjPStr | Default filename prefix |
| Extension | AjPStr | Default file extension |
| Name |
|---|
| AjSDirout |
| AjODirout |
| Name | Type | Description |
|---|---|---|
| Name | AjPStr | Path |
| Printname | AjPStr | Directory path in a clean form for reporting |
| Extension | AjPStr | Default file extension |
| Created | AjBool | New directory created |
| Padding | char[4] | Padding to alignment boundary |
On output, conversion code "%F" writes the filename.
| Name |
|---|
| AjSOutfile |
| AjOOutfile |
| Name | Type | Description |
|---|---|---|
| File | AjPFile | File object |
| Type | AjPStr | Named data file type |
| Formatstr | AjPStr | Format specific for this data type |
| Cleanup | void function | Function to write remaining lines on closing |
| OutData | void* | Format data for reuse, e.g. multiple entry output |
| Itype | ajuint | Index number for Type |
| Format | ajint | Index for Formatstr for this data type |
| Records | ajuint | Number of records written |
| Padding | char[4] | Padding to alignment boundary |