|
rambrain
|
Class to encapsulate parameters given by type T. More...
#include <performanceTestClasses.h>
Public Member Functions | |
| virtual | ~testParameter () |
| Cleanup. More... | |
| virtual string | valueAsString () |
| Cast the encapsulated parameter to a string and return it's mean value. More... | |
| virtual string | valueAsString (unsigned int step) |
| Cast the encapsulated parameter to a string and return it's value at a certain step. More... | |
Public Member Functions inherited from testParameterBase | |
| virtual | ~testParameterBase () |
| Cleanup. More... | |
Public Attributes | |
| T | min |
| T | max |
| T | mean |
Public Attributes inherited from testParameterBase | |
| unsigned int | steps |
| bool | deltaLog |
| string | name |
| bool | enabled = true |
Protected Member Functions | |
| T | valueAtStep (unsigned int step) |
| Look up the parameter value at a certain step. More... | |
| string | toString (const T &t) |
| Convert a value of the parameter type to a string. More... | |
Class to encapsulate parameters given by type T.
Definition at line 76 of file performanceTestClasses.h.
|
inlinevirtual |
Cleanup.
Definition at line 83 of file performanceTestClasses.h.
|
inlineprotected |
Convert a value of the parameter type to a string.
| t | The value |
Definition at line 125 of file performanceTestClasses.h.
|
inlinevirtual |
Cast the encapsulated parameter to a string and return it's mean value.
Implements testParameterBase.
Definition at line 88 of file performanceTestClasses.h.
|
inlinevirtual |
Cast the encapsulated parameter to a string and return it's value at a certain step.
| step | The step to take |
Implements testParameterBase.
Definition at line 97 of file performanceTestClasses.h.
|
inlineprotected |
Look up the parameter value at a certain step.
| step | The step |
Definition at line 109 of file performanceTestClasses.h.
| T testParameter< T >::max |
Definition at line 101 of file performanceTestClasses.h.
| T testParameter< T >::mean |
Definition at line 101 of file performanceTestClasses.h.
| T testParameter< T >::min |
Definition at line 101 of file performanceTestClasses.h.