【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.11.6 nlsf_func_to_fdf
Description
Find nlf FDF name by function name from given category's file list
Syntax
bool nlsf_func_to_fdf(const string strCategory, const string strfuncName, string & strfileName, bool bFullPath = false)
Parameters
- strCategory
- [input] Category name
- strfuncName
- [input] function name
- strfileName
- [output] name of file that includes function
- bFullPath
- [input] get full path of fdf file or not
Return
if get succese will return true, else return false.
Examples
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);
EX
#include <Origin.h> #include <..\originlab\nlsf_utils.h> void nlsf_func_to_fdf_ex(string strCategory, string strfuncName) { string strfileName; bool bFullPath = true; if( nlsf_func_to_fdf(strCategory, strfuncName, strfileName, bFullPath) ) out_str(strfileName); }