OpenMD 3.1
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 92 of file SelectionCompiler.hpp.
bool OpenMD::SelectionCompiler::compile | ( | const std::string & | filename, |
const std::string & | script ) |
Definition at line 54 of file SelectionCompiler.cpp.
|
inline |
Definition at line 100 of file SelectionCompiler.hpp.
|
inline |
Definition at line 104 of file SelectionCompiler.hpp.
|
inline |
Definition at line 98 of file SelectionCompiler.hpp.
|
inline |
Definition at line 96 of file SelectionCompiler.hpp.