Pointwise Plugin SDK
|
Functions | |
int | caeuFileClose (CAEP_RTITEM *pRti, const CAEP_WRITEINFO *pWriteInfo) |
Closes pRti for file I/O as specified by pWriteInfo. More... | |
int | caeuFileOpen (CAEP_RTITEM *pRti, const CAEP_WRITEINFO *pWriteInfo) |
Prepare pRti for file I/O as specified by pWriteInfo. More... | |
CAE file I/O utility functions and data-types.
int caeuFileClose | ( | CAEP_RTITEM * | pRti, |
const CAEP_WRITEINFO * | pWriteInfo | ||
) |
Closes pRti for file I/O as specified by pWriteInfo.
Prior to this call, pRti must have been opened with a prior call to caeuFileOpen(). The current working directory is restored to the location in effect when caeuFileOpen() was called.
pRti | The CAEP_RTITEM pointer passed into runtimeWrite(). |
pWriteInfo | The CAEP_WRITEINFO pointer passed into runtimeWrite(). |
Definition at line 176 of file apiCAEPUtils.cxx.
References CAEP_FORMATINFO::fileDest, CAEP_WRITEINFO::fileDest, CAEP_RTITEM::FormatInfo, CAEP_RTITEM::fp, PWP_FILEDEST_BASENAME, PWP_FILEDEST_FILENAME, PWP_FILEDEST_FOLDER, pwpCwdPop(), pwpFileClose(), and pwpFileDelete().
Referenced by openFileName(), and PwCaeGridWrite().
int caeuFileOpen | ( | CAEP_RTITEM * | pRti, |
const CAEP_WRITEINFO * | pWriteInfo | ||
) |
Prepare pRti for file I/O as specified by pWriteInfo.
pRti | The CAEP_RTITEM pointer passed into runtimeWrite(). |
pWriteInfo | The CAEP_WRITEINFO pointer passed into runtimeWrite(). |
In all cases, the current working directory is set to the path specified in pWriteInfo->fileDest.
Definition at line 438 of file apiCAEPUtils.cxx.
References CAEP_FORMATINFO::fileDest, CAEP_WRITEINFO::fileDest, fileDestCwdPush(), CAEP_RTITEM::FormatInfo, openFileName(), PWP_FILEDEST_BASENAME, PWP_FILEDEST_FILENAME, PWP_FILEDEST_FOLDER, pwpCwdPop(), and pwpCwdPush().
Referenced by PwCaeGridWrite().