Case instantiation

From ObjectVision

Jump to: navigation, search

A case or template instantion is defined as using a template in an expression and setting the values for all case parameters.

Configuration

Example:

container Cases
{
    container FarestDistSuper_PT := CombineDistWithANDcond(DistSupermarket/dist, DistPublicTransport/dist);
}

A case instantiation is configured with an expression configured to a container. In this expression the template name is used and the values for each case parameter are set between brackets.

Each case parameter is separated by a comma.

Personal tools