ajtextdata


Data type AjPText

Ajax Text data object.

Holds the input specification and information needed to read the entry text and possible further entries

Alias name(s)

Name
AjSText
AjOText

Attributes

NameTypeDescription
IdAjPStrId of text item
DbAjPStrDatabase name from input
SetdbAjPStrDatabase name from command line
FullAjPStrFull name
QryAjPStrQuery for re-reading
FormatstrAjPStrInput format name
FilenameAjPStrOriginal filename
LinesAjPListLines of input data
FposajlongFile position
FormatAjEnumInput format enum
CountajuintNumber of lines read


Data type AjPTextin

Ajax Text Input object.

Holds the input specification and information needed to read the entry text and possible further entries

Alias name(s)

Name
AjSTextin
AjOTextin

Attributes

NameTypeDescription
DbAjPStrDatabase name (from commandline, replace on reading)
QryAjPStrQuerystring for the entry
FormatstrAjPStrInput format name
FilenameAjPStrOriginal filename
ListAjPListList of USAs to be read
FilebuffAjPFilebuffInput buffered file
FposajlongFile position (fseek) for building USA
QueryAjPQueryQuery data
TextDatavoid*Format data for reuse, e.g. multiple entry input
SearchAjBoolSearch for more entries (always true?)
SingleAjBoolRead single entries
MultiAjBoolMultiple entry input
CaseIdAjBoolId case sensitive (default false)
TextAjBooltrue: save full text of entry
ChunkEntriesAjBooltrue: access method returns entries in chunks and should be called again when input is empty
Countajuintcount of entries so far. Used when ACD reads first entry and we need to reuse it in a Next loop
FilecountajuintNumber of files read
EntrycountajuintNumber of entries in file
RecordsajuintRecords processed
FormatAjEnumText input format enum
TextFormatAjEnumText input format enum


Data type AjPTextall

Ajax text data all (stream) object.

Inherits an AjPText but allows more text blocks to be read from the same input by also inheriting the AjPTextin input object.

Alias name(s)

Name
AjSTextall
AjOTextall

Attributes

NameTypeDescription
TextAjPTextCurrent text block
TextinAjPTextinText input for reading next
TottermsajulongCount of terms so far
CountajuintCount of terms so far
MultiAjBoolTrue if multiple values are expected
ReturnedAjBoolif true: Text object has been returned to a new owner and is not to be deleted by the destructor
Paddingchar[4]Padding to alignment boundary


Data type AjPTextAccess

Ajax Text Access database reading object.

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.

Alias name(s)

Name
AjSTextAccess
AjOTextAccess

Attributes

NameTypeDescription
Nameconst char*Access method name used in emboss.default
Access(AjBool*)Access function
AccessFree(AjBool*)Access cleanup function
Qlinkconst char*Supported query link operators
Descconst char*Description
AliasAjBoolAlias for another name
EntryAjBoolSupports retrieval of single entries
QueryAjBoolSupports retrieval of selected entries
AllAjBoolSupports retrieval of all entries
ChunkedAjBoolSupports retrieval of entries in chunks