Home / Open source / Terimber 2.0
common.cpp File Reference#include "base/list.hpp"
#include "base/vector.hpp"
#include "base/common.hpp"
#include "base/date.h"
#include "base/string.hpp"
#include "base/memory.hpp"
#include "base/numeric.h"
Go to the source code of this file.
Function Documentation
converts string representation to terimber_xml_value using external allocator
- Parameters:
-
type |
value type |
x |
input string |
length |
input string length |
_allocator |
external allocator |
Definition at line 41 of file common.cpp.
References _ch_period, byte_allocator::allocate(), _terimber_xml_value_::boolVal, _terimber_xml_value_::bufVal, _terimber_xml_value_::bVal, check_pointer(), _terimber_xml_value_::cVal, _terimber_xml_value_::dblVal, _terimber_xml_value_::fltVal, _terimber_xml_value_::guidVal, hex_to_binary(), I64d, I64u, _terimber_xml_value_::intVal, _terimber_xml_value_::iVal, _terimber_xml_value_::lVal, str_template::multibyte_to_unicode(), numeric::orcl_len(), os_minus_one, numeric::persist_orcl(), str_template::strcmp(), str_template::strcpy(), string_to_guid(), str_template::strlen(), str_template::strscan(), _terimber_xml_value_::strVal, _terimber_xml_value_::uintVal, _terimber_xml_value_::uiVal, _terimber_xml_value_::ulVal, vt_binary, vt_bool, vt_date, vt_decimal, vt_double, vt_empty, 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_wstring, and _terimber_xml_value_::wstrVal.
Referenced by xml_document::assign_attribute_value(), dbserver_impl::get_param_as_value(), memlookup::get_value_as_value(), terimber_db_value_vector_impl::get_value_as_value(), dbserver_impl::get_value_as_value(), var_object_repository::process_condition(), and var_object_repository::process_values().
converts terimber_xml_value to string representation using external allocator
- Parameters:
-
type |
value type |
x |
input value |
allocator_ |
external allocator |
Definition at line 177 of file common.cpp.
References _ch0, _ch1, _ch_period, byte_allocator::allocate(), binary_to_hex(), _terimber_xml_value_::boolVal, _terimber_xml_value_::bufVal, _terimber_xml_value_::bVal, check_pointer(), _terimber_xml_value_::cVal, _terimber_xml_value_::dblVal, _terimber_xml_value_::fltVal, numeric::format(), date::get_date(), guid_to_string(), _terimber_xml_value_::guidVal, I64d, I64u, _terimber_xml_value_::intVal, _terimber_xml_value_::iVal, _terimber_xml_value_::lVal, numeric::parse_orcl(), numeric::precision(), str_template::strprint(), _terimber_xml_value_::strVal, _terimber_xml_value_::uintVal, _terimber_xml_value_::uiVal, _terimber_xml_value_::ulVal, str_template::unicode_to_multibyte(), vt_binary, vt_bool, vt_date, vt_decimal, vt_double, vt_empty, 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_wstring, and _terimber_xml_value_::wstrVal.
Referenced by dbserver_impl::get_param_as_value(), xml_designer_impl::get_value(), memlookup::get_value_as_value(), terimber_db_value_vector_impl::get_value_as_value(), dbserver_impl::get_value_as_value(), attributeDecl::persist_attribute(), and var_object_repository::process_query().
|
|