CWB
Data Structures | Typedefs | Enumerations | Functions | Variables

print-modes.h File Reference

#include "corpmanag.h"
#include "attlist.h"

Data Structures

Typedefs

Enumerations

Functions

Variables


Typedef Documentation

The PrintDescriptionRecord object.

Contains strings / function pointers that control the printing mode (esp. the format of an individual concordance line).

Note that currently it is not possible for these to be defined at runtime. It must be done at compile-time.

typedef enum outputmode PrintMode

Print mode: specifies output formats for CQP.

PrintOptions.

All members starting in print_ are Boolean.

typedef char*(* TokenEscapeFunction)(char *)

Enumeration Type Documentation

enum outputmode

Print mode: specifies output formats for CQP.

Enumerator:
PrintASCII 
PrintSGML 
PrintHTML 
PrintLATEX 
PrintBINARY 
PrintUNKNOWN 

Function Documentation

AttributeList* ComputePrintStructures ( CorpusList cl)

Computes a list of s-attributes to print from the PrintStructure global option setting.

PrintStructure is itself updated.

Parameters:
clThe corpus from which to find the attributes.
Returns:
An attribute list containing the attributes to be printed.

References AddNameToAL(), _Attribute::any, ATT_STRUC, _attrbuf::attribute, cl::corpus, cqpmessage(), DestroyAttributeList(), Error, find_attribute, _attlist::list, NewAttributeList(), _attrbuf::next, PRINT_STRUC_SEP, printStructure, TCorpus::registry_name, structure_has_values, VerifyList(), and Warning.

Referenced by execute_side_effects().

void CopyPrintOptions ( PrintOptions target,
PrintOptions source 
)

Copies a PrintOptions object.

Parameters:
targetThe PrintOptions object to be overwritten.
sourceThe PrintOptions object to copy.
void ParsePrintOptions ( void  )

Variable Documentation