The definition of a conditional class is similar to a regular class, except
that
- the keyword conditional should be used instead of
class,
- there are only common member attributes, but
no public, private, or auto member attributes.
- there are no
new or super collective attributes. Instead, a conditional class
can have
collective attributes named title and database.
title is a string and meant to be a brief description of the
class, and database is supposed to be a centralized database that
stores the information of the members. It needs to be a pointer so that
member functions may alter its value.
oz
2009-12-22