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_vector< T > Class Template Reference

provides the vector functionality More...

#include <vector.h>

Inheritance diagram for base_vector< T >:

_vector< T, A > vector< T >

List of all members.

Public Types

typedef T * iterator
 iterator
typedef const T * const_iterator
 const iterator

Public Member Functions

bool empty () const
 check empty
size_t size () const
 returns size of vector
const T & operator[] (size_t p) const
 operator[] const vector doesn't check boundaries
T & operator[] (size_t p)
 operator[] vector doesn't check boundaries
const_iterator begin () const
 returns begin const iterator
iterator begin ()
 returns begin iterator
const_iterator end () const
 returns end const iterator
iterator end ()
 returns end iterator

Protected Member Functions

 base_vector ()
 constructor
 ~base_vector ()
 destructor
 base_vector (const base_vector &x)
 copy constructor

Protected Attributes

T * _first
 stores pointer to the first element
size_t _length
 length of vector


Detailed Description

template<class T>
class base_vector< T >

provides the vector functionality

Definition at line 39 of file vector.h.


Member Typedef Documentation

template<class T>
base_vector< T >::iterator

iterator

random iterators are supported

Definition at line 52 of file vector.h.

template<class T>
base_vector< T >::const_iterator

const iterator

Definition at line 55 of file vector.h.


Constructor & Destructor Documentation

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

constructor

Definition at line 40 of file vector.hpp.

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

destructor

Definition at line 48 of file vector.hpp.

template<class T>
base_vector< T >::base_vector ( const base_vector< T > &  x  )  [inline, protected]

copy constructor

Definition at line 55 of file vector.hpp.


Member Function Documentation

template<class T>
bool base_vector< T >::empty (  )  const [inline]

check empty

Definition at line 66 of file vector.hpp.

References base_vector< T >::_length.

template<class T>
size_t base_vector< T >::size (  )  const [inline]

returns size of vector

Definition at line 76 of file vector.hpp.

References base_vector< T >::_length.

Referenced by dbserver_impl::_bind_columns(), dbserver_impl::_bind_params(), dbserver_impl::_rebind_params(), memtable::add_index(), memlookup::construct(), memtable::create(), cluster_processor< T, N >::cut(), var_object_repository::find_by_row(), memtable::get_column_count(), dbserver_impl::get_column_count(), memtable::get_column_max_length(), dbserver_impl::get_column_max_length(), memtable::get_column_name(), dbserver_impl::get_column_name(), memtable::get_column_nullable(), dbserver_impl::get_column_nullable(), memtable::get_column_precision(), dbserver_impl::get_column_precision(), memtable::get_column_scale(), dbserver_impl::get_column_scale(), memtable::get_column_type(), dbserver_impl::get_column_type(), dbserver_impl::get_param_as_value(), dbserver_impl::get_param_count(), dbserver_impl::get_param_in_out(), dbserver_impl::get_param_is_null(), dbserver_impl::get_param_type(), terimber_db_value_vector_impl::get_size(), terimber_db_value_vector_impl::get_value_as_value(), dbserver_impl::get_value_as_value(), terimber_db_value_vector_impl::get_value_is_null(), dbserver_impl::get_value_is_null(), var_object_repository::insert_object(), memtable::insert_row(), memlookup::memlookup(), memdb_rowset_less::operator()(), dbserver_impl::param_bulk_remove(), dbserver_impl::param_bulk_store(), memtable::populate(), var_object_repository::process_condition(), var_object_repository::process_returns(), var_object_repository::process_values(), dbserver_impl::resize_params(), 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(), terimber_db_value_vector_impl::set_value_as_binary(), terimber_db_value_vector_impl::set_value_as_binary_ptr(), terimber_db_value_vector_impl::set_value_as_bool(), terimber_db_value_vector_impl::set_value_as_byte(), terimber_db_value_vector_impl::set_value_as_char(), terimber_db_value_vector_impl::set_value_as_date(), terimber_db_value_vector_impl::set_value_as_decimal(), terimber_db_value_vector_impl::set_value_as_double(), terimber_db_value_vector_impl::set_value_as_dword(), terimber_db_value_vector_impl::set_value_as_dword64(), terimber_db_value_vector_impl::set_value_as_float(), terimber_db_value_vector_impl::set_value_as_guid(), terimber_db_value_vector_impl::set_value_as_long(), terimber_db_value_vector_impl::set_value_as_long64(), terimber_db_value_vector_impl::set_value_as_null(), terimber_db_value_vector_impl::set_value_as_numeric(), terimber_db_value_vector_impl::set_value_as_short(), terimber_db_value_vector_impl::set_value_as_string(), terimber_db_value_vector_impl::set_value_as_string_ptr(), terimber_db_value_vector_impl::set_value_as_word(), terimber_db_value_vector_impl::set_value_as_wstring(), terimber_db_value_vector_impl::set_value_as_wstring_ptr(), var_object_repository::update_object(), memtable::update_row(), odbc_dbserver::v_before_bind_columns(), mysql_dbserver::v_before_bind_columns(), mysql_dbserver::v_bind_one_column(), mysql_dbserver::v_bind_one_param(), orcl_dbserver::v_close(), orcl_dbserver::v_fetch(), odbc_dbserver::v_fetch(), mysql_dbserver::v_fetch(), orcl_dbserver::v_form_sql_string(), odbc_dbserver::v_form_sql_string(), mysql_dbserver::v_form_sql_string(), odbc_dbserver::v_replace_quote(), and mysql_dbserver::v_replace_quote().

template<class T>
const T & base_vector< T >::operator[] ( size_t  p  )  const [inline]

operator[] const vector doesn't check boundaries

Definition at line 86 of file vector.hpp.

References base_vector< T >::_first.

template<class T>
T & base_vector< T >::operator[] ( size_t  p  )  [inline]

operator[] vector doesn't check boundaries

Definition at line 96 of file vector.hpp.

References base_vector< T >::_first.

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

returns begin iterator

Definition at line 113 of file vector.hpp.

References base_vector< T >::_first.

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

returns end iterator

Definition at line 129 of file vector.hpp.

References base_vector< T >::_first, and base_vector< T >::_length.


Member Data Documentation


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


© Copyright Terimber 2003-.