ajtextdata


Enum AjETextqryType

Enumerated text query type

Enumerated value(s)

Name
TEXTQRY_UNKNOWNUnknown
TEXTQRY_ENTRYSingle entry
TEXTQRY_QUERYQuery
TEXTQRY_ALLAll entries


Enum AjETextqryLink

Text query link operators

Enumerated value(s)

Name
TEXTQRY_INITUndefined
TEXTQRY_ORCurrent OR next
TEXTQRY_ANDCurrent AND next
TEXTQRY_NOTCurrent but NOT next
TEXTQRY_EORCurrent EOR next
TEXTQRY_MAXBeyond last defined value


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
QryFieldsAjPStrQuery fields or ID list
FilenameAjPStrOriginal filename
ListAjPListList of USAs to be read
FilebuffAjPFilebuffInput buffered file
FposajlongInitial file position (fseek) for building USA
CurposajlongCurrent file position (fseek) for latest read
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
DatareadAjBooltrue: input through a loader has started to read
DatadoneAjBooltrue: input through a loader has read everything
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
DatacountajuintNumber of data values read in current entry
RecordsajuintRecords processed
TotRecordsajuintRecords 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
AccessAjBool functionAccess function
AccessFreeAjBool functionAccess 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
PaddingajuintPadding to alignment boundary