6 #ifndef HEPMC3_SEARCH_FILTEATTRIBUTE_H 7 #define HEPMC3_SEARCH_FILTEATTRIBUTE_H 45 m_attribute = ATTRIBUTE_IS_EQUAL;
46 at->to_string(m_attribute_str);
52 m_bool_value = !m_bool_value;
53 m_attribute = ATTRIBUTE_IS_EQUAL;
54 at->to_string(m_attribute_str);
60 m_attribute = ATTRIBUTE_IS_EQUAL;
61 m_attribute_str = value;
67 m_bool_value = !m_bool_value;
68 m_attribute = ATTRIBUTE_IS_EQUAL;
69 m_attribute_str = value;
75 m_bool_value = !m_bool_value;
Filter & operator!()
Negate logic of the result (eg. check if attribute does not exist)
Filter & operator!=(const std::string &value)
Compare if string version of this attribute is not equal value.
ATTRIBUTE(const string &name)
Default constructor.
Defines Filter operations for combingin Filters.
Filter for the attributes.
Filter & operator!=(shared_ptr< Attribute > &at)
Compare if this attribute is not equal to other attribute.
std::function< bool(ConstGenParticlePtr)> Filter
type of Filter
Filter & operator==(const std::string &value)
Compare if string version of this attribute is equal value.
Filter & operator==(shared_ptr< Attribute > &at)
Compare if this attribute is equal to other attribute.
Definition of class Attribute, class IntAttribute and class StringAttribute.