1 #ifndef CONFIGIOSELECTED_HH
2 #define CONFIGIOSELECTED_HH
23 :
BooleanAttribute<
Configuration>(
"selected_in",
"Returns true if configuration is specified in given selection (default MASTER). Ex: 'selected_in(myselection.txt)'") {}
27 template<
bool IsConst>
29 BooleanAttribute<
Configuration>(
"selected_in",
"Returns true if configuration is specified in given selection (default MASTER). Ex: 'selected_in(myselection.txt)'"),
35 std::unique_ptr<Selected>
clone()
const;
52 bool parse_args(
const std::string &args)
override;
ConstConfigSelection m_selection
bool parse_args(const std::string &args) override
bool evaluate(const Configuration &_config) const override
std::string m_selection_name
Selected(ConfigSelection< IsConst > _selection)
std::unique_ptr< Selected > clone() const
void init(const Configuration &_tmplt) const override
std::string short_header(const Configuration &_config) const override
Selected * _clone() const override
Clone.
A Configuration represents the values of all degrees of freedom in a Supercell.
Returns true if configuration is specified in given selection (default: MASTER)