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