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  

InstVar Class Reference

Inheritance diagram for InstVar:

InstVarError InstVarInt InstVarReal InstVarTclObject InstVarTracedInt InstVarTracedReal InstVarUInt InstVarBool InstVarBandwidth InstVarTime List of all members.

Public Member Functions

virtual ~InstVar ()
virtual void set (const char *)=0
virtual const char * snget (char *wrk, int wrklen)=0
void init (const char *var)
const char * name ()
TracedVartracedvar ()
void tracedvar (TracedVar *v)

Static Public Member Functions

double time_atof (const char *s)
double bw_atof (const char *s)

Public Attributes

InstVar * next_

Protected Member Functions

 InstVar (const char *name)
void catch_read (const char *name1, const char *name2)
void catch_write (const char *name1, const char *name2)
void catch_destroy (const char *name1, const char *name2)

Protected Attributes

const char * name_

Static Private Member Functions

char * catch_var (ClientData, Tcl_Interp *tcl, char *name1, char *name2, int flags)

Constructor & Destructor Documentation

InstVar::InstVar const char *    name [protected]

InstVar::~InstVar   [virtual]

Member Function Documentation

double InstVar::bw_atof const char *    s [static]

void InstVar::catch_destroy const char *    name1,
const char *    name2

void InstVar::catch_read const char *    name1,
const char *    name2

char * InstVar::catch_var ClientData   ,
Tcl_Interp   tcl,
char *    name1,
char *    name2,
int    flags
[static, private]

void InstVar::catch_write const char *    name1,
const char *    name2

void InstVar::init const char *    var

const char* InstVar::name   [inline]

virtual void InstVar::set const char *    [pure virtual]

Implemented in InstVarTclObject, InstVarReal, InstVarBandwidth, InstVarTime, InstVarInt, InstVarUInt, InstVarBool, InstVarError, InstVarTracedInt, and InstVarTracedReal.

virtual const char* InstVar::snget char *    wrk,
int    wrklen
[pure virtual]

Implemented in InstVarTclObject, InstVarReal, InstVarInt, InstVarUInt, InstVarError, InstVarTracedInt, and InstVarTracedReal.

double InstVar::time_atof const char *    s [static]

void InstVar::tracedvar TracedVar   v [inline]

TracedVar* InstVar::tracedvar   [inline]

Member Data Documentation

const char* InstVar::name_ [protected]

InstVar* InstVar::next_

TracedVar* InstVar::tracedvar_ [protected]

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