ajvarwrite.c
Datatypes: AjPoutfile none
Variation data output
Sections: variation data outputs
These functions write the variation data provided by the first argument
Functions: ajVaroutWrite
Write variation data in a named format
Synopsis
Prototype
AjBool ajVaroutWrite (
AjPOutfile outf,
const AjPVar var
);
Type | Name | Read/Write | Description |
AjPOutfile | outf | Modify | Output file |
const AjPVar | var | Input | Variation object |
AjBool | | RETURN | True on success |
Input
var: | (Input) | Variation object |
Input & Output
Returns
Description
Write variation data in a named format
See Also
See other functions in this section
Availability
In release 6.4.0
Miscellaneous functions
Sections: Print
Printing to a file
Functions: ajVaroutprintBook ajVaroutprintHtml ajVaroutprintText ajVaroutprintWiki
Reports the variation format internals as Docbook text
Synopsis
Prototype
void ajVaroutprintBook (
AjPFile outf
);
Type | Name | Read/Write | Description |
AjPFile | outf | Modify | Output file |
void | | RETURN | |
Input & Output
Returns
Description
Reports the variation format internals as Docbook text
See Also
See other functions in this section
Availability
In release 6.4.0
Reports the internal data structures
Synopsis
Prototype
void ajVaroutprintHtml (
AjPFile outf
);
Type | Name | Read/Write | Description |
AjPFile | outf | Modify | Output file |
void | | RETURN | |
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
Synopsis
Prototype
void ajVaroutprintText (
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 variation output format internals as wikitext
Synopsis
Prototype
void ajVaroutprintWiki (
AjPFile outf
);
Type | Name | Read/Write | Description |
AjPFile | outf | Modify | Output file |
void | | RETURN | |
Input & Output
Returns
Description
Reports the variation output format internals as wikitext
See Also
See other functions in this section
Availability
In release 6.4.0
Values for output formats
Functions: ajVaroutformatFind ajVaroutformatTest
Looks for the specified format(s) in the internal definitions and
returns the index.
Sets iformat as the recognised format, and returns ajTrue.
Synopsis
Prototype
AjBool ajVaroutformatFind (
const AjPStr format,
ajint* iformat
);
Type | Name | Read/Write | Description |
const AjPStr | format | Input | Format required. |
ajint* | iformat | Output | Index |
AjBool | | RETURN | ajTrue on success. |
Input
format: | (Input) | Format required. |
Output
Returns
AjBool: | ajTrue on success. |
Description
Looks for the specified format(s) in the internal definitions and
returns the index.
Sets iformat as the recognised format, and returns ajTrue.
See Also
See other functions in this section
Availability
In release 6.4.0
Tests whether a named variation output format is known
Synopsis
Prototype
AjBool ajVaroutformatTest (
const AjPStr format
);
Type | Name | Read/Write | Description |
const AjPStr | format | Input | Format |
AjBool | | RETURN | ajTrue if formats was accepted |
Input
Returns
AjBool: | ajTrue if formats was accepted |
Description
Tests whether a named variation output format is known
See Also
See other functions in this section
Availability
In release 6.4.0
Functions to initialise and clean up internals
Functions: ajVaroutExit
Cleans up variation output internal memory
Synopsis
Prototype
void ajVaroutExit (
void
);
Type | Name | Read/Write | Description |
void | | RETURN | |
Returns
Description
Cleans up variation output internal memory
See Also
See other functions in this section
Availability
In release 6.4.0