src/ModelParametersInfo.cpp
BoundedNumberVectorInfo* ParameterGroupInfo::read(cifstream& is, adstring& lbl, BoundedNumberVectorInfo* pBNVI){
    adstring param;
    is>>param;
    if (param==lbl){
        if (debug) cout<<"Reading "<<lbl<<endl;
        pBNVI = new BoundedNumberVectorInfo(lbl);
        is>>(*pBNVI);
        if (debug) cout<<"ptr to "<<lbl<<": "<<pBNVI<<endl<<(*pBNVI)<<endl;
    } else {
        tcsam::readError(is,lbl,param);
        exit(-1);
    }
    return pBNVI;
}
/**
 * Reads info for a BoundedNumberVector object from an input filestream.
 * @param is
 * @param lbl
 * @param pBNVI
 * @return 
 */
Reads info for a BoundedNumberVector object from an input filestream.
Reads info for a BoundedNumberVector object from an input filestream .
BoundedNumberVectorInfo* ParameterGroupInfo::read(cifstream& is, adstring& lbl, BoundedNumberVectorInfo* pBNVI){
    adstring param;
    is>>param;
    if (param==lbl){
        if (debug) cout<<"Reading "<<lbl<<endl;
        pBNVI = new BoundedNumberVectorInfo(lbl);
        is>>(*pBNVI);
        if (debug) cout<<"ptr to "<<lbl<<": "<<pBNVI<<endl<<(*pBNVI)<<endl;
    } else {
        tcsam::readError(is,lbl,param);
        exit(-1);
    }
    return pBNVI;
}
BoundedNumberVectorInfo * ParameterGroupInfo :: read ( cifstream & is , adstring & lbl , BoundedNumberVectorInfo * pBNVI ) { adstring param ; is >> param ; if ( param == lbl ) { if ( debug ) cout << " " << lbl << endl ; pBNVI = new BoundedNumberVectorInfo ( lbl ) ; is >> ( * pBNVI ) ; if ( debug ) cout << " " << lbl << " " << pBNVI << endl << ( * pBNVI ) << endl ; } else { tcsam :: readError ( is , lbl , param ) ; exit ( -1 ) ; } return pBNVI ; }
Reads info for a BoundedNumberVector object from an input filestream.
Reads info for a BoundedNumberVector object from an input filestream .