ANTLR3C  3.3.1
ANTLR3_LIST_struct Struct Reference

Structure that represents a LIST collection. More...

#include <antlr3collections.h>

Collaboration diagram for ANTLR3_LIST_struct:

Data Fields

ANTLR3_INT32(* add )(struct ANTLR3_LIST_struct *list, void *element, void(ANTLR3_CDECL *freeptr)(void *))
 
void(* del )(struct ANTLR3_LIST_struct *list, ANTLR3_INTKEY key)
 
void(* free )(struct ANTLR3_LIST_struct *list)
 
void *(* get )(struct ANTLR3_LIST_struct *list, ANTLR3_INTKEY key)
 
ANTLR3_INT32(* put )(struct ANTLR3_LIST_struct *list, ANTLR3_INTKEY key, void *element, void(ANTLR3_CDECL *freeptr)(void *))
 
void *(* remove )(struct ANTLR3_LIST_struct *list, ANTLR3_INTKEY key)
 
ANTLR3_UINT32(* size )(struct ANTLR3_LIST_struct *list)
 
pANTLR3_HASH_TABLE table
 Hash table that is storing the list elements. More...
 

Detailed Description

Structure that represents a LIST collection.

Field Documentation

◆ add

ANTLR3_INT32(* ANTLR3_LIST_struct::add) (struct ANTLR3_LIST_struct *list, void *element, void(ANTLR3_CDECL *freeptr)(void *))

Referenced by antlr3ListNew().

◆ del

void(* ANTLR3_LIST_struct::del) (struct ANTLR3_LIST_struct *list, ANTLR3_INTKEY key)

Referenced by antlr3ListNew().

◆ free

void(* ANTLR3_LIST_struct::free) (struct ANTLR3_LIST_struct *list)

◆ get

void*(* ANTLR3_LIST_struct::get) (struct ANTLR3_LIST_struct *list, ANTLR3_INTKEY key)

◆ put

ANTLR3_INT32(* ANTLR3_LIST_struct::put) (struct ANTLR3_LIST_struct *list, ANTLR3_INTKEY key, void *element, void(ANTLR3_CDECL *freeptr)(void *))

◆ remove

void*(* ANTLR3_LIST_struct::remove) (struct ANTLR3_LIST_struct *list, ANTLR3_INTKEY key)

Referenced by antlr3ListNew().

◆ size

ANTLR3_UINT32(* ANTLR3_LIST_struct::size) (struct ANTLR3_LIST_struct *list)

◆ table

pANTLR3_HASH_TABLE ANTLR3_LIST_struct::table

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