|
Gromacs
2026.0-dev-20251110-920b6d1
|
#include <gromacs/selection/selelem.h>
Stores the location of a selection element in the selection text.
The location is stored as a range in the pretty-printed selection text (where whitespace has been sanitized), and can be used to extract that text for error messages and other diagnostic purposes. During parsing, the extraction is done with _gmx_sel_lexer_get_text().
This needs to be a plain C struct for Bison to properly deal with it.
Static Public Member Functions | |
| static SelectionLocation | createEmpty () |
| Returns an empty location. | |
Public Attributes | |
| int | startIndex |
| Start index of the string where this element has been parsed from. | |
| int | endIndex |
| End index of the string where this element has been parsed from. | |
1.8.5