IndexType: Add IsPatternIndex(), like IsSubNetIndex()

This commit is contained in:
Arne Welzel 2023-11-01 14:07:27 +01:00
parent 074f51fc96
commit c8bab6a0ec
5 changed files with 16 additions and 9 deletions

View file

@ -356,6 +356,9 @@ public:
// Returns true if this table is solely indexed by subnet.
bool IsSubNetIndex() const;
// Returns true if this table has a single index of type pattern.
bool IsPatternIndex() const;
detail::TraversalCode Traverse(detail::TraversalCallback* cb) const override;
protected: