ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

List Struct Reference

#include <tclInt.h>

List of all members.

Public Member Functions

 List ()
 ~List ()
void Prepend (void *item)
void Append (void *item)
void * Remove ()
void Mapcar (VoidFunctionPtr func)
int IsEmpty ()
int Size ()
void SortedInsert (void *item, float sortKey)
void * SortedRemove (float *keyPtr)
float MinKey ()
int SetInsert (void *key, CompareFunction eq)
void * SetRemove (void *key, CompareFunction eq)
void * IsPresent (void *key, CompareFunction eq)
void Purge (void *key, CompareFunction eq, VoidFunctionPtr destroy)

Public Attributes

int maxElemCount
int elemCount
Tcl_Obj ** elements

Private Attributes

ListElementfirst
ListElementlast
int size


Constructor & Destructor Documentation

List::List  
 

List::~List  
 


Member Function Documentation

void List::Append void *    item
 

int List::IsEmpty  
 

void * List::IsPresent void *    key,
CompareFunction    eq
 

void List::Mapcar VoidFunctionPtr    func
 

float List::MinKey  
 

void List::Prepend void *    item
 

void List::Purge void *    key,
CompareFunction    eq,
VoidFunctionPtr    destroy
 

void * List::Remove  
 

int List::SetInsert void *    key,
CompareFunction    eq
 

void * List::SetRemove void *    key,
CompareFunction    eq
 

int List::Size   [inline]
 

void List::SortedInsert void *    item,
float    sortKey
 

void * List::SortedRemove float *    keyPtr
 


Member Data Documentation

int List::elemCount
 

Tcl_Obj** List::elements
 

ListElement* List::first [private]
 

ListElement* List::last [private]
 

int List::maxElemCount
 

int List::size [private]
 


The documentation for this struct was generated from the following files:
This document is generated by doxygen.