In file /home/blah/darwin2k/src/d2k/d2kcore/configuration.h:

class param

param - represents properties of a module or configuration

Public Fields

[more]constEnum constFlag
indicates whether the parameter can be changed
[more]unsigned long bits
the number of bits used to represent the value
[more]double min
the minimum floating-point value represented by the parameter; corresponds to an ival of 0
[more]double max
the minimum floating-point value represented by the parameter; corresponds to an ival of 2^(bits)-1
[more]unsigned long ival
the integer / bitstring representation of the parameter value
[more]double val
the floating-point representation of the parameter value
[more]char* componentName
an optional text-version of parameter for component selection

Public Methods

[more]void randomize(void)
selects a random ival
[more]int computeIval(void)
computes the ival corresponding to the current value of val
[more]double computeVal(void)
computes the val corresponding to the current value of ival
[more] return(p1 == p2)


Documentation

param - represents properties of a module or configuration
oconstEnum constFlag
indicates whether the parameter can be changed

ounsigned long bits
the number of bits used to represent the value

odouble min
the minimum floating-point value represented by the parameter; corresponds to an ival of 0

odouble max
the minimum floating-point value represented by the parameter; corresponds to an ival of 2^(bits)-1

ounsigned long ival
the integer / bitstring representation of the parameter value

odouble val
the floating-point representation of the parameter value

ochar* componentName
an optional text-version of parameter for component selection

ovoid randomize(void)
selects a random ival

oint computeIval(void)
computes the ival corresponding to the current value of val

odouble computeVal(void)
computes the val corresponding to the current value of ival

o return(p1 == p2)


This class has no child classes.
Friends:
int operator==(const param &p1, const param &p2)
int operator!=(const param &p1, const param &p2) {

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.