rambrain
testParameterBase Class Referenceabstract

A base class to encapsulate parameters for performance tests. More...

#include <performanceTestClasses.h>

Inheritance diagram for testParameterBase:
testParameter< T >

Public Member Functions

virtual ~testParameterBase ()
 Cleanup. More...
 
virtual string valueAsString ()=0
 Cast the encapsulated parameter to a string and return it's mean value. More...
 
virtual string valueAsString (unsigned int step)=0
 Cast the encapsulated parameter to a string and return it's value at a certain step. More...
 

Public Attributes

unsigned int steps
 
bool deltaLog
 
string name
 
bool enabled = true
 

Detailed Description

A base class to encapsulate parameters for performance tests.

Definition at line 46 of file performanceTestClasses.h.

Constructor & Destructor Documentation

virtual testParameterBase::~testParameterBase ( )
inlinevirtual

Cleanup.

Definition at line 52 of file performanceTestClasses.h.

Member Function Documentation

virtual string testParameterBase::valueAsString ( )
pure virtual

Cast the encapsulated parameter to a string and return it's mean value.

Implemented in testParameter< T >.

virtual string testParameterBase::valueAsString ( unsigned int  step)
pure virtual

Cast the encapsulated parameter to a string and return it's value at a certain step.

Parameters
stepThe step to take
Returns
min + (max - min) * step

Implemented in testParameter< T >.

Member Data Documentation

bool testParameterBase::deltaLog

Definition at line 66 of file performanceTestClasses.h.

bool testParameterBase::enabled = true

Definition at line 68 of file performanceTestClasses.h.

string testParameterBase::name

Definition at line 67 of file performanceTestClasses.h.

unsigned int testParameterBase::steps

Definition at line 65 of file performanceTestClasses.h.


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