Ignore:
Timestamp:
10/01/21 22:41:15 (12 months ago)
Author:
Maciej Komosinski
Message:

Added ParamInterface::findGroupId(const char* name)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/param.cpp

    r993 r1155  
    686686}
    687687
     688int ParamInterface::findGroupId(const char* name)
     689{
     690for(int i=0;i<getGroupCount();i++)
     691        if (!strcmp(grname(i),name))
     692                return i;
     693return -1;
     694}
     695
    688696void ParamInterface::get(int i, ExtValue &ret)
    689697{
     
    926934                                err = "no procedure defined";
    927935                }
    928                 if (pe->flags & PARAM_READONLY)
    929                         err = "function can't be PARAM_READONLY";
    930936        }
    931937        else
Note: See TracChangeset for help on using the changeset viewer.