Category Feature element trees, Object ProElement

Function ProElementDiagnosticsCollect


Description
Obtains a list of the element diagnostics for the element. These contain warnings and errors regarding the value of the element, within the context of the feature and remainder of the element tree.
Synopsis
#include <ProElement.h>
ProErrorProElementDiagnosticsCollect(
ProElement element
/* (In)
The element.
*/
ProElemdiagnostic** diagnostics
/* (Out)
A ProArray containing any potential problems associated to this element or its value. Free this using ProElemdiagnosticProarrayFree.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded. PRO_TK_E_NOT_FOUND -The size of diagnostic array is zero.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. Element Trees: Principles of Feature Creation: Feature Element Diagnostics
  2. Element Trees: Principles of Feature Creation: Feature Element Diagnostics