N-sim
Emulation and simulation of
Wireless Sensor Networks



   Home


   Project Page


   Download


   CVS



   Installation


   Configuration


   Plug-ins




 Hosted by
SourceForge.net Logo

Partition Class Reference

#include <partition.h>

Inheritance diagram for Partition:

Ksection List of all members.

Public Member Functions

 Partition (unsigned int s)
 ~Partition ()
unsigned int get_size ()
Partition_Elementarray (int i)
void print ()

Protected Attributes

unsigned int _size
Partition_Element_arr

Detailed Description

Definition at line 53 of file partition.h.


Constructor & Destructor Documentation

Partition::Partition unsigned int  s  ) 
 

Definition at line 40 of file partition.cpp.

References _arr, _size, Partition_Element::head, and Partition_Element::tail.

Referenced by Ksection::Ksection().

Partition::~Partition  ) 
 

Definition at line 53 of file partition.cpp.

References _arr, and _size.


Member Function Documentation

Partition_Element* Partition::array int  i  ) 
 

Definition at line 64 of file partition.h.

References _arr.

Referenced by ctl_server(), and Ksection::Ksection().

unsigned int Partition::get_size  ) 
 

Definition at line 62 of file partition.h.

References _size.

void Partition::print  ) 
 

Definition at line 68 of file partition.cpp.

References _arr, and _size.


Member Data Documentation

Partition_Element* Partition::_arr [protected]
 

Definition at line 56 of file partition.h.

Referenced by array(), Partition(), print(), and ~Partition().

unsigned int Partition::_size [protected]
 

Definition at line 55 of file partition.h.

Referenced by get_size(), Partition(), print(), and ~Partition().


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


© 2007, Los Alamos National Security, LLC.