ajresourcedata


Data type AjPResource

Ajax resource object.

Holds the resource itself, plus associated information.

Alias name(s)

Name
AjSResource
AjOResource

Attributes

NameTypeDescription
IdAjPStrStandard identifier of rerousce
IdaltAjPListAlternative identifiers for this resource
AccAjPStrAccession number for this resource
NameAjPStrName, usually the ID in full
DescAjPStrDescription
UrlAjPStrResource web server
UrllinkAjPStrURL on linking instructions.
UrlrestAjPStrURL of documentation on REST interface
UrlsoapAjPStrURL of documentation on SOAP interface
CatAjPListDatabase category (from drcat.dat)
TaxonAjPListNCBI Taxonomy
EdamdatAjPListEDAM ontology references (retrievable data)
EdamfmtAjPListEDAM ontology references (retrieved data format)
EdamidAjPListEDAM ontology references (query fields)
EdamtpcAjPListEDAM ontology references (data resource topic)
XrefAjPListDatabase cross-reference link details
QueryAjPListFormatted query definitions
ExampleAjPListFormatted query examples
DbAjPStrDatabase name from input
SetdbAjPStrDatabase name from command line
FullAjPStrFull name
QryAjPStrQuery for re-reading
FormatstrAjPStrInput format name
FilenameAjPStrOriginal filename
TextPtrAjPStrFull text
FposajlongFile position
FormatAjEnumInput format enum
CountajuintNumber of lines read


Data type AjPResquery

Ajax data resource query object

Describes a standard public data resource query definition

AjPResquery is implemented as a pointer to a C data structure.

Alias name(s)

Name
AjSResquery
AjOResquery

Attributes

NameTypeDescription
DatatypeAjPStrResource query datatype
FormatAjPStrResource query format
FormatTermAjPStrResource query format EDAM term
TermAjPStrResource query term
UrlAjPStrResource query URL
NtermsajuintNumber of terms


Data type AjPReslink

Ajax data resource link object

Describes a standard public data resource link definition

AjPReslink is implemented as a pointer to a C data structure.

Alias name(s)

Name
AjSReslink
AjOReslink

Attributes

NameTypeDescription
SourceAjPStrResource link source
TermAjPStrResource query terms
NtermsajuintResource query number of terms


Data type AjPResterm

Ajax data resource term object

Describes a standard public data resource term definition

AjPResterm is implemented as a pointer to a C data structure.

Alias name(s)

Name
AjSResterm
AjOResterm

Attributes

NameTypeDescription
IdAjPStrTerm ID in EDAM
NameAjPStrTerm name in EDAM


Data type AjPResourcein

Ajax resource input object.

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

Alias name(s)

Name
AjSResourcein
AjOResourcein

Attributes

NameTypeDescription
InputAjPTextinGeneral text input object
ResourceDatavoid*Format data for reuse, e.g. multiple term input (unused in current code)


Data type AjPResourceall

Ajax data resource all (stream) object.

Inherits an AjPResource but allows more data resources to be read from the same input by also inheriting the AjPResourcein input object.

Alias name(s)

Name
AjSResourceall
AjOResourceall

Attributes

NameTypeDescription
ResourceAjPResourceCurrent term
ResourceinAjPResourceinData resource input for reading next
TotresourcesajulongCount of resources so far
CountajuintCount of resources so far
MultiAjBoolTrue if multiple values are expected
ReturnedAjBoolif true: data resource 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 AjPResourceAccess

Ajax data access database reading object.

Holds information needed to read a resource entry from a database. Access methods are defined for each known database type.

Resource entries are read from the database using the defined database access function, which is usually a static function within ajresourcedb.c

This should be a static data object but is needed for the definition of AjPResourcein.

Alias name(s)

Name
AjSResourceAccess
AjOResourceAccess

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