CWB
Data Fields
_sort_clause Struct Reference

The SortClause object (and underlying SortClauseBuffer). More...

#include <ranges.h>

Data Fields

char * attribute_name
 attribute on which to sort More...
 
int flags
 constants indicating the cd flags, if present More...
 
FieldType anchor1
 Field type of the start of sort region. More...
 
int offset1
 Offset of the start of sort region. More...
 
FieldType anchor2
 Field type of the end of sort region. More...
 
int offset2
 Offset of the end of sort region. More...
 
int sort_ascending
 Boolean: sort direction (ascending true/descending false) More...
 
int sort_reverse
 Boolean: reverse sort? (sort reversed character sequences) More...
 

Detailed Description

The SortClause object (and underlying SortClauseBuffer).

Contains information about a sort to be applied to a query.

Field Documentation

FieldType anchor1

Field type of the start of sort region.

Referenced by SortSubcorpus().

FieldType anchor2

Field type of the end of sort region.

Referenced by SortSubcorpus().

char* attribute_name

attribute on which to sort

Referenced by FreeSortClause(), and SortSubcorpus().

int flags

constants indicating the cd flags, if present

Referenced by SortSubcorpus().

int offset1

Offset of the start of sort region.

Referenced by SortSubcorpus().

int offset2

Offset of the end of sort region.

Referenced by SortSubcorpus().

int sort_ascending

Boolean: sort direction (ascending true/descending false)

Referenced by SortSubcorpus().

int sort_reverse

Boolean: reverse sort? (sort reversed character sequences)

Referenced by SortSubcorpus().


The documentation for this struct was generated from the following file: