Home / Open source / Terimber 2.0
vardatabase Class Referenceclass imlements interface terimber_vardatabase
More...
#include <vardatabase.h>
List of all members.
Detailed Description
class imlements interface terimber_vardatabase
Definition at line 42 of file vardatabase.h.
Member Typedef Documentation
maps table name to table object
Definition at line 74 of file vardatabase.h.
Constructor & Destructor Documentation
vardatabase::vardatabase |
( |
|
) |
|
vardatabase::~vardatabase |
( |
|
) |
[virtual] |
Member Function Documentation
bool vardatabase::process_xml_request |
( |
const char * |
request, |
|
|
size_t |
len, |
|
|
xml_designer * |
parser | |
|
) |
| | [virtual] |
process d/xml request
- Parameters:
-
request |
db/xml request |
len |
request length |
parser |
xml designer |
Implements terimber_vardatabase.
Definition at line 116 of file vardatabase.cpp.
References _masterkey, _table_map, _table_mtx, xml_designer::add_child(), ATTRIBUTE_NODE, ELEMENT_NODE, base_map< K, T, Pr, M >::end(), map< K, T, Pr, M >::erase(), xml_designer::error(), fill_schema(), base_map< K, T, Pr, M >::find(), pair< T1, T2 >::first, xml_designer::get_name(), xml_designer::get_value(), map< K, T, Pr, M >::insert(), xml_designer::load(), request_dtd, response_dtd, pair< T1, T2 >::second, xml_designer::select_attribute_by_name(), xml_designer::select_first_child(), xml_designer::select_parent(), xml_designer::select_root(), str_template::strlen(), and str_template::strscan().
creates a table according to the schema
- Parameters:
-
tbl |
table |
parser |
xml designer |
Definition at line 320 of file vardatabase.cpp.
References vardatabase::vartable::_all, vardatabase::vartable::_schema, vardatabase::vartable::_tmp_all, base_list< T >::begin(), copy_string(), ELEMENT_NODE, base_list< T >::empty(), base_list< T >::end(), xml_designer::get_type(), xml_designer::get_value(), os_minus_one, _list< T, A >::push_back(), _vector< T, A >::resize(), xml_designer::select_attribute_by_name(), xml_designer::select_first_child(), xml_designer::select_next_sibling(), xml_designer::select_parent(), _list< T, A >::size(), vt_binary, vt_bool, vt_double, vt_float, vt_guid, vt_numeric, vt_sb1, vt_sb2, vt_sb4, vt_sb8, vt_string, vt_ub1, vt_ub2, vt_ub4, and vt_ub8.
Referenced by process_xml_request().
Member Data Documentation
The documentation for this class was generated from the following files:
|
|