FreeBASIC  0.91.0
list.bi File Reference
#include "common.bi"
Include dependency graph for list.bi:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  TLISTNODE
 
class  TLISTTB
 
class  TLIST
 

Macros

#define __LIST_BI__
 

Enumerations

enum  LIST_FLAGS {
  LIST_FLAGS_NONE = &h00000000, LIST_FLAGS_CLEARNODES = &h00000001, LIST_FLAGS_LINKFREENODES = &h00000002, LIST_FLAGS_LINKUSEDNODES = &h00000004,
  LIST_FLAGS_CLEAR = LIST_FLAGS_CLEARNODES or LIST_FLAGS_LINKFREENODES or LIST_FLAGS_LINKUSEDNODES, LIST_FLAGS_NOCLEAR = LIST_FLAGS_LINKFREENODES or LIST_FLAGS_LINKUSEDNODES, LIST_FLAGS_ALL = &hFFFFFFFF
}
 

Functions

sub listInit (byval_as_TLIST_ptr list, byval_as_integer nodes, byval_as_integer nodelen, byval_as_LIST_FLAGS flags=LIST_FLAGS_ALL)
 
sub listEnd (byval_as_TLIST_ptr list)
 
function_as_any_ptr listNewNode (byval_as_TLIST_ptr list)
 
sub listDelNode (byval_as_TLIST_ptr list, byval_as_any_ptr node)
 
sub listAllocTB (byval_as_TLIST_ptr list, byval_as_integer nodes)
 
function_as_any_ptr listGetHead (byval_as_TLIST_ptr list)
 
function_as_any_ptr listGetTail (byval_as_TLIST_ptr list)
 
function_as_any_ptr listGetPrev (byval_as_any_ptr node)
 
function_as_any_ptr listGetNext (byval_as_any_ptr node)
 
sub strlistAppend (byval_as_TLIST_ptr list, byref_as_string s)
 
sub strlistInit (byval_as_TLIST_ptr list, byval_as_integer nodes)
 

Macro Definition Documentation

#define __LIST_BI__

Definition at line 2 of file list.bi.

Enumeration Type Documentation

enum LIST_FLAGS
Enumerator
LIST_FLAGS_NONE 
LIST_FLAGS_CLEARNODES 
LIST_FLAGS_LINKFREENODES 
LIST_FLAGS_LINKUSEDNODES 
LIST_FLAGS_CLEAR 
LIST_FLAGS_NOCLEAR 
LIST_FLAGS_ALL 

Definition at line 95 of file list.bi.

Function Documentation

sub listAllocTB ( byval_as_TLIST_ptr  list,
byval_as_integer  nodes 
)

Definition at line 77 of file list.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub listDelNode ( byval_as_TLIST_ptr  list,
byval_as_any_ptr  node 
)

Definition at line 174 of file list.bas.

Here is the caller graph for this function:

sub listEnd ( byval_as_TLIST_ptr  list)

Definition at line 59 of file list.bas.

Here is the caller graph for this function:

function_as_any_ptr listGetHead ( byval_as_TLIST_ptr  list)

Definition at line 220 of file list.bas.

Here is the caller graph for this function:

function_as_any_ptr listGetNext ( byval_as_any_ptr  node)

Definition at line 273 of file list.bas.

Here is the caller graph for this function:

function_as_any_ptr listGetPrev ( byval_as_any_ptr  node)

Definition at line 252 of file list.bas.

Here is the caller graph for this function:

function_as_any_ptr listGetTail ( byval_as_TLIST_ptr  list)

Definition at line 236 of file list.bas.

Here is the caller graph for this function:

sub listInit ( byval_as_TLIST_ptr  list,
byval_as_integer  nodes,
byval_as_integer  nodelen,
byval_as_LIST_FLAGS  flags = LIST_FLAGS_ALL 
)

Definition at line 38 of file list.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_any_ptr listNewNode ( byval_as_TLIST_ptr  list)

Definition at line 136 of file list.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub strlistAppend ( byval_as_TLIST_ptr  list,
byref_as_string  s 
)

Definition at line 292 of file list.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub strlistInit ( byval_as_TLIST_ptr  list,
byval_as_integer  nodes 
)

Definition at line 297 of file list.bas.

Here is the call graph for this function:

Here is the caller graph for this function: