@block : pass |
Method used to "pass" this block.
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 this block should be output or not.
This method is contained in the object "@block".
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.
The files "tgl_condition.hpp" are included.
Query all of the conditions to see if any don't pass.
for (ph::xmlobj::xmlobj_typed_vector<tgl_condition>::iterator i=_conditions.begin(); i != _conditions.end(); i++) { if (!i->pass(filedef, obj, first, last)) return false; } return true;