Home | History | Annotate | Download | only in base

Lines Matching defs:Iterator

19 #include <iterator>
27 // Iterator is a custom iterator class for Packets.
28 class Iterator
29 : public std::iterator<std::random_access_iterator_tag, uint8_t> {
31 Iterator(std::shared_ptr<const Packet> packet, size_t i);
32 Iterator(const Iterator& itr);
36 Iterator operator+(size_t offset);
37 Iterator& operator+=(size_t offset);
38 Iterator operator++(int);
39 Iterator& operator++();
41 Iterator operator-(size_t offset);
42 int operator-(const Iterator& itr);
43 Iterator& operator-=(size_t offset);
44 Iterator operator--(int);
45 Iterator& operator--();
47 Iterator& operator=(const Iterator& itr);
49 bool operator!=(const Iterator& itr) const;
50 bool operator==(const Iterator& itr) const;
52 bool operator<(const Iterator& itr) const;
53 bool operator>(const Iterator& itr) const;
55 bool operator<=(const Iterator& itr) const;
56 bool operator>=(const Iterator& itr) const;
63 "Iterator::extract requires an integral type.");
82 }; // Iterator