Ignore:
Timestamp:
04/11/16 02:07:03 (8 years ago)
Author:
Maciej Komosinski
Message:

Unified and better formatted error and warning messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/model.h

    r408 r495  
    124124
    125125void updateNeuroRefno(); // set Neuro::refno for all neurons
     126SString nameForErrors() const;
    126127int internalcheck(int final);
    127128
     
    275276    or negative value. reference number can be used to access
    276277    the item using getPart(int), getJoint(int) and getNeuroItem(int) methods.
     278    @param line_num optional line number used in error messages
    277279    @param srcrange source genotype range which will be mapped to this element
    278280*/
    279 int singleStepBuild(const SString &singleline,const MultiRange* srcrange=0);
     281int singleStepBuild(const SString &singleline,int line_num,const MultiRange* srcrange=NULL);
     282/** Execute single line of <B>f0</B> genotype - compatiblity variant */
     283int singleStepBuild(const SString &singleline,const MultiRange* srcrange=NULL);
     284/** Execute single line of <B>f0</B> genotype - low level variant, used by Model::build(), error messages returned as string instead of calling logger */
     285int singleStepBuildNoLog(const SString &singleline,SString& error_message,const MultiRange* srcrange=0);
    280286
    281287/// separate build stages (for future use)
Note: See TracChangeset for help on using the changeset viewer.