|
tetengo 1.8.2
A multipurpose library set
|
A custom input definition. More...
#include <input.h>
Public Attributes | |
| void * | p_context |
| bool(* | equal_to_proc )(void *p_context, void *p_another_context) |
| The procedure for equality comparation. | |
| size_t(* | hash_value_proc )(void *p_context) |
| The procedure for hash value. | |
| size_t(* | length_proc )(void *p_context) |
| The procedure for length. | |
| void *(* | create_subrange_context_proc )(void *p_context, size_t offset, size_t length) |
| The procedure for creating a subrange context. | |
| void(* | destroy_subraneg_context_proc )(void *p_context) |
| The procedure for destroying a subrange context. | |
| bool(* | append_proc )(void *p_context, void *p_another_context) |
| The procedure for append. | |
A custom input definition.
| bool(* tetengo_lattice_customInputDefinition_tag::append_proc) (void *p_context, void *p_another_context) |
The procedure for append.
The content in the context pointed by p_another_context may be moved into p_context.
Parameters
| true | When p_another is appended to this input. |
| false | Otherwise. |
| void *(* tetengo_lattice_customInputDefinition_tag::create_subrange_context_proc) (void *p_context, size_t offset, size_t length) |
The procedure for creating a subrange context.
Parameters
| void(* tetengo_lattice_customInputDefinition_tag::destroy_subraneg_context_proc) (void *p_context) |
The procedure for destroying a subrange context.
Parameters
| bool(* tetengo_lattice_customInputDefinition_tag::equal_to_proc) (void *p_context, void *p_another_context) |
The procedure for equality comparation.
Parameters
| true | When p_context is equal to p_another_context. |
| false | Otherwise. |
| size_t(* tetengo_lattice_customInputDefinition_tag::hash_value_proc) (void *p_context) |
The procedure for hash value.
Parameters
| size_t(* tetengo_lattice_customInputDefinition_tag::length_proc) (void *p_context) |
The procedure for length.
Parameters
| void* tetengo_lattice_customInputDefinition_tag::p_context |
The pointer to the context.