All Frameworks Class Hierarchy This Framework Indexes
ManufacturingInterfaces Interface CATIMfgActivityNCCodeFileManagement
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIMfgActivityNCCodeFileManagement
Interface to manage NC Code file on Activity.
Method Index
- o
GetFileListSize(int&)
- Get the Size of NC Code file list associated to the activity.
- o
GetISOFileStatus(int&)
- Computes and returns the status of the nc code file.
- o
GetNCCodeFileFromList(CATUnicodeString&,int&)
- Reads the NC Code file from the list associated to the activity.
- o
GetNCCodeFile(CATUnicodeString&)
- Reads the NC Code file associated to the activity.
- o
SetNCCodeFileList(CATUnicodeString&)
- Associates NC Code file list to the activity.
- o
SetNCCodeFile(CATUnicodeString&)
- Associates a NC Code file to the activity.
- o
UnsetNCCodeFileList(int&)
- Remove a file from the list of files associated to the activity.
- o
UnsetNCCodeFile()
- Removes the NC Code file associated to the activity.
Methods
o GetFileListSize
| public virtual GetFileListSize( | | oNum) |
-
Get the Size of NC Code file list associated to the activity.
- Parameters:
-
- oNum
- The size of the List
- Returns:
- S_OK if the file list is successfully retrieved, and E_FAIL otherwise.
o GetISOFileStatus
| public virtual GetISOFileStatus( | | oStatus) |
-
Computes and returns the status of the nc code file.
- Parameters:
-
- oStatus
- indicates the status
Legal values:
- 0: NC file does not exist
- -1: NC file exist but is not found
- 1: NC exist but is not up-to-date
- 2: NC file exist and is up-to-date
- Returns:
- HRESULT can be S_OK,
S_FALSE if the status is unknown (oStatus =0),
E_FAIL with allocated Error definition (oStatus =0).
o GetNCCodeFileFromList
| public virtual GetNCCodeFileFromList( | | oFilePath, |
| | index) |
-
Reads the NC Code file from the list associated to the activity.
- Parameters:
-
- oFilePath
- The full path of the NC Code File
- iIndex
- The index of the file in the list
- Returns:
- S_OK if the file list is successfully retrieved, and E_FAIL otherwise.
o GetNCCodeFile
| public virtual GetNCCodeFile( | | oFilePath) |
-
Reads the NC Code file associated to the activity.
- Parameters:
-
- oFilePath
- The full path of the NC Code File
- Returns:
- S_OK if the file is successfully retrieved, and E_FAIL otherwise.
o SetNCCodeFileList
| public virtual SetNCCodeFileList( | const | iFilePath) |
-
Associates NC Code file list to the activity.
- Parameters:
-
- iFilePath
- The full path of the NC Code File
- Returns:
- S_OK if the file list is successfully associated with the activity, and E_FAIL if the file cannot be allocated
o SetNCCodeFile
| public virtual SetNCCodeFile( | const | iFilePath) |
-
Associates a NC Code file to the activity.
- Parameters:
-
- iFilePath
- The full path of the NC Code File
- Returns:
- S_OK if the file is successfully associated with the activity, and E_FAIL if the file cannot be allocated
o UnsetNCCodeFileList
| public virtual UnsetNCCodeFileList( | | iIndex) |
-
Remove a file from the list of files associated to the activity.
- Parameters:
-
- iIndex
- The index of the file in the list
- Returns:
- S_OK if the file list is successfully retrieved, and E_FAIL otherwise.
o UnsetNCCodeFile
| public virtual UnsetNCCodeFile( | ) |
-
Removes the NC Code file associated to the activity.
The File is not deleted from the disk.
- Returns:
- S_OK if the file is successfully removed, E_FAIL otherwise.
This object is included in the file: CATIMfgActivityNCCodeFileManagement.h
If needed, your Imakefile.mk should include the module: MfgItfEnv