Home / Open source / Terimber 2.0
base_list< T > Class Template Referencebase class for list family
More...
#include <list.h>
List of all members.
Detailed Description
template<class T>
class base_list< T >
base class for list family
Definition at line 39 of file list.h.
Constructor & Destructor Documentation
destructor
Definition at line 48 of file list.hpp.
Member Function Documentation
template<class T>
bool base_list< T >::empty |
( |
|
) |
const [inline] |
checks empty, uses instead of size
Definition at line 56 of file list.hpp.
References base_list< T >::_head, base_list< T >::_node_::_prev, and base_list< T >::head().
Referenced by aiosock::_clear_block_lists(), aiofile::_clear_block_lists(), msg_listener::accept_address(), fuzzy_wrapper_impl::add(), xml_document::assign_attribute_value(), pool< C >::clear(), vardatabase::fill_schema(), byte_source::go_shopping(), pool< C >::loan_object(), fuzzy_wrapper_impl::match(), threadpool::off(), aiogate::off(), _list< T, A >::operator=(), dbserver_impl::param_bulk_remove(), dbserver_impl::param_bulk_remove_all(), dtd_processor::parseAttDef(), msg_user_connection::peek_async(), paged_buffer::persist(), xml_persistor::persistAttributeDecl(), msg_user_connection::pop_async(), _list< T, A >::pop_back(), _list< T, A >::pop_front(), byte_source::push(), fuzzy_wrapper_impl::remove(), dbserver_impl::resize_params(), xml_designer_impl::select_xpath(), dbserver_impl::set_param_as_binary(), dbserver_impl::set_param_as_binary_ptr(), dbserver_impl::set_param_as_bool(), dbserver_impl::set_param_as_byte(), dbserver_impl::set_param_as_char(), dbserver_impl::set_param_as_date(), dbserver_impl::set_param_as_decimal(), dbserver_impl::set_param_as_double(), dbserver_impl::set_param_as_dword(), dbserver_impl::set_param_as_dword64(), dbserver_impl::set_param_as_float(), dbserver_impl::set_param_as_guid(), dbserver_impl::set_param_as_long(), dbserver_impl::set_param_as_long64(), dbserver_impl::set_param_as_null(), dbserver_impl::set_param_as_numeric(), dbserver_impl::set_param_as_short(), dbserver_impl::set_param_as_string(), dbserver_impl::set_param_as_string_ptr(), dbserver_impl::set_param_as_word(), dbserver_impl::set_param_as_wstring(), dbserver_impl::set_param_as_wstring_ptr(), paged_buffer::size(), threadpool::v_do_job(), aiosock::v_do_job(), aiogate::v_do_job(), aiofile::v_do_job(), threadpool::v_has_job(), aiosock::v_has_job(), aiogate::v_has_job(), aiofile::v_has_job(), aiofile::aiofile_file::~aiofile_file(), aiosock::aiosock_socket::~aiosock_socket(), and fuzzy_wrapper_impl::~fuzzy_wrapper_impl().
template<class T>
const T & base_list< T >::front |
( |
|
) |
const [inline] |
gets first const object function doesn't check boundaries
Definition at line 65 of file list.hpp.
References base_list< T >::_head, base_list< T >::_node_::_next, and base_list< T >::_node::_value.
Referenced by fuzzy_wrapper_impl::add(), pool< C >::clear(), byte_source::go_shopping(), pool< C >::loan_object(), fuzzy_wrapper_impl::match(), threadpool::off(), aiogate::off(), dtd_processor::parseAttDef(), msg_queue< P, C >::pop(), msg_user_connection::pop_async(), byte_source::push(), fuzzy_wrapper_impl::remove(), xml_designer_impl::select_xpath(), threadpool::v_do_job(), aiosock::v_do_job(), aiogate::v_do_job(), aiofile::v_do_job(), and fuzzy_wrapper_impl::~fuzzy_wrapper_impl().
template<class T>
const T & base_list< T >::back |
( |
|
) |
const [inline] |
gets begin const iterator
Definition at line 100 of file list.hpp.
References base_list< T >::_head, and base_list< T >::_node_::_next.
Referenced by aiosock::_clear_block_lists(), aiofile::_clear_block_lists(), msg_communicator::_create_listeners(), msg_communicator::_destroy_listeners(), fuzzy_matcher_impl::_match(), paged_buffer::_persist(), msg_communicator::_turn_off_listeners(), msg_communicator::_turn_on_listeners(), msg_listener::accept_address(), fuzzy_matcher_impl::add(), msg_communicator::add_connection_config(), msg_communicator::add_listener_config(), list< T >::assign(), _list< T, A >::assign(), xml_document::assign_attribute_value(), list< T >::clear(), aiosock::close(), aiofile::close(), aiosock::complete_block(), aiofile::complete_block(), memlookup::construct(), memindex::construct(), fuzzyphonetic::convert_to_metaphone(), pool< C >::deactivate(), memtable::delete_row(), memtable::destroy_db_values(), tokenizer::do_abbr(), tokenizer::do_hyphen(), tokenizer::do_regex(), vardatabase::fill_schema(), varmap< T, C >::find_fuzzy_resource(), msg_communicator::find_listener(), xml_designer_impl::get_xpath(), memtable::insert_row(), varmap< T, C >::intersect_fuzzy_resource(), fuzzy_wrapper_impl::match(), memlookup::memlookup(), memlookup::notify(), memindex::notify(), list< T >::operator=(), dbserver_impl::param_bulk_remove_all(), dtd_processor::parseAttDef(), xml_processor::parseAttributes(), dtd_processor::parseMixed(), attributeDecl::persist_attribute(), xml_persistor::persistAttributeDecl(), var_object_repository::process_query(), pool< C >::purge(), fuzzy_matcher_impl::reconstruct_string(), memtable::refresh(), list< T >::remove(), _list< T, A >::remove(), fuzzy_matcher_impl::remove(), msg_communicator::remove_connection_config(), memtable::remove_index(), msg_communicator::remove_listener_config(), memindex::remove_lookup(), pool< C >::return_object(), _list< T, A >::size(), paged_buffer::size(), tokenizer::tokenize(), memtable::uninit(), memtable::update_row(), odbc_dbserver::v_bind_one_param(), msg_communicator::v_do_job(), content_mixed::validate(), memindex::~memindex(), and msg_user_connection::~msg_user_connection().
gets const end interator
Definition at line 116 of file list.hpp.
References base_list< T >::head().
Referenced by aiosock::_clear_block_lists(), aiofile::_clear_block_lists(), msg_communicator::_create_listeners(), msg_communicator::_destroy_listeners(), fuzzy_matcher_impl::_match(), paged_buffer::_persist(), msg_communicator::_turn_off_listeners(), msg_communicator::_turn_on_listeners(), msg_listener::accept_address(), fuzzy_matcher_impl::add(), msg_communicator::add_connection_config(), msg_communicator::add_listener_config(), list< T >::assign(), _list< T, A >::assign(), xml_document::assign_attribute_value(), list< T >::clear(), aiosock::close(), aiofile::close(), aiosock::complete_block(), aiofile::complete_block(), memindex::construct(), fuzzyphonetic::convert_to_metaphone(), pool< C >::deactivate(), memtable::delete_row(), memtable::destroy_db_values(), tokenizer::do_abbr(), tokenizer::do_hyphen(), tokenizer::do_regex(), vardatabase::fill_schema(), varmap< T, C >::find_fuzzy_resource(), msg_communicator::find_listener(), xml_designer_impl::get_xpath(), list< T >::insert(), _list< T, A >::insert(), memtable::insert_row(), varmap< T, C >::intersect_fuzzy_resource(), fuzzy_wrapper_impl::match(), memindex::notify(), list< T >::operator=(), dbserver_impl::param_bulk_remove_all(), dbserver_impl::param_bulk_store(), dtd_processor::parseAttDef(), xml_processor::parseAttributes(), dtd_processor::parseMixed(), attributeDecl::persist_attribute(), xml_persistor::persistAttributeDecl(), var_object_repository::process_query(), pool< C >::purge(), list< T >::push_back(), _list< T, A >::push_back(), list< T >::push_front(), _list< T, A >::push_front(), fuzzy_matcher_impl::reconstruct_string(), memtable::refresh(), list< T >::remove(), _list< T, A >::remove(), fuzzy_matcher_impl::remove(), msg_communicator::remove_connection_config(), memtable::remove_index(), msg_communicator::remove_listener_config(), memindex::remove_lookup(), pool< C >::return_object(), _list< T, A >::size(), paged_buffer::size(), tokenizer::tokenize(), memtable::uninit(), memtable::update_row(), odbc_dbserver::v_bind_one_param(), msg_communicator::v_do_job(), orcl_dbserver::v_fetch(), odbc_dbserver::v_fetch(), mysql_dbserver::v_fetch(), content_mixed::validate(), memindex::~memindex(), and msg_user_connection::~msg_user_connection().
clears list wihtout memory deallocation
Reimplemented in list< T >, list< terimber_db_value_vector_impl * >, list< conf_connection >, list< byte_allocator * >, list< msg_listener * >, list< _vector< binder > >, list< async_db_notify * >, list< conf_peer >, list< memlookup * >, list< aiogate::pin_info_extra >, list< aiofile_block * >, list< aiosock_block * >, list< client_thread_info >, list< conf_listener >, list< pool_entry >, list< memdb_row >, list< msg_wait_async_reply >, list< memindex * >, and list< msg_cpp * >.
Definition at line 132 of file list.hpp.
References base_list< T >::_head, base_list< T >::_node_::_next, base_list< T >::_node_::_prev, and base_list< T >::head().
Referenced by _list< T, A >::assign(), base_list< T >::base_list(), list< T >::clear(), dbserver_impl::close_sql(), dbserver_impl::fetch_data(), _list< T, A >::operator=(), paged_buffer::reset(), byte_source::reset_buffer(), tokenizer::tokenize(), and _list< T, A >::~_list().
returns pointer to head node
Definition at line 140 of file list.hpp.
References base_list< T >::_head.
Referenced by base_list< T >::clear(), base_list< T >::empty(), base_list< T >::end(), _list< T, A >::operator=(), list< T >::pop_back(), _list< T, A >::pop_back(), list< T >::pop_front(), _list< T, A >::pop_front(), list< T >::push_back(), _list< T, A >::push_back(), list< T >::push_front(), and _list< T, A >::push_front().
Member Data Documentation
store only head of list
Definition at line 333 of file list.h.
Referenced by base_list< T >::back(), base_list< T >::begin(), base_list< T >::clear(), base_list< T >::empty(), base_list< T >::front(), base_list< T >::head(), _list< T, A >::operator=(), list< T >::pop_back(), _list< T, A >::pop_back(), list< T >::pop_front(), _list< T, A >::pop_front(), list< T >::push_back(), _list< T, A >::push_back(), list< T >::push_front(), and _list< T, A >::push_front().
The documentation for this class was generated from the following files:
|
|