|
OpenMD 3.2
Molecular Dynamics in the Open
|
"selection/SelectionCompiler.hpp" More...
#include <SelectionCompiler.hpp>
Public Member Functions | |
| bool | compile (const std::string &filename, const std::string &script) |
| std::vector< int > | getLineNumbers () |
| std::vector< int > | getLineIndices () |
| std::vector< std::vector< Token > > | getAatokenCompiled () |
| std::string | getErrorMessage () |
"selection/SelectionCompiler.hpp"
compile a selection script to tokens
expression :: = clauseOr clauseOr ::= clauseAnd {OR clauseAnd}* clauseAnd ::= clauseNot {AND clauseNot}* clauseNot ::= NOT clauseNot | clausePrimitive clausePrimitive ::= clauseComparator | clauseWithin | clauseAlphaHull | clauseName | none | all | ( clauseOr ) clauseComparator ::= atomproperty comparatorop integer clauseWithin ::= WITHIN ( clauseDistance , expression ) clauseDistance ::= integer | decimal clauseName::= *|string{.string{.string}}
Definition at line 95 of file SelectionCompiler.hpp.
| bool OpenMD::SelectionCompiler::compile | ( | const std::string & | filename, |
| const std::string & | script ) |
Definition at line 57 of file SelectionCompiler.cpp.
|
inline |
Definition at line 103 of file SelectionCompiler.hpp.
|
inline |
Definition at line 107 of file SelectionCompiler.hpp.
|
inline |
Definition at line 101 of file SelectionCompiler.hpp.
|
inline |
Definition at line 99 of file SelectionCompiler.hpp.