blob: e31fc041a98e332e23f6fae88ef405523c727c36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright Vespa.ai. 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
|