- Timestamp:
- 10/01/21 22:41:15 (3 years ago)
- Location:
- cpp/frams/param
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/param/param.cpp
r993 r1155 686 686 } 687 687 688 int ParamInterface::findGroupId(const char* name) 689 { 690 for(int i=0;i<getGroupCount();i++) 691 if (!strcmp(grname(i),name)) 692 return i; 693 return -1; 694 } 695 688 696 void ParamInterface::get(int i, ExtValue &ret) 689 697 { … … 926 934 err = "no procedure defined"; 927 935 } 928 if (pe->flags & PARAM_READONLY)929 err = "function can't be PARAM_READONLY";930 936 } 931 937 else -
cpp/frams/param/param.h
r950 r1155 78 78 int findId(const char *n); ///< find id number for internal name 79 79 int findIdn(const char *naz, int n); 80 int findGroupId(const char* name); 80 81 81 82 virtual const char *id(int i) = 0; ///< get internal name
Note: See TracChangeset
for help on using the changeset viewer.