Home / Open source / Terimber 2.0
variant_factory Class Referenceclass as a set of memory factories
More...
#include <varfactory.h>
List of all members.
Detailed Description
class as a set of memory factories
Definition at line 39 of file varfactory.h.
Constructor & Destructor Documentation
BEGIN_TERIMBER_NAMESPACE variant_factory::variant_factory |
( |
|
) |
|
variant_factory::~variant_factory |
( |
|
) |
|
Member Function Documentation
allocates variant value
- Parameters:
-
type |
variant type |
val |
variant value |
len |
length |
Definition at line 56 of file varfactory.cpp.
References _byte_allocator, _double_allocator, _guid_allocator, var_value::_value, node_allocator< T >::allocate(), _terimber_xml_value_::bufVal, _terimber_xml_value_::dblVal, _terimber_xml_value_::guidVal, _terimber_xml_value_::intVal, _terimber_xml_value_::strVal, _terimber_xml_value_::uintVal, vt_binary, vt_bool, vt_date, vt_decimal, vt_double, vt_empty, vt_enum, vt_float, vt_guid, vt_null, vt_numeric, vt_sb1, vt_sb2, vt_sb4, vt_sb8, vt_string, vt_ub1, vt_ub2, vt_ub4, vt_ub8, vt_unknown, vt_wstring, and _terimber_xml_value_::wstrVal.
Referenced by main_map_key::main_map_key().
makes a copy
- Parameters:
-
type |
variant type |
out |
output variant value |
in |
input variant value |
Definition at line 136 of file varfactory.cpp.
References _byte_allocator, _double_allocator, _guid_allocator, var_value::_not_null, _tmp_allocator, var_value::_value, node_allocator< T >::allocate(), _terimber_xml_value_::bufVal, _terimber_xml_value_::dblVal, _terimber_xml_value_::guidVal, _terimber_xml_value_::intVal, numeric::orcl_len(), numeric::parse_orcl(), numeric::persist_orcl(), byte_allocator::reset(), str_template::strlen(), _terimber_xml_value_::strVal, _terimber_xml_value_::uintVal, vt_binary, vt_bool, vt_date, vt_decimal, vt_double, vt_empty, vt_enum, vt_float, vt_guid, vt_null, vt_numeric, vt_sb1, vt_sb2, vt_sb4, vt_sb8, vt_string, vt_ub1, vt_ub2, vt_ub4, vt_ub8, vt_unknown, vt_wstring, and _terimber_xml_value_::wstrVal.
Referenced by main_map_key::main_map_key().
destroys variant value
- Parameters:
-
type |
variant type |
val |
variant value |
Definition at line 297 of file varfactory.cpp.
References _byte_allocator, _double_allocator, _guid_allocator, var_value::_value, _terimber_xml_value_::bufVal, _terimber_xml_value_::dblVal, rep_allocator::deallocate(), _terimber_xml_value_::guidVal, _terimber_xml_value_::intVal, _terimber_xml_value_::strVal, _terimber_xml_value_::uintVal, vt_binary, vt_bool, vt_date, vt_decimal, vt_double, vt_empty, vt_enum, vt_float, vt_guid, vt_null, vt_numeric, vt_sb1, vt_sb2, vt_sb4, vt_sb8, vt_string, vt_ub1, vt_ub2, vt_ub4, vt_ub8, vt_unknown, vt_wstring, and _terimber_xml_value_::wstrVal.
Referenced by varmap< T, C >::clear(), varmap< T, C >::remove_all_resource(), and varmap< T, C >::remove_resource().
void variant_factory::reset |
( |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following files:
|
|