biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor for testing interactive selection input
[alexxy/gromacs.git]
/
src
/
gromacs
/
selection
/
scanner_internal.h
diff --git
a/src/gromacs/selection/scanner_internal.h
b/src/gromacs/selection/scanner_internal.h
index 5bd8eb0e433718259cf383c4135cef7a1894af1b..7b01b81e27346ea116fa2a2d81c63e51ab1cb9ea 100644
(file)
--- a/
src/gromacs/selection/scanner_internal.h
+++ b/
src/gromacs/selection/scanner_internal.h
@@
-48,6
+48,7
@@
namespace gmx
{
class SelectionParserSymbol;
namespace gmx
{
class SelectionParserSymbol;
+class TextWriter;
}
/* These need to be defined before including scanner_flex.h, because it
}
/* These need to be defined before including scanner_flex.h, because it
@@
-81,8
+82,8
@@
typedef struct gmx_sel_lexer_t
//! Number of selections at which the parser should stop.
int nexpsel;
//! Number of selections at which the parser should stop.
int nexpsel;
- //! W
hether the parser is interactive
.
-
bool bInteractive
;
+ //! W
riter to use for status output (if not NULL, parser is interactive)
.
+
gmx::TextWriter *statusWriter
;
//! Pretty-printed version of the string parsed since last clear.
char *pselstr;
//! Pretty-printed version of the string parsed since last clear.
char *pselstr;