All Frameworks Class Hierarchy This Framework Previous Next Indexes
CATTPSInterfaces Interface CATITPSSemanticValidity
System.IUnknown
|
+---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:
- CATCmpGuid
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
-
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 HRESULT GetAllSemanticsItf( | int* | oCount, |
| IID*** | oIIDList) const = 0 |
-
Retrieves all semantics interfaces implemented by a TPS.
Same usage that GetUnderstandingSemanticsItf() method.
o GetSuperType
-
Retrieves TPS super type.
o GetTPSStatus
-
Retrieves the TPS's status.
This status depends of TTRS's validity state pointed by TPS.
- Parameters:
-
- oStatus
- The TPS status.
o GetType
-
Retrieves TPS type.
o GetUnderstandingSemanticsItf
public virtual HRESULT GetUnderstandingSemanticsItf( | int* | oCount, |
| IID*** | oIIDList) const = 0 |
-
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