GRATgen: pos_t Struct Reference

GRATgen

Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pos_t Struct Reference

A relative position in the clause database. More...

Collaboration diagram for pos_t:
[legend]

## Public Member Functions
| pos_t (size_t _pos)
| Initialize position to null.

## Public Attributes
size_t | pos
| Position wrt the start of the clause database.

## Static Public Attributes
static pos_t | null = pos_t(0)
| The null position, used as a guard.

## Detailed Description

A relative position in the clause database.

Used to point into the clause database during parsing phase, when the addresses of the stored data may still change. Also used to exchange clauses between threads.

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

- gratgen.cpp