|
Gromacs
2026.0-dev-20251119-5f0a571d
|
#include "gmxpre.h"#include "gromacs/selection/selectioncollection.h"#include <cctype>#include <cstdio>#include <algorithm>#include <filesystem>#include <memory>#include <optional>#include <string>#include <string_view>#include <vector>#include "gromacs/onlinehelp/helpmanager.h"#include "gromacs/onlinehelp/helpwritercontext.h"#include "gromacs/onlinehelp/ihelptopic.h"#include "gromacs/options/basicoptions.h"#include "gromacs/options/ioptionscontainer.h"#include "gromacs/selection/indexutil.h"#include "gromacs/selection/parsetree.h"#include "gromacs/selection/selection.h"#include "gromacs/selection/selectionenums.h"#include "gromacs/selection/selhelp.h"#include "gromacs/selection/selvalue.h"#include "gromacs/topology/topology.h"#include "gromacs/trajectory/trajectoryframe.h"#include "gromacs/utility/enumerationhelpers.h"#include "gromacs/utility/exceptions.h"#include "gromacs/utility/filestream.h"#include "gromacs/utility/gmxassert.h"#include "gromacs/utility/smalloc.h"#include "gromacs/utility/stringutil.h"#include "gromacs/utility/textstream.h"#include "gromacs/utility/textwriter.h"#include "compiler.h"#include "mempool.h"#include "parser.h"#include "poscalc.h"#include "scanner.h"#include "selectioncollection_impl.h"#include "selelem.h"#include "selmethod.h"#include "symrec.h"
Include dependency graph for selectioncollection.cpp:Implements gmx::SelectionCollection.
Functions | |
| bool | gmx::anonymous_namespace{selectioncollection.cpp}::promptLine (TextInputStream *inputStream, TextWriter *statusWriter, std::string *line) |
| Reads a single selection line from stdin. More... | |
| int | gmx::anonymous_namespace{selectioncollection.cpp}::runParserLoop (yyscan_t scanner, _gmx_sel_yypstate *parserState, bool bInteractive) |
| Helper function for tokenizing the input and pushing them to the parser. More... | |
| void | gmx::anonymous_namespace{selectioncollection.cpp}::printCurrentStatus (TextWriter *writer, gmx_ana_selcollection_t *sc, gmx_ana_indexgrps_t *grps, size_t firstSelection, int maxCount, const std::string &context, bool bFirst) |
| Print current status in response to empty line in interactive input. More... | |
| void | gmx::anonymous_namespace{selectioncollection.cpp}::printHelp (TextWriter *writer, gmx_ana_selcollection_t *sc, const std::string &line) |
| Prints selection help in interactive selection input. More... | |
| SelectionList | gmx::anonymous_namespace{selectioncollection.cpp}::runParser (yyscan_t scanner, TextInputStream *inputStream, bool bInteractive, int maxnr, const std::string &context) |
| Helper function that runs the parser once the tokenizer has been initialized. More... | |
| void | gmx::anonymous_namespace{selectioncollection.cpp}::checkExternalGroups (const SelectionTreeElementPointer &root, int natoms, ExceptionInitializer *errors) |
| Checks that index groups have valid atom indices. More... | |
| void | gmx::anonymous_namespace{selectioncollection.cpp}::checkTopologyProperties (const gmx_mtop_t *top, const SelectionTopologyProperties &props) |
| Checks whether the given topology properties are available. | |
| std::unique_ptr< TextWriter > | gmx::anonymous_namespace{selectioncollection.cpp}::initStatusWriter (TextOutputStream *statusStream) |
| Helper function to initialize status writer for interactive selection parsing. | |
| void | gmx::swap (SelectionCollection &lhs, SelectionCollection &rhs) noexcept |
1.8.5