![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
70 std::string::const_iterator pos1, pos2 =
tags.begin(),
end =
tags.end();
74 for (pos1 = pos2; pos2 !=
end && *pos2 != separator; ++ pos2) {};
77 m_tags.insert (std::string (pos1, pos2));
88 has (
const std::string&
tag)
const
116 join (
const char separator)
const
124 if (
tag->find (separator) != std::string::npos)
125 RCU_THROW_MSG (std::string (
"can't use separator ") + separator +
" it is part of tag " + *
tag);
136 add (
const std::string&
tag)
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
#define RCU_REQUIRE_SOFT(x)
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
#define RCU_CHANGE_INVARIANT(x)
This module provides a lot of global definitions, forward declarations and includes that are used by ...
#define RCU_THROW_MSG(message)
#define RCU_READ_INVARIANT(x)
#define RCU_NEW_INVARIANT(x)