| tgl_foreachobject_visitor : visit |
Any other method of any other object can call this method. This is called 'public' access.
The data-type returned is "booltype"; Not sure.
This method is contained in the object "tgl_foreachobject_visitor".
The method takes the following arguments:
obj : object_baseptrtype
Not sure.
This method is overridden from an abstract method with the same signature found in the object visitor.
The files "tgl_foreachobject.hpp", "schema/schema_object.hpp" and "schema/schema_enumeration.hpp" are included.
// skip over the base object.
if (obj == _base)
return true;
ph::tools::schema::schema_object *o =
dynamic_cast<ph::tools::schema::schema_object *>(obj);
if (o)
return _obj->parse(o, _filedef);
else
{
ph::tools::schema::schema_enumeration *e =
dynamic_cast<ph::tools::schema::schema_enumeration *>(obj);
if (e)
return _obj->parse(e, _filedef);
else
return true;
}