@condition

Abstract class representing a condition to be tested for block output. It's class-name (used for any type of code generation) is "tgl_condition".

The object fits into the tree of objects in the following way. Click on other objects in to navigate to that object. Objects to the left of this object are superclasses, and objects listed below it derive from this one.

Here is a list of all uses of this object inside others. Click on the object to take you to the definition.

Click here to see a tree representation of all objects.

Click here to return to the main index page.

Members

This object contains members which hold data for the object. Following is a list of those members. The declaration of the member closely follows the UML conventions.

fail : booltype

True if the condition should fail.

Methods

This object contains methods which can be called from other objects. Following is a list of those methods. The syntax of the method, it's arguments and return value follow closely the UML conventions.

pass

This method is called to test if the condition should pass or not.

Any other method of any other object can call this method. This is called 'public' access.

The data-type returned is "booltype"; Returns "true" if the condition passes.

The method takes the following arguments:

filedef : Pointer to tgl_structure_parser

Not sure.

obj : Pointer to @schemaobj

Not sure.

first : booltype

If true, then return true only if the first item is true.

last : booltype

If true, then return true only if the last item is true.

Here is a list of all overrides of this method inside sub-classes. Click on the object to take you to the definition.

Generated: Wed Apr 5 23:54:31 EST 2006 using "xsltproc ... docbook.xsl". Copyright (c) 2003, 2004, 2005; Paul Hamilton; pHamtec P/L. Use, modification, and distribution is provided free of any limitations.