![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef SAMPLE_HANDLER_TAG_LIST_HH
6 #define SAMPLE_HANDLER_TAG_LIST_HH
81 explicit TagList (
const std::string&
tags,
char separator =
':');
91 bool has (
const std::string&
tag)
const;
96 typedef std::set<std::string>::const_iterator
iterator;
125 std::string
join (
char separator =
':')
const;
136 void add (
const std::string&
tag);
150 typedef std::set<std::string>::const_iterator
TagsIter;
A class that manages a list of tags for identifying samples.
std::string dbg(const Meta &, unsigned)
bool has(const std::string &tag) const
whether we have the given tag
std::string join(char separator=':') const
join all the tags together into a string
iterator begin() const
the begin iterator to use
std::set< std::string >::const_iterator TagsIter
the iterator for m_tags
void add(const std::string &tag)
add a tag to the list
std::vector< std::string > tags
void testInvariant() const
test the invariant of this object
std::set< std::string >::const_iterator iterator
the iterator to use
std::set< std::string > m_tags
the list of tags
TagList()
standard default constructor
iterator end() const
the end iterator to use
This module provides a lot of global definitions, forward declarations and includes that are used by ...