blob: 641ca106af0ff7d33528fc8481f71d7a709fc0eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "node.h"
#include <vespa/vespalib/stllike/asciistream.h>
#include <ostream>
namespace storage::lib {
std::ostream &
operator << (std::ostream & os, const Node & node)
{
return os << node.getType() << '.' << node.getIndex();
}
vespalib::asciistream &
operator << (vespalib::asciistream & os, const Node & node)
{
return os << node.getType() << '.' << node.getIndex();
}
}
|