- -( dyne // software :: culture :: events :: tazebao :: discussion :: museum \\ freaknet )- -
 
Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members

Linklist Class Reference

#include <linklist.h>

Inherited by Playlist.

Inheritance diagram for Linklist:

Inheritance graph
[legend]
Collaboration diagram for Linklist:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Linklist ()
virtual ~Linklist ()
Entrybegin ()
Entryend ()
int len ()
void append (Entry *addr)
void add (Entry *addr)
void prepend (Entry *addr)
void insert (Entry *addr, int pos)
bool rem (int pos)
bool sel (int pos)
bool clear ()
bool moveup (int pos)
bool movedown (int pos)
bool moveto (int num, int pos)
Entrypick (int pos)
Entryselected ()
Entryoperator[] (int pos)
Entrypick_id (int id)
int selected_pos ()
void lock ()
void unlock ()

Public Attributes

Entryfirst
Entrylast
int length

Constructor & Destructor Documentation

Linklist::Linklist  ) 
 

Definition at line 34 of file linklist.cpp.

Linklist::~Linklist  )  [virtual]
 

Definition at line 43 of file linklist.cpp.


Member Function Documentation

void Linklist::add Entry addr  )  [inline]
 

Definition at line 36 of file linklist.h.

void Linklist::append Entry addr  ) 
 

Definition at line 58 of file linklist.cpp.

Entry* Linklist::begin  )  [inline]
 

Definition at line 31 of file linklist.h.

bool Linklist::clear  ) 
 

Definition at line 140 of file linklist.cpp.

Entry* Linklist::end  )  [inline]
 

Definition at line 32 of file linklist.h.

void Linklist::insert Entry addr,
int  pos
 

Definition at line 111 of file linklist.cpp.

int Linklist::len  )  [inline]
 

Definition at line 33 of file linklist.h.

void Linklist::lock  ) 
 

Definition at line 50 of file linklist.cpp.

bool Linklist::movedown int  pos  ) 
 

Definition at line 179 of file linklist.cpp.

bool Linklist::moveto int  num,
int  pos
 

Definition at line 184 of file linklist.cpp.

bool Linklist::moveup int  pos  ) 
 

Definition at line 174 of file linklist.cpp.

Entry* Linklist::operator[] int  pos  )  [inline]
 

Definition at line 49 of file linklist.h.

Entry * Linklist::pick int  pos  ) 
 

Definition at line 159 of file linklist.cpp.

Entry * Linklist::pick_id int  id  ) 
 

Definition at line 373 of file linklist.cpp.

void Linklist::prepend Entry addr  ) 
 

Definition at line 84 of file linklist.cpp.

bool Linklist::rem int  pos  ) 
 

Definition at line 191 of file linklist.cpp.

bool Linklist::sel int  pos  ) 
 

Definition at line 200 of file linklist.cpp.

Entry * Linklist::selected  ) 
 

Definition at line 223 of file linklist.cpp.

int Linklist::selected_pos  ) 
 

Definition at line 383 of file linklist.cpp.

void Linklist::unlock  ) 
 

Definition at line 53 of file linklist.cpp.


Member Data Documentation

Entry* Linklist::first
 

Definition at line 52 of file linklist.h.

Entry* Linklist::last
 

Definition at line 53 of file linklist.h.

int Linklist::length
 

Definition at line 54 of file linklist.h.


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