Changeset 3860


Ignore:
Timestamp:
05/20/10 07:35:34 (15 years ago)
Author:
Mathieu Morlighem
Message:

updated doubleinputs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Inputs/DoubleInput.cpp

    r3847 r3860  
    147147/*Object functions*/
    148148/*FUNCTION DoubleInput::GetParameterValue(bool* pvalue) {{{1*/
    149 void DoubleInput::GetParameterValue(bool* pvalue){ISSMERROR(" not supported yet!");}
     149void DoubleInput::GetParameterValue(bool* pvalue){
     150
     151        ISSMERROR("cannot return a bool");
     152
     153}
    150154/*}}}*/
    151155/*FUNCTION DoubleInput::GetParameterValue(int* pvalue){{{1*/
    152 void DoubleInput::GetParameterValue(int* pvalue){ISSMERROR(" not supported yet!");}
     156void DoubleInput::GetParameterValue(int* pvalue){
     157
     158        ISSMERROR("cannot return an integer");
     159
     160}
    153161/*}}}*/
    154162/*FUNCTION DoubleInput::GetParameterValue(double* pvalue){{{1*/
    155 void DoubleInput::GetParameterValue(double* pvalue){ISSMERROR(" not supported yet!");}
     163void DoubleInput::GetParameterValue(double* pvalue){
     164
     165        /*return value*/
     166        *pvalue=value;
     167}
    156168/*}}}*/
    157169/*FUNCTION DoubleInput::GetParameterValue(double* pvalue,Node* node){{{1*/
Note: See TracChangeset for help on using the changeset viewer.