enumfiledef : match

If the objname passed in matches any inside this file definition, then this function returns true.

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 match is successful.

This method is contained in the object "enumfiledef".

The method takes the following arguments:

schema : Pointer to object

Not sure.

enumname : stringtype

Not sure.


The files "schema/schema_object.hpp" and "schema/schema_enumeration.hpp" are included.

See if an enumeration is found with the name.

	return dynamic_cast<ph::tools::schema::schema_enumeration *>(
			schema->findwithtype("enumeration", enumname)) != 0;

Generated: Wed Apr 5 23:54:17 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.