|
|
|
Home / Open source / Terimber 2.0
main_map_key Class Referencetemplate map class has to expose the interface for exact match "less", "greater", and so on exact match comparision and optionaly "like" for partial match comparision class creates the wrappper around var_value for string resources
More...
#include <varmap.h>
List of all members.
Detailed Description
template map class has to expose the interface for exact match "less", "greater", and so on exact match comparision and optionaly "like" for partial match comparision class creates the wrappper around var_value for string resources
Definition at line 46 of file varmap.h.
Constructor & Destructor Documentation
constuctor with memory reallocation ordinary value constructor factory can be null for temporary objects
- Parameters:
-
type |
variant type |
val |
input variant value |
factory |
optional pointer to variant factory |
Definition at line 40 of file varmap.cpp.
References var_key::_val, _var_res, and variant_factory::clone().
constuctor with memory reallocation for partial match only
- Parameters:
-
val |
string pointer |
factory |
memory factory |
Definition at line 55 of file varmap.cpp.
References var_key::_key, var_value::_not_null, var_string_searchable_key::_offsets, var_string_searchable_key::_res, var_value::_value, _var_res, _terimber_xml_value_::bufVal, variant_factory::clone(), variant_factory::create(), _terimber_xml_value_::strVal, vt_numeric, and vt_string.
main_map_key::main_map_key |
( |
size_t |
fuzzyident, |
|
|
const char * |
val, |
|
|
variant_factory * |
factory | |
|
) |
| | |
constructor with memory reallocation for fuzzy match only
- Parameters:
-
fuzzyident |
fuzzy ident |
val |
string pointer |
factory |
memory factory |
Definition at line 123 of file varmap.cpp.
References var_string_fuzzy_key::_fuzzy_key, var_key::_key, var_key::_ngram, var_value::_not_null, var_string_searchable_key::_res, var_string_fuzzy_key::_res, var_value::_value, _var_res, variant_factory::clone(), _terimber_xml_value_::strVal, and vt_string.
Member Function Documentation
BEGIN_TERIMBER_NAMESPACE bool main_map_key::operator< |
( |
const main_map_key & |
x |
) |
const [inline] |
bool main_map_key::partial_match |
( |
const main_map_key & |
x |
) |
const [inline] |
Member Data Documentation
Definition at line 87 of file varmap.h.
Referenced by varmap< T, C >::add_resource(), varmap< T, C >::find_partial_resource(), varmap< T, C >::intersect_partial_resource(), main_map_key(), main_map_key_compare::operator()(), operator<(), partial_match(), and varmap< T, C >::offset_map_key::partial_match().
The documentation for this class was generated from the following files:
|
|
|
|