28 KeyContainer::const_iterator::const_iterator(
const Name& identity,
29 std::set<name::Component>::const_iterator it,
30 shared_ptr<PibImpl> impl)
31 : m_identity(identity)
38 KeyContainer::const_iterator::operator*()
40 return Key(m_identity, *m_it, m_impl);
44 KeyContainer::const_iterator::operator++()
51 KeyContainer::const_iterator::operator++(
int)
61 return (m_impl == other.m_impl && m_identity == other.m_identity && m_it == other.m_it);
67 return !(*
this == other);
70 KeyContainer::KeyContainer()
74 KeyContainer::KeyContainer(
const Name& identity,
75 std::set<name::Component>&& keyIds,
76 shared_ptr<PibImpl> impl)
77 : m_identity(identity)
104 return m_keyIds.size();
Copyright (c) 2013-2016 Regents of the University of California.
const_iterator begin() const
const_iterator end() const
bool operator==(const Exclude::ExcludeComponent &a, const Exclude::ExcludeComponent &b)
Name abstraction to represent an absolute name.
const_iterator find(const name::Component &keyId) const
Component holds a read-only name component value.
constexpr bool operator!=(const optional< T > &lhs, const optional< T > &rhs)