blob: 0255149cd36cdb9b6ca9dab4e5e26e4893aabb29 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "inspector.h"
namespace vespalib::slime {
/**
* Interface used when traversing all the entries of an array value.
**/
struct ArrayTraverser {
virtual void entry(size_t idx, const Inspector &inspector) = 0;
virtual ~ArrayTraverser() {}
};
} // namespace vespalib::slime
|