HepMC3 event record library
|
Filter for the attributes. More...
#include <FilterAttribute.h>
Public Member Functions | |
ATTRIBUTE (const std::string &name) | |
Default constructor. More... | |
Filter & | operator== (std::shared_ptr< Attribute > &at) |
Compare if this attribute is equal to other attribute. More... | |
Filter & | operator!= (std::shared_ptr< Attribute > &at) |
Compare if this attribute is not equal to other attribute. More... | |
Filter & | operator== (const std::string &value) |
Compare if string version of this attribute is equal value. More... | |
Filter & | operator!= (const std::string &value) |
Compare if string version of this attribute is not equal value. More... | |
Filter & | operator! () |
Negate logic of the result (eg. check if attribute does not exist) More... | |
Filter for the attributes.
Used to construct filters that can check if an attribute exists or to compare against other attribute. See searchengine for details and examples of its use.
Definition at line 28 of file FilterAttribute.h.
|
inline |
Default constructor.
Provides the name of the attribute used in by the filter
Definition at line 36 of file FilterAttribute.h.
|
inline |
Negate logic of the result (eg. check if attribute does not exist)
Definition at line 74 of file FilterAttribute.h.
Compare if this attribute is not equal to other attribute.
Definition at line 51 of file FilterAttribute.h.
Compare if string version of this attribute is not equal value.
Definition at line 66 of file FilterAttribute.h.
Compare if this attribute is equal to other attribute.
Definition at line 44 of file FilterAttribute.h.
|
inline |
Compare if string version of this attribute is equal value.
Definition at line 59 of file FilterAttribute.h.