engiGetEntityWhereRuleByIterator

Iterates where rules of the entity or defined type. Declaration can be ENTITY or DEFINED_TYPE. Includes this but not parent entities or types. Returns first rule if prev is NULL. Returns NULL when prev is the last rule. Use engiGetScriptText to get further information.

Syntax

//
//   Strong typing definition
//
ExpressScript   engiGetEntityWhereRuleByIterator(
                        SchemaDecl              declaration,
                        ExpressScript           prev,
                        SdaiString              * label
                    );

static  inline  ExpressScript   engiGetEntityWhereRuleByIterator(
                                        SchemaDecl              declaration,
                                        ExpressScript           prev,
                                        char                    ** label
                                    )
{
    return  engiGetEntityWhereRuleByIterator(
                    declaration,
                    prev,
                    (SdaiString*) label
                );
}


//
//   Weak typing definition
//
int_t   __declspec(dllexport) __stdcall engiGetEntityWhereRuleByIterator(
                                                int_t                   declaration,
                                                int_t                   prev,
                                                const char              ** label
                                            );

static  inline  int_t   engiGetEntityWhereRuleByIterator(
                                int_t                   declaration,
                                int_t                   prev,
                                char                    ** label
                            )
{
    return  engiGetEntityWhereRuleByIterator(
                    declaration,
                    prev,
                    (const SdaiString*) label
                );
}
    

Property declaration

Size: 32 bit / 4 byte (value)
???.

Property prev

Size: 32 bit / 4 byte (value)
???.

Property label

Size: 32 bit / 4 byte (reference)
???.