An entry.
More...
#include <entry.hpp>
|
static const entry & | bos_eos () |
| Returns the BOS/EOS (Beginning/End of Sequence) entry.
|
|
◆ entry() [1/4]
tetengo::lattice::entry::entry |
( |
std::unique_ptr< input > && |
p_key, |
|
|
std::any |
value, |
|
|
int |
cost |
|
) |
| |
Creates an entry.
- Parameters
-
p_key | A unique pointer to a key. |
value | A value. |
cost | A cost. |
◆ entry() [2/4]
tetengo::lattice::entry::entry |
( |
const entry_view & |
view | ) |
|
Creates an entry.
- Parameters
-
◆ entry() [3/4]
tetengo::lattice::entry::entry |
( |
const entry & |
another | ) |
|
Copies an entry.
- Parameters
-
◆ entry() [4/4]
tetengo::lattice::entry::entry |
( |
entry && |
another | ) |
|
Moves an entry.
- Parameters
-
◆ bos_eos()
static const entry & tetengo::lattice::entry::bos_eos |
( |
| ) |
|
|
static |
Returns the BOS/EOS (Beginning/End of Sequence) entry.
- Returns
- The BOS/EOS entry.
◆ cost()
int tetengo::lattice::entry::cost |
( |
| ) |
const |
Returns the cost.
- Returns
- The cost.
◆ p_key()
const input * tetengo::lattice::entry::p_key |
( |
| ) |
const |
Returns the pointer to the key.
- Returns
- The pointer to the key.
◆ value()
const std::any & tetengo::lattice::entry::value |
( |
| ) |
const |
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