ITK Function Reference

(V10000.1.0.60_20160308.00)
Macros | Functions
partition_user_exits.h File Reference
#include <unidefs.h>
#include <ptn0partition/libptn0partition_exports.h>
#include <ptn0partition/libptn0partition_undef.h>

Go to the source code of this file.

Macros

#define PTN_validate_realized_ptns_msg   "BMF_PTN_validate_realized_ptns"
 

Functions

PTN0PARTITION_API int USER_realized_partition_validations (int ptn_count, const tag_t *template_ptns, const tag_t *realized_ptns, int *out_ptn_count, tag_t **out_template_ptns, tag_t **out_realized_ptns)
 

Macro Definition Documentation

#define PTN_validate_realized_ptns_msg   "BMF_PTN_validate_realized_ptns"

Operation name for the legacy operation to be implemented to provide custom validations on the getRealizedPartitions SOA operation output

Definition at line 37 of file partition_user_exits.h.

Function Documentation

PTN0PARTITION_API int USER_realized_partition_validations ( int  ptn_count,
const tag_t template_ptns,
const tag_t realized_ptns,
int *  out_ptn_count,
tag_t **  out_template_ptns,
tag_t **  out_realized_ptns 
)

User exit implementation for the USER_realized_partition_validations exit
It will call the base action registered against it, if any. The base action can perform additional filtering of the getRealizedPartitions SOA output by applying further validations and business rules on the Partitions.
In case no custom implementation is registered, the input data is copied into the output variables and sent back as it is.

Returns
Parameters
ptn_count(I) The count of input template Partitions
template_ptns(I) ptn_count The template Partitions having realized Partitions
realized_ptns(I) ptn_count The realized Partitions corresponding to template Partitions
out_ptn_count(O) Number of filtered template Partitions
out_template_ptns(OF) out_ptn_count Filtered template Partitions
out_realized_ptns(OF) out_ptn_count Filtered realized Partitions corresponding to template Partitions