Drive Engine  1.0.0
Plateforme de reconstruction 3D
DriveEngine::IRealNumberParameter Class Referenceabstract

The real number parameter datatype interface. More...

#include <IRealNumberParameter.h>

Inheritance diagram for DriveEngine::IRealNumberParameter:
DriveEngine::IParameter DriveEngine::IDatatype IExportable DriveEngine::DefaultRealNumberParameter

Public Member Functions

virtual void SetValue (long double number)=0
 Sets the parameter value. More...
 
virtual double GetValue () const =0
 Gets the parameter value. More...
 
- Public Member Functions inherited from DriveEngine::IParameter
virtual void SetName (const char *name)=0
 Sets the name of the parameter. More...
 
virtual const char * GetName () const =0
 Gets the name of the parameter. More...
 
virtual const char * GetType () const =0
 Gets the type of the parameter. More...
 
virtual void SetValueByString (const char *value)=0
 Sets the value of the parameter by a string. More...
 
virtual const char * GetValueByString ()=0
 Gets the value of the parameter by a string. More...
 
- Public Member Functions inherited from IExportable
virtual void Delete () const =0
 Deletes the current object. Needed for memory management. More...
 

Detailed Description

The real number parameter datatype interface.

It contain as value a real number.

Member Function Documentation

virtual double DriveEngine::IRealNumberParameter::GetValue ( ) const
pure virtual

Gets the parameter value.

Exception safety : No-throw guarantee. This member function never throws exceptions.

Returns
The real number parameter value.

Implemented in DriveEngine::DefaultRealNumberParameter.

virtual void DriveEngine::IRealNumberParameter::SetValue ( long double  number)
pure virtual

Sets the parameter value.

If the number is null, the parameter value will be zero.

Exception safety : No-throw guarantee. This member function never throws exceptions.

Parameters
numberThe new real number parameter value.

Implemented in DriveEngine::DefaultRealNumberParameter.


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