Drive Engine  1.0.0
Plateforme de reconstruction 3D
DriveEngine::DefaultIntegerNumberParameter Class Reference
Inheritance diagram for DriveEngine::DefaultIntegerNumberParameter:
DriveEngine::IIntegerNumberParameter DriveEngine::IParameter DriveEngine::IDatatype IExportable

Public Member Functions

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

Member Function Documentation

virtual const char* DriveEngine::DefaultIntegerNumberParameter::GetName ( ) const
virtual

Gets the name of the parameter.

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

Returns
The parameter name.

Implements DriveEngine::IParameter.

virtual const char* DriveEngine::DefaultIntegerNumberParameter::GetType ( ) const
virtual

Gets the type of the parameter.

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

Returns
Returns the type.

Implements DriveEngine::IParameter.

virtual int DriveEngine::DefaultIntegerNumberParameter::GetValue ( ) const
virtual

Gets the parameter value.

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

Returns
The integer number parameter value.

Implements DriveEngine::IIntegerNumberParameter.

virtual const char* DriveEngine::DefaultIntegerNumberParameter::GetValueByString ( )
virtual

Gets the value of the parameter by a string.

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

Returns
Returns the value by string. If no value was set it returns an empty string

Implements DriveEngine::IParameter.

virtual void DriveEngine::DefaultIntegerNumberParameter::SetName ( const char *  name)
virtual

Sets the name of the parameter.

If the text is null or empty, the name will be an empty string.

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

Parameters
nameThe parameter name.

Implements DriveEngine::IParameter.

virtual void DriveEngine::DefaultIntegerNumberParameter::SetValueByString ( const char *  value)
virtual

Sets the value of the parameter by a string.

A string type value will be converted in a concret value in function of the type of parameter.

Exception safety : Strong exception safety. This member function throws exceptions if the argument cannot be converted to a valid value of the parameter.

Parameters
valueThe parameter name.

Implements DriveEngine::IParameter.


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