NRC_JudgeJobIsExist(std::string jobname)
Check if the job file exists
Type
int=>Check if the job file exists
| Return value | Description |
|---|---|
| 0 | The Job file does not exist |
| 1 | The job file already exists |
Parameter Option
| Parameter | Type | Description |
|---|---|---|
| jobname | string | The name of the job file to be checked |
Sample code
NRC_JudgeJobIsExist("NRCAPI");//Check if the job file "NRCAPI" exists