StringList< Type > Class Template Reference

#include <List.h>

Inheritance diagram for StringList< Type >:
List< Type > ListBase< Type, void * >

Public Types

typedef _list_iterator< Type,
void * > 
iterator
typedef const _list_iterator
< Type, void * > 
const_iterator
typedef _list_node< Type, void * > node

Public Member Functions

DO_INLINE_F Type find (void *key)
void push_front (Type &data)
void push_back (Type &data)
bool addIfUniqueVal (Type &data)
bool find (const Type &val) const
bool remove (const Type &data)
Type & front ()
const Type & front () const
Type & back ()
void __push_front (Type &data, const void *&key)
void __push_back (Type &data, const void *&key)
bool __addIfUniqueKey (Type &data, const void *&key)
bool __addIfUniqueVal (Type &data, const void *&key)
bool __find_with_key (const void *&key, Type *saveVal)
bool __find_with_val (const Type &saveVal) const
bool __remove_with_key (const void *&key)
bool __remove_with_val (const Type &val)
void clear ()
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
int count () const
bool isEmpty ()
void insert (iterator &, Type &)
void map (void(*map_function)(const Typeitem))

Protected Member Functions

nodegetLastNode ()

Protected Attributes

nodehead

Friends

std::ostream & operator<< (std::ostream &os, const List< Type > &data)

Detailed Description

template<class Type>
class StringList< Type >

Definition at line 466 of file List.h.


Member Typedef Documentation

typedef const _list_iterator<Type , void * > ListBase< Type , void * >::const_iterator [inherited]

Definition at line 127 of file List.h.

typedef _list_iterator<Type , void * > ListBase< Type , void * >::iterator [inherited]

Definition at line 126 of file List.h.

typedef _list_node<Type , void * > ListBase< Type , void * >::node [inherited]

Definition at line 128 of file List.h.


Member Function Documentation

bool ListBase< Type , void * >::__addIfUniqueKey ( Type &  data,
const void * &  key 
) [inline, inherited]
bool ListBase< Type , void * >::__addIfUniqueVal ( Type &  data,
const void * &  key 
) [inline, inherited]
bool ListBase< Type , void * >::__find_with_key ( const void * &  key,
Type *  saveVal 
) [inherited]
bool ListBase< Type , void * >::__find_with_val ( const Type &  saveVal  )  const [inherited]
void ListBase< Type , void * >::__push_back ( Type &  data,
const void * &  key 
) [inherited]
void ListBase< Type , void * >::__push_front ( Type &  data,
const void * &  key 
) [inherited]
bool ListBase< Type , void * >::__remove_with_key ( const void * &  key  )  [inherited]
bool ListBase< Type , void * >::__remove_with_val ( const Type &  val  )  [inherited]
bool List< Type >::addIfUniqueVal ( Type &  data  )  [inline, inherited]

Definition at line 251 of file List.h.

References ListBase< DataType, void * >::__addIfUniqueVal().

Type & ListBase< Type , void * >::back (  )  [inline, inherited]
const_iterator ListBase< Type , void * >::begin (  )  const [inline, inherited]

Definition at line 195 of file List.h.

References ListBase< DataType, KeyType >::head.

iterator ListBase< Type , void * >::begin (  )  [inline, inherited]

Definition at line 192 of file List.h.

References ListBase< DataType, KeyType >::head.

void ListBase< Type , void * >::clear (  )  [inherited]
int ListBase< Type , void * >::count (  )  const [inline, inherited]
const_iterator ListBase< Type , void * >::end (  )  const [inline, inherited]

Definition at line 202 of file List.h.

iterator ListBase< Type , void * >::end (  )  [inline, inherited]

Definition at line 199 of file List.h.

bool List< Type >::find ( const Type &  val  )  const [inline, inherited]

Definition at line 254 of file List.h.

References ListBase< DataType, void * >::__find_with_val().

template<class Type >
DO_INLINE_F Type StringList< Type >::find ( void *  key  )  [inline]
const Type & ListBase< Type , void * >::front (  )  const [inline, inherited]

Definition at line 160 of file List.h.

References ListBase< DataType, KeyType >::begin().

Type & ListBase< Type , void * >::front (  )  [inline, inherited]

Definition at line 159 of file List.h.

References ListBase< DataType, KeyType >::begin().

node* ListBase< Type , void * >::getLastNode (  )  [protected, inherited]
void ListBase< Type , void * >::insert ( iterator ,
Type &   
) [inline, inherited]

Definition at line 216 of file List.h.

bool ListBase< Type , void * >::isEmpty (  )  [inline, inherited]

Definition at line 213 of file List.h.

References ListBase< DataType, KeyType >::head.

void ListBase< Type , void * >::map ( void(*)(const Type item)  map_function  )  [inline, inherited]
void List< Type >::push_back ( Type &  data  )  [inline, inherited]

Definition at line 248 of file List.h.

References ListBase< DataType, void * >::__push_back().

void List< Type >::push_front ( Type &  data  )  [inline, inherited]

Definition at line 245 of file List.h.

References ListBase< DataType, void * >::__push_front().

bool List< Type >::remove ( const Type &  data  )  [inline, inherited]

Definition at line 257 of file List.h.

References ListBase< DataType, void * >::__remove_with_val().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const List< Type > &  data 
) [friend, inherited]

Reimplemented from ListBase< Type, void * >.

Definition at line 240 of file List.h.


Field Documentation

node* ListBase< Type , void * >::head [protected, inherited]

Definition at line 230 of file List.h.

Referenced by StringList< Type >::find().


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1