blob: f1560a7921c534417d7179496c0d587852b25f47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/document/datatype/structdatatype.h>
namespace document {
class PositionDataType {
private:
PositionDataType();
static StructDataType::UP createInstance();
public:
static const vespalib::string STRUCT_NAME;
static const int STRUCT_VERSION;
static const vespalib::string FIELD_X;
static const vespalib::string FIELD_Y;
static const StructDataType &getInstance();
static vespalib::string getZCurveFieldName(const vespalib::string &name);
static vespalib::stringref cutZCurveFieldName(vespalib::stringref name);
static bool isZCurveFieldName(vespalib::stringref name);
};
} // document
|