drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::List< T > Class Template Reference
Inheritance diagram for drizzled::List< T >:
[legend]
Collaboration diagram for drizzled::List< T >:
[legend]

Public Types

typedef List_iterator< T > iterator

Public Member Functions

 List (const List< T > &tmp)
List< T > & operator= (const List< T > &tmp)
 List (const List< T > &tmp, memory::Root *mem_root)
T & front ()
T * pop ()
void concat (List< T > *list)
void disjoin (List< T > *list)
void prepand (List< T > *list)
void delete_elements ()
iterator begin ()
size_t size () const
void set_size (size_t v)
Public Member Functions inherited from drizzled::base_list
void clear ()
 base_list (const base_list &tmp)
base_list & operator= (const base_list &tmp)
 base_list (bool)
void push_back (void *info)
void push_back (void *info, memory::Root &mem)
void push_front (void *info)
void remove (list_node **prev)
void concat (base_list *list)
void * pop ()
void disjoin (base_list *list)
void prepand (base_list *list)
void swap (base_list &rhs)
bool is_empty ()

Friends

class List_iterator< T >

Additional Inherited Members

Static Public Member Functions inherited from drizzled::memory::SqlAlloc
static void * operator new (size_t size)
static void * operator new[] (size_t size)
static void * operator new (size_t size, Root &root)
static void * operator new[] (size_t size, Root &root)
static void * operator new (size_t size, Root *root)
static void * operator new[] (size_t size, Root *root)
static void operator delete (void *)
static void operator delete[] (void *)
static void operator delete (void *, Root &)
static void operator delete[] (void *, Root &)
static void operator delete (void *, Root *)
static void operator delete[] (void *, Root *)
Protected Member Functions inherited from drizzled::base_list
void after (void *info, list_node *node)
Protected Attributes inherited from drizzled::base_list
list_node * first
list_node ** last
uint32_t elements

Detailed Description

template<class T>
class drizzled::List< T >

Definition at line 331 of file sql_list.h.

Member Typedef Documentation

◆ iterator

template<class T>
typedef List_iterator<T> drizzled::List< T >::iterator

Definition at line 334 of file sql_list.h.

Constructor & Destructor Documentation

◆ List() [1/3]

template<class T>
drizzled::List< T >::List ( )
inline

Definition at line 338 of file sql_list.h.

◆ List() [2/3]

template<class T>
drizzled::List< T >::List ( const List< T > & tmp)
inline

Definition at line 339 of file sql_list.h.

◆ List() [3/3]

template<class T>
drizzled::List< T >::List ( const List< T > & tmp,
memory::Root * mem_root )
inline

Definition at line 345 of file sql_list.h.

Member Function Documentation

◆ begin()

template<class T>
iterator drizzled::List< T >::begin ( )
inline

Definition at line 362 of file sql_list.h.

◆ concat()

template<class T>
void drizzled::List< T >::concat ( List< T > * list)
inline

Definition at line 348 of file sql_list.h.

◆ delete_elements()

template<class T>
void drizzled::List< T >::delete_elements ( )
inline

Definition at line 351 of file sql_list.h.

◆ disjoin()

template<class T>
void drizzled::List< T >::disjoin ( List< T > * list)
inline

Definition at line 349 of file sql_list.h.

◆ front()

template<class T>
T & drizzled::List< T >::front ( )
inline

Definition at line 346 of file sql_list.h.

◆ operator=()

template<class T>
List< T > & drizzled::List< T >::operator= ( const List< T > & tmp)
inline

Definition at line 340 of file sql_list.h.

◆ pop()

template<class T>
T * drizzled::List< T >::pop ( )
inline

Definition at line 347 of file sql_list.h.

◆ prepand()

template<class T>
void drizzled::List< T >::prepand ( List< T > * list)
inline

Definition at line 350 of file sql_list.h.

◆ set_size()

template<class T>
void drizzled::List< T >::set_size ( size_t v)
inline

Definition at line 372 of file sql_list.h.

◆ size()

template<class T>
size_t drizzled::List< T >::size ( ) const
inline

Definition at line 367 of file sql_list.h.

◆ List_iterator< T >

template<class T>
friend class List_iterator< T >
friend

Definition at line 334 of file sql_list.h.


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