Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

base_list< T > Class Template Reference

base class for list family More...

#include <list.h>

Inheritance diagram for base_list< T >:

_list< T, A > list< T >

List of all members.

Public Member Functions

bool empty () const
 checks empty, uses instead of size
const T & front () const
 gets first const object function doesn't check boundaries
T & front ()
 get first object function doesn't check boundaries
const T & back () const
 get last const object function doesn't check boundaries
T & back ()
 get last object function doesn't check boundaries
TYPENAME base_list< T >
::const_iterator 
begin () const
 gets begin const iterator
TYPENAME base_list< T >::iterator begin ()
 gets begin iterator
TYPENAME base_list< T >
::const_iterator 
end () const
 gets const end interator
TYPENAME base_list< T >::iterator end ()
 ends iterator
void clear ()
 clears list wihtout memory deallocation

Protected Member Functions

 base_list ()
 constructor
 ~base_list ()
 destructor
TYPENAME base_list< T >::_nodehead ()
 returns pointer to head node
TYPENAME base_list< T >::_nodehead () const
 returns pointer to head node (const function)

Protected Attributes

TYPENAME base_list< T >::_node_ _head
 store only head of list

Private Member Functions

 base_list (const base_list< T > &x)
 copy constructor
base_list< T > & operator= (const base_list< T > &x)
 assign operator

Classes

class  _node
 node with object More...
class  _node_
 internal help class for head node More...
class  const_iterator
 const interator More...
class  iterator


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

template<class T>
base_list< T >::base_list ( const base_list< T > &  x  )  [private]

copy constructor

template<class T>
BEGIN_TERIMBER_NAMESPACE base_list< T >::base_list (  )  [inline, protected]

constructor

Definition at line 39 of file list.hpp.

References base_list< T >::clear().

template<class T>
base_list< T >::~base_list (  )  [inline, protected]

destructor

Definition at line 48 of file list.hpp.


Member Function Documentation

template<class T>
base_list< T >& base_list< T >::operator= ( const base_list< T > &  x  )  [private]

assign operator

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>
T & base_list< T >::front (  )  [inline]

get first object function doesn't check boundaries

Definition at line 74 of file list.hpp.

References base_list< T >::_head, base_list< T >::_node_::_next, and base_list< T >::_node::_value.

template<class T>
const T & base_list< T >::back (  )  const [inline]

template<class T>
T & base_list< T >::back (  )  [inline]

get last object function doesn't check boundaries

Definition at line 92 of file list.hpp.

References base_list< T >::_head, base_list< T >::_node_::_prev, and base_list< T >::_node::_value.

template<class T>
TYPENAME base_list< T >::const_iterator base_list< T >::begin (  )  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().

template<class T>
TYPENAME base_list< T >::iterator base_list< T >::begin (  )  [inline]

gets begin iterator

Definition at line 108 of file list.hpp.

References base_list< T >::_head, and base_list< T >::_node_::_next.

template<class T>
TYPENAME base_list< T >::const_iterator base_list< T >::end (  )  const [inline]

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().

template<class T>
TYPENAME base_list< T >::iterator base_list< T >::end (  )  [inline]

ends iterator

Definition at line 124 of file list.hpp.

References base_list< T >::head().

template<class T>
TYPENAME base_list< T >::_node * base_list< T >::head (  )  const [inline, protected]

returns pointer to head node (const function)

Definition at line 148 of file list.hpp.

References base_list< T >::_head, and TYPENAME.


Member Data Documentation


The documentation for this class was generated from the following files:


© Copyright Terimber 2003-.