CATTPSBaseUseItf Interface CATITPSSemanticValidity
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATITPSSemanticValidity
Interface designed to manage the Semantic Validity of Technological Product
Specifications (TPS).
Norm of the specification is considered as a semantic
information. To test an IID use CATCmpGuid of System framework.
- See also:
-
Method Index
- o
Check(wchar_t**,CATTPSStatus*,CATITTRS*)
- Performs semantic check of the TPS.
- o
GetAllSemanticsItf(int*,IID***)
- Retrieves all semantics interfaces implemented by a TPS.
- o
GetSuperType(IID**)
- Retrieves TPS super type.
- o
GetTPSStatus(CATTPSStatus*)
- Retrieves the TPS's status.
- o
GetType(IID**)
- Retrieves TPS type.
- o
GetUnderstandingSemanticsItf(int*,IID***)
- Retrieves semantics interfaces to analyse for understanding a TPS.
Methods
o Check
public virtual Check( | | oDiagnostic, |
| | oStatus, |
| | ipiTTRS | = NULL) |
-
Performs semantic check of the TPS.
- Parameters:
-
- oDiagnostic
- Message that contains semantic diagnostic on TPS.
It is composed of [0...n] NLS Keys separated by blank.
oDiagnostic must be deleted after use.
Set to NULL if no interest with diagnostic.
- oStatus
- The TPS status.
- ipiTTRS
- To use only with a default annotation. In this case, the TPS could
have many TTRS, so we can want the status of the TPS with on TTRS.
If, you don't give a TTRS, you have the overall status.
o GetAllSemanticsItf
public virtual GetAllSemanticsItf( | | oCount, |
| | oIIDList) |
-
Retrieves all semantics interfaces implemented by a TPS.
Same usage that GetUnderstandingSemanticsItf() method.
o GetSuperType
public virtual GetSuperType( | | oIID) |
-
Retrieves TPS super type.
o GetTPSStatus
public virtual GetTPSStatus( | | oStatus) |
-
Retrieves the TPS's status.
This status depends of TTRS's validity state pointed by TPS.
- Parameters:
-
- oStatus
- The TPS status.
o GetType
public virtual GetType( | | oIID) |
-
Retrieves TPS type.
o GetUnderstandingSemanticsItf
public virtual GetUnderstandingSemanticsItf( | | oCount, |
| | oIIDList) |
-
Retrieves semantics interfaces to analyse for understanding a TPS.
Returns a list of IID, starting a 0.
Sample:
CATITPSSemanticValidity * Semantic = NULL;
...
// Retrieve interface
...
int Count = 0;
IID ** IIDList = NULL;
Semantic -> GetUnderstandingSemanticsItf (&Count, &IIDList);
for (int i = 0; i < Count; i++ )
{
// use IIDList[i] for accessing list members
...
}
delete [] IIDList; // Remove list
This object is included in the file: CATITPSSemanticValidity.h
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.