Load a functions list from certain Category
bool nslf_get_func_list( vector<string> & vsFuncNames, vector<string> & vsFileNames, string strCategory )
if get succese will return true, else return false.
Prior to compiling the following functions, you must run the following command via the Script or Command window:
Run.LoadOC(Originlab\nlsf_utils.c, 16);
EX1
#include <..\originlab\nlsf_utils.h> void nslf_get_func_list_ex1(TreeNode& trNode) { string strFuncList; vector<string> vsFunc; vector<string> vsFuncFileNames; if(nslf_get_func_list(vsFunc, vsFuncFileNames, "Baseline")) { strFuncList.SetTokens(vsFunc, '|'); trNode.SetAttribute(STR_COMBO_ATTRIB, strFuncList); } }
nlsf_utils.h