#include <TreeFilter.h>
Definition at line 13 of file TreeFilter.h.
◆ TreeFilter() [1/2]
top::TreeFilter::TreeFilter |
( |
| ) |
|
◆ TreeFilter() [2/2]
top::TreeFilter::TreeFilter |
( |
const std::string & |
longstring | ) |
|
◆ filterTree()
bool top::TreeFilter::filterTree |
( |
const std::string & |
treename | ) |
const |
◆ init()
void top::TreeFilter::init |
( |
const std::string & |
longstring | ) |
|
Definition at line 21 of file TreeFilter.cxx.
22 std::vector<std::string> helpvec_str;
23 tokenize(longstring, helpvec_str,
",");
26 for (
const std::string&
x : helpvec_str) {
27 std::istringstream isstr(
x);
28 std::copy(std::istream_iterator<std::string>(isstr),
29 std::istream_iterator<std::string>(), std::back_inserter(
m_vecFilters));
◆ m_vecFilters
std::vector<std::string> top::TreeFilter::m_vecFilters |
|
private |
The documentation for this class was generated from the following files:
void tokenize(const std::string &input, Container &output, const std::string &delimiters=" ", bool trim_empty=false)
Tokenize an input string using a set of delimiters.