ajassemread.c
Datatypes: AjPAssemin none AjPTable none
Assembly input objects
Sections: Assembly Input Constructors Assembly Input Destructors assembly input modifiers casts Assembly data inputs
All constructors return a new assembly input object by pointer. It
is the responsibility of the user to first destroy any previous
assembly input object. The target pointer does not need to be
initialised to NULL, but it is good programming practice to do so
anyway.
Functions: ajAsseminNew
Creates a new assembly input object.
Synopsis
Prototype
AjPAssemin ajAsseminNew (
void
);
Type | Name | Read/Write | Description |
AjPAssemin | | RETURN | New assembly input object. |
Returns
AjPAssemin: | New assembly input object. |
Description
Creates a new assembly input object.
See Also
See other functions in this section
Availability
In release 6.4.0
Destruction destroys all internal data structures and frees the
memory allocated for the assembly input object.
Functions: ajAsseminDel
Deletes an assembly input object.
Synopsis
Prototype
void ajAsseminDel (
AjPAssemin* pthis
);
Type | Name | Read/Write | Description |
AjPAssemin* | pthis | Delete | Assembly input |
void | | RETURN | |
Output
pthis: | (Delete) | Assembly input |
Returns
Description
Deletes an assembly input object.
See Also
See other functions in this section
Availability
In release 6.4.0
These functions use the contents of an assembly input object and
update them.
Functions: ajAsseminClear ajAsseminQryC ajAsseminQryS
Clears an assembly input object back to "as new" condition, except
for the query list which must be preserved.
Synopsis
Prototype
void ajAsseminClear (
AjPAssemin thys
);
Type | Name | Read/Write | Description |
AjPAssemin | thys | Output | Assembly input |
void | | RETURN | |
Output
thys: | (Output) | Assembly input |
Returns
Description
Clears an assembly input object back to "as new" condition, except
for the query list which must be preserved.
See Also
See other functions in this section
Availability
In release 6.4.0
Resets an assembly input object using a new Universal
Query Address
Synopsis
Prototype
void ajAsseminQryC (
AjPAssemin thys,
const char* txt
);
Type | Name | Read/Write | Description |
AjPAssemin | thys | Modify | Assembly input object. |
const char* | txt | Input | Query |
void | | RETURN | |
Input
Input & Output
thys: | (Modify) | Assembly input object. |
Returns
Description
Resets an assembly input object using a new Universal
Query Address
See Also
See other functions in this section
Availability
In release 6.4.0
Resets an assembly input object using a new Universal
Query Address
Synopsis
Prototype
void ajAsseminQryS (
AjPAssemin thys,
const AjPStr str
);
Type | Name | Read/Write | Description |
AjPAssemin | thys | Modify | Assembly input object. |
const AjPStr | str | Input | Query |
void | | RETURN | |
Input
Input & Output
thys: | (Modify) | Assembly input object. |
Returns
Description
Resets an assembly input object using a new Universal
Query Address
See Also
See other functions in this section
Availability
In release 6.4.0
Return values
Functions: ajAsseminTrace
Debug calls to trace the data in an assembly input object.
Synopsis
Prototype
void ajAsseminTrace (
const AjPAssemin thys
);
Type | Name | Read/Write | Description |
const AjPAssemin | thys | Input | Assembly input object. |
void | | RETURN | |
Input
thys: | (Input) | Assembly input object. |
Returns
Description
Debug calls to trace the data in an assembly input object.
See Also
See other functions in this section
Availability
In release 6.4.0
These functions read the assembly data provided by the first argument
Functions: ajAsseminRead
If the file is not yet open, calls asseminQryProcess to convert the query
into an open file stream.
Uses asseminRead for the actual file reading.
Returns the results in the AjPAssem object.
Synopsis
Prototype
AjBool ajAsseminRead (
AjPAssemin assemin,
AjPAssem assem
);
Type | Name | Read/Write | Description |
AjPAssemin | assemin | Modify | assembly data input definitions |
AjPAssem | assem | Output | assembly data returned. |
AjBool | | RETURN | ajTrue on success. |
Output
assem: | (Output) | assembly data returned. |
Input & Output
assemin: | (Modify) | assembly data input definitions |
Returns
AjBool: | ajTrue on success. |
Description
If the file is not yet open, calls asseminQryProcess to convert the query
into an open file stream.
Uses asseminRead for the actual file reading.
Returns the results in the AjPAssem object.
See Also
See other functions in this section
Availability
In release 6.4.0
Miscellaneous
Sections: Print Miscellaneous Internals
Printing to a file
Functions: ajAsseminprintBook ajAsseminprintHtml ajAsseminprintText ajAsseminprintWiki
Reports the internal data structures as a Docbook table
Synopsis
Prototype
void ajAsseminprintBook (
AjPFile outf
);
Type | Name | Read/Write | Description |
AjPFile | outf | Modify | Output file |
void | | RETURN | |
Input & Output
Returns
Description
Reports the internal data structures as a Docbook table
See Also
See other functions in this section
Availability
In release 6.4.0
Reports the internal data structures as an HTML table
Synopsis
Prototype
void ajAsseminprintHtml (
AjPFile outf
);
Type | Name | Read/Write | Description |
AjPFile | outf | Modify | Output file |
void | | RETURN | |
Input & Output
Returns
Description
Reports the internal data structures as an HTML table
See Also
See other functions in this section
Availability
In release 6.4.0
Reports the internal data structures
Synopsis
Prototype
void ajAsseminprintText (
AjPFile outf,
AjBool full
);
Type | Name | Read/Write | Description |
AjPFile | outf | Modify | Output file |
AjBool | full | Input | Full report (usually ajFalse) |
void | | RETURN | |
Input
full: | (Input) | Full report (usually ajFalse) |
Input & Output
Returns
Description
Reports the internal data structures
See Also
See other functions in this section
Availability
In release 6.4.0
Reports the internal data structures as a wiki table
Synopsis
Prototype
void ajAsseminprintWiki (
AjPFile outf
);
Type | Name | Read/Write | Description |
AjPFile | outf | Modify | Output file |
void | | RETURN | |
Input & Output
Returns
Description
Reports the internal data structures as a wiki table
See Also
See other functions in this section
Availability
In release 6.4.0
Functions to initialise and clean up internals
Functions: ajAsseminExit
Cleans up assembly input internal memory
Synopsis
Prototype
void ajAsseminExit (
void
);
Type | Name | Read/Write | Description |
void | | RETURN | |
Returns
Description
Cleans up assembly input internal memory
See Also
See other functions in this section
Availability
In release 6.4.0
Functions to return internal values
Functions: ajAsseminTypeGetFields ajAsseminTypeGetQlinks
Returns the listof known field names for ajAsseminRead
Synopsis
Prototype
const char* ajAsseminTypeGetFields (
void
);
Type | Name | Read/Write | Description |
const char* | | RETURN | List of field names |
Returns
const char*: | List of field names |
Description
Returns the listof known field names for ajAsseminRead
See Also
See other functions in this section
Availability
In release 6.4.0
Returns the listof known query link operators for ajAsseminRead
Synopsis
Prototype
const char* ajAsseminTypeGetQlinks (
void
);
Type | Name | Read/Write | Description |
const char* | | RETURN | List of field names |
Returns
const char*: | List of field names |
Description
Returns the listof known query link operators for ajAsseminRead
See Also
See other functions in this section
Availability
In release 6.4.0
Internal call register table
Sections: Cast
Return a reference to the call table
Functions: ajAssemaccessGetDb ajAssemaccessMethodGetQlinks ajAssemaccessMethodGetScope ajAssemaccessMethodTest
Returns the table in which assembly database access details are registered
Synopsis
Prototype
AjPTable ajAssemaccessGetDb (
void
);
Type | Name | Read/Write | Description |
AjPTable | | RETURN | Access functions hash table |
Returns
AjPTable: | Access functions hash table |
Description
Returns the table in which assembly database access details are registered
See Also
See other functions in this section
Availability
In release 6.4.0
Tests for a named method for assembly data reading returns the
known query link operators
Synopsis
Prototype
const char* ajAssemaccessMethodGetQlinks (
const AjPStr method
);
Type | Name | Read/Write | Description |
const AjPStr | method | Input | Method required. |
const char* | | RETURN | Known link operators |
Input
method: | (Input) | Method required. |
Returns
const char*: | Known link operators |
Description
Tests for a named method for assembly data reading returns the
known query link operators
See Also
See other functions in this section
Availability
In release 6.4.0
Tests for a named method for assembly data reading and returns the scope
(entry, query or all).
Synopsis
Prototype
ajuint ajAssemaccessMethodGetScope (
const AjPStr method
);
Type | Name | Read/Write | Description |
const AjPStr | method | Input | Method required. |
ajuint | | RETURN | Scope flags |
Input
method: | (Input) | Method required. |
Returns
Description
Tests for a named method for assembly data reading and returns the scope
(entry, query or all).
See Also
See other functions in this section
Availability
In release 6.4.0
Tests for a named method for assembly data reading.
Synopsis
Prototype
AjBool ajAssemaccessMethodTest (
const AjPStr method
);
Type | Name | Read/Write | Description |
const AjPStr | method | Input | Method required. |
AjBool | | RETURN | ajTrue on success. |
Input
method: | (Input) | Method required. |
Returns
AjBool: | ajTrue on success. |
Description
Tests for a named method for assembly data reading.
See Also
See other functions in this section
Availability
In release 6.4.0
Input formats
Sections: cast
Values for input formats
Functions: ajAsseminformatTerm ajAsseminformatTest
Tests whether a assembly data input format term is known
Synopsis
Prototype
AjBool ajAsseminformatTerm (
const AjPStr term
);
Type | Name | Read/Write | Description |
const AjPStr | term | Input | Format term EDAM ID |
AjBool | | RETURN | ajTrue if formats was accepted |
Input
term: | (Input) | Format term EDAM ID |
Returns
AjBool: | ajTrue if formats was accepted |
Description
Tests whether a assembly data input format term is known
See Also
See other functions in this section
Availability
In release 6.4.0
Tests whether a named assembly data input format is known
Synopsis
Prototype
AjBool ajAsseminformatTest (
const AjPStr format
);
Type | Name | Read/Write | Description |
const AjPStr | format | Input | Format |
AjBool | | RETURN | ajTrue if format was accepted |
Input
Returns
AjBool: | ajTrue if format was accepted |
Description
Tests whether a named assembly data input format is known
See Also
See other functions in this section
Availability
In release 6.4.0