Constraint Code Templates

The following features can be used in DVT to generate new constraints:

To customize the way a generated constraint looks you can edit the constraint_implementation or constraint_prototype code templates.

../../_images/constraint_code_templates.png
../../_images/constraint_implementation_code_template.png
${qualifiers}

Can be static or empty.

${identifier}

Constraint name. Includes class_name:: qualifier for extern constraint implementations.

${todo_comment}

Comment inserted inside the constraint block.

../../_images/constraint_prototype_code_template.png
${qualifiers}

Extern, static or both. Can be empty.

${identifier}

Constraint name.