Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::NotHelper< A > Class Template Reference

#include <fwd.h>

Inheritance diagram for art::NotHelper< A >:
art::SelectorBase

Public Member Functions

 NotHelper (A const &a)
 
- Public Member Functions inherited from art::SelectorBase
virtual ~SelectorBase ()=default
 
bool match (BranchDescription const &p) const
 
std::string print (std::string const &indent) const
 

Private Member Functions

bool doMatch (BranchDescription const &p) const override
 
std::string doPrint (std::string const &indent) const override
 

Private Attributes

A a_
 

Detailed Description

template<typename A>
class art::NotHelper< A >

Definition at line 38 of file fwd.h.

Constructor & Destructor Documentation

template<typename A >
art::NotHelper< A >::NotHelper ( A const &  a)
inlineexplicit

Definition at line 238 of file Selector.h.

238 : a_{a} {}
const double a

Member Function Documentation

template<typename A >
bool art::NotHelper< A >::doMatch ( BranchDescription const &  p) const
inlineoverrideprivatevirtual

Implements art::SelectorBase.

Definition at line 242 of file Selector.h.

243  {
244  return !a_.match(p);
245  }
p
Definition: test.py:223
template<typename A >
std::string art::NotHelper< A >::doPrint ( std::string const &  indent) const
inlineoverrideprivatevirtual

Implements art::SelectorBase.

Definition at line 248 of file Selector.h.

249  {
250  std::string result{indent + "Not [\n"};
251  result += indent + a_.print(indent) + '\n';
252  result += indent + ']';
253  return result;
254  }
static QCString result
std::string string
Definition: nybbler.cc:12

Member Data Documentation

template<typename A >
A art::NotHelper< A >::a_
private

Definition at line 255 of file Selector.h.


The documentation for this class was generated from the following files: