tetengo 1.8.2
A multipurpose library set
Loading...
Searching...
No Matches
entry.h
Go to the documentation of this file.
1
7#if !defined(TETENGO_LATTICE_ENTRY_H)
8#define TETENGO_LATTICE_ENTRY_H
9
10#include <stddef.h>
11
14
15
16#if defined(__cplusplus)
17extern "C" {
18#endif
19
23typedef const struct tetengo_lattice_entry_keyHandle_tag* tetengo_lattice_entry_keyHandle_t;
24
28typedef const struct tetengo_lattice_entryView_keyHandle_tag* tetengo_lattice_entryView_keyHandle_t;
29
33typedef const struct tetengo_lattice_entryView_valueHandle_tag* tetengo_lattice_entryView_valueHandle_t;
34
35
52
69
86
95
104
111
120
129
138
139
140#if defined(__cplusplus)
141}
142#endif
143
144
145#endif
const struct tetengo_lattice_entryView_valueHandle_tag * tetengo_lattice_entryView_valueHandle_t
An entry view value handle.
Definition entry.h:33
tetengo_lattice_entryView_keyHandle_t tetengo_lattice_entryView_toKeyHandle(const tetengo_lattice_input_t *p_content)
Returns the entry view key handle.
const tetengo_lattice_entryView_t * tetengo_lattice_entryView_bosEos()
Returns the pointer to the BOS/EOS (Beginning/End of Sequence) entry.
tetengo_lattice_entry_keyHandle_t tetengo_lattice_entry_toKeyHandle(const tetengo_lattice_input_t *p_content)
Returns the entry key handle.
struct tetengo_lattice_entry_tag tetengo_lattice_entry_t
An entry.
const struct tetengo_lattice_entryView_keyHandle_tag * tetengo_lattice_entryView_keyHandle_t
An entry view key handle.
Definition entry.h:28
const void * tetengo_lattice_entryView_valueOf(tetengo_lattice_entryView_valueHandle_t handle)
Returns the entry view value by a handle.
const struct tetengo_lattice_entry_keyHandle_tag * tetengo_lattice_entry_keyHandle_t
An entry key handle.
Definition entry.h:23
struct tetengo_lattice_entryView_tag tetengo_lattice_entryView_t
An entry view.
struct tetengo_lattice_keyEntriesPair_tag tetengo_lattice_keyEntriesPair_t
A pair of a key and entries.
const tetengo_lattice_input_t * tetengo_lattice_entry_createKeyOf(tetengo_lattice_entry_keyHandle_t handle)
Creates an entry key by a handle.
const tetengo_lattice_input_t * tetengo_lattice_entryView_createKeyOf(tetengo_lattice_entryView_keyHandle_t handle)
Creates an entry view key by a handle.
An input.
A string view.
An entry view.
Definition entry.h:57
int cost
Definition entry.h:65
tetengo_lattice_entryView_keyHandle_t key_handle
Definition entry.h:59
tetengo_lattice_entryView_valueHandle_t value_handle
Definition entry.h:62
An entry.
Definition entry.h:40
int cost
Definition entry.h:48
const void * p_value
Definition entry.h:45
tetengo_lattice_entry_keyHandle_t key_handle
Definition entry.h:42
A pair of a key and entries.
Definition entry.h:74
tetengo_lattice_stringView_t key
Definition entry.h:76
const tetengo_lattice_entry_t * p_entries
Definition entry.h:79
size_t entry_count
Definition entry.h:82
A string view.
Definition stringView.h:21