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  

AllocAddr Class Reference

Inheritance diagram for AllocAddr:

TclObject List of all members.

Public Member Functions

 AllocAddr ()
 ~AllocAddr ()
int command (int argc, const char *const *argv)

Protected Member Functions

void get_mask (nsmask_t *mask, int fieldsize)
void alloc (int n)
bool check_size (int n)
bool find_free (int len, int *pos)
bool test (int which)
void set_field (int offset, int len, nsmask_t *mask, int *shift)
void free_field (int len)
void mark (int i)

Protected Attributes

int size_
int * bitmap_

Constructor & Destructor Documentation

AllocAddr::AllocAddr (    ) 
 

AllocAddr::~AllocAddr (    ) 
 


Member Function Documentation

void AllocAddr::alloc (  int    n )  [protected]
 

bool AllocAddr::check_size (  int    n )  [protected]
 

int AllocAddr::command (  int    argc,
const char *const *    argv
)  [virtual]
 

Reimplemented from TclObject.

bool AllocAddr::find_free (  int    len,
int *    pos
)  [protected]
 

void AllocAddr::free_field (  int    len )  [protected]
 

void AllocAddr::get_mask (  nsmask_t *    mask,
int    fieldsize
)  [protected]
 

void AllocAddr::mark (  int    i )  [protected]
 

void AllocAddr::set_field (  int    offset,
int    len,
nsmask_t *    mask,
int *    shift
)  [protected]
 

bool AllocAddr::test (  int    which )  [protected]
 


Member Data Documentation

int* AllocAddr::bitmap_ [protected]
 

int AllocAddr::size_ [protected]
 


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