src/ModelParametersInfo.cpp
void FisheriesInfo::setToWriteVectorInitialValues(bool flag){
    if (pDevsLnC){
        for (int i=1;i<=pDevsLnC->getSize();i++){
            BoundedVectorInfo* vi = (*pDevsLnC)[i];
            if (flag) vi->readVals = INT_TRUE; else vi->readVals = INT_FALSE;        
        }
    }
}
/**
 * Sets the flags to write initial values for vector parameters to file 
 * when writing parameter info to file.
 * 
 * @param flag - true/false to set to write initial values to file
 */
Sets the flags to write initial values for vector parameters to file
when writing parameter info to file.

@param flag - true/false to set to write initial values to file
Sets the flags to write initial values for vector parameters to file when writing parameter info to file . @param flag - true / false to set to write initial values to file
void FisheriesInfo::setToWriteVectorInitialValues(bool flag){
    if (pDevsLnC){
        for (int i=1;i<=pDevsLnC->getSize();i++){
            BoundedVectorInfo* vi = (*pDevsLnC)[i];
            if (flag) vi->readVals = INT_TRUE; else vi->readVals = INT_FALSE;        
        }
    }
}
void FisheriesInfo :: setToWriteVectorInitialValues ( bool flag ) { if ( pDevsLnC ) { for ( int i = 1 ; i <= pDevsLnC -> getSize ( ) ; i ++ ) { BoundedVectorInfo * vi = ( * pDevsLnC ) [ i ] ; if ( flag ) vi -> readVals = INT_TRUE ; else vi -> readVals = INT_FALSE ; } } }
Sets the flags to write initial values for vector parameters to file
 when writing parameter info to file.
Sets the flags to write initial values for vector parameters to file when writing parameter info to file .