All Frameworks  Class Hierarchy  This Framework  Indexes   

CATPlantShipInterfaces Class CATPspWPCheckViolation

Usage: you can derive this class.


public class CATPspWPCheckViolation

Sub class of CATPspCheckViolation (Super class) to derive validation check violation object Role: Meta class Always subtype from this object


Constructor and Destructor Index


o CATPspWPCheckViolation(CATUnicodeString&,CATUnicodeString&,CATUnicodeString&)
Constructor
Role: Initialize the class.
o ~CATPspWPCheckViolation()

Method Index


o GetObject(CATBaseUnknown*&)
Get the violated object.
o SetObject(CATBaseUnknown*)
Set the violated object.

Constructor and Destructor


o CATPspWPCheckViolation
public CATPspWPCheckViolation( const iType,
const iCheck,
const iResource)
Constructor
Role: Initialize the class.
Parameters:
iType
The type of this validation check (e.g. CATDVSpec).
iCheck
Validation check name (e.g. Spec01)
iResource
.CATNls resource name
o ~CATPspWPCheckViolation
public virtual ~CATPspWPCheckViolation()

Methods


o GetObject
public virtual GetObject( opiObj)
Get the violated object.
Role: Get the violated object.
Parameters:
opiObj
[out, CATBaseUnknown#Release] Violated object (e.g. Loft)
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o SetObject
public virtual SetObject( const ipiObj)
Set the violated object.
Role: Set the violated object.
Parameters:
ipiObj
Violated object (e.g. Loft)
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

This object is included in the file: CATPspWPCheckViolation.h
If needed, your Imakefile.mk should include the module: CATPspItfCPP

Copyright © 2003, Dassault Systèmes. All rights reserved.