1 #ifndef CASM_DatabaseSetIterator
2 #define CASM_DatabaseSetIterator
24 template <
typename ValueType,
typename DatabaseType>
29 std::string
name()
const override {
return m_it->name(); }
31 std::unique_ptr<DatabaseIteratorBase<ValueType> >
clone()
const {
32 return std::unique_ptr<DatabaseIteratorBase<ValueType> >(this->
_clone());
DatabaseIterator for implementations using std::set<ValueType>
void increment() override
std::set< ValueType >::iterator base_iterator
DatabaseSetIterator * _clone() const override
bool equal(const DatabaseIteratorBase< ValueType > &other) const override
const ValueType & dereference() const override
DatabaseSetIterator(base_iterator _it)
std::string name() const override
base_iterator base() const
std::unique_ptr< DatabaseIteratorBase< ValueType > > clone() const