An entry view.
More...
#include <entry.hpp>
|
static const entry_view & | bos_eos () |
| Returns the BOS/EOS (Beginning/End of Sequence) entry.
|
|
◆ entry_view() [1/2]
constexpr tetengo::lattice::entry_view::entry_view |
( |
const input * |
p_key, |
|
|
const std::any * |
value, |
|
|
int |
cost |
|
) |
| |
|
inlineconstexpr |
Creates an entry view.
- Parameters
-
p_key | A pointer to a key. |
value | A value. |
cost | A cost. |
◆ entry_view() [2/2]
tetengo::lattice::entry_view::entry_view |
( |
const entry & |
entry | ) |
|
Creates an entry view.
- Parameters
-
◆ bos_eos()
static const entry_view & tetengo::lattice::entry_view::bos_eos |
( |
| ) |
|
|
static |
Returns the BOS/EOS (Beginning/End of Sequence) entry.
- Returns
- The BOS/EOS entry.
◆ cost()
constexpr int tetengo::lattice::entry_view::cost |
( |
| ) |
const |
|
inlineconstexpr |
Returns the cost.
- Returns
- The cost.
◆ p_key()
constexpr const input * tetengo::lattice::entry_view::p_key |
( |
| ) |
const |
|
inlineconstexpr |
Returns the pointer to the key.
- Returns
- The pointer to the key.
◆ value()
constexpr const std::any * tetengo::lattice::entry_view::value |
( |
| ) |
const |
|
inlineconstexpr |
Returns the value.
- Returns
- The value.
The documentation for this class was generated from the following file:
- library/lattice/cpp/include/tetengo/lattice/entry.hpp