1/* 2 * Copyright (C) 2013, The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17/* 18 * !!!!! DO NOT EDIT THIS FILE !!!!! 19 * 20 * This file was generated from 21 * suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_reading_utils.h 22 */ 23 24#ifndef LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_READING_UTILS_H 25#define LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_READING_UTILS_H 26 27#include <cstdint> 28 29#include "defines.h" 30 31namespace latinime { 32namespace backward { 33namespace v402 { 34 35} // namespace v402 36} // namespace backward 37class BufferWithExtendableBuffer; 38namespace backward { 39namespace v402 { 40 41class Ver4PatriciaTrieReadingUtils { 42 public: 43 static int getTerminalIdAndAdvancePosition(const uint8_t *const buffer, 44 int *const pos); 45 46 private: 47 DISALLOW_IMPLICIT_CONSTRUCTORS(Ver4PatriciaTrieReadingUtils); 48}; 49} // namespace v402 50} // namespace backward 51} // namespace latinime 52#endif /* LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_READING_UTILS_H */ 53