Zero  0.1.0
Classes | Macros | Functions | Variables
w_list.h File Reference
#include "w_defines.h"
#include "w_base.h"
#include <iostream>

Go to the source code of this file.

Classes

class  w_list_t< T, LOCK >
 Templated list of type T. More...
 
class  w_list_i< T, LOCK >
 Iterator for a list. More...
 
class  w_hash_t< T, LOCK, K >
 
class  unsafe_list_dummy_lock_t
 You can instantiate unsafe lists by using this type. More...
 
class  w_link_t
 Link structure for membership in any class to be put on a w_list*. More...
 
class  w_list_base_t
 Base class for various list classes. More...
 
class  w_list_t< T, LOCK >
 Templated list of type T. More...
 
class  w_list_t< T, LOCK >
 Templated list of type T. More...
 
class  w_list_i< T, LOCK >
 Iterator for a list. More...
 
class  w_list_const_i< T, LOCK >
 Const iterator for a list. More...
 
class  w_keyed_list_t< T, LOCK, K >
 Base class for sorted lists. More...
 
class  w_ascend_list_t< T, LOCK, K >
 List maintained in ascending order. More...
 
class  w_descend_list_t< T, LOCK, K >
 List maintained in descending order. More...
 

Macros

#define W_LIST_ARG(class, member)   w_offsetof(class,member)
 Macro used to name the member of the object that is the link. More...
 
#define W_KEYED_ARG(class, key, link)   W_LIST_ARG(class,key), W_LIST_ARG(class,link)
 

Functions

template<class T , class LOCK >
ostream & operator<< (ostream &o, const w_list_t< T, LOCK > &l)
 

Variables

unsafe_list_dummy_lock_t *const unsafe_nolock = nullptr
 

Detailed Description

This file contains class definitions for linked lists of various kinds.

Macro Definition Documentation

§ W_KEYED_ARG

#define W_KEYED_ARG (   class,
  key,
  link 
)    W_LIST_ARG(class,key), W_LIST_ARG(class,link)

§ W_LIST_ARG

#define W_LIST_ARG (   class,
  member 
)    w_offsetof(class,member)

Macro used to name the member of the object that is the link.

Function Documentation

§ operator<<()

template<class T , class LOCK >
ostream& operator<< ( ostream &  o,
const w_list_t< T, LOCK > &  l 
)

Variable Documentation

§ unsafe_nolock

unsafe_list_dummy_lock_t* const unsafe_nolock = nullptr