This deals with assigning and checking Components in the Concept, ie. the Director, and Builder based upon their CIF. The defines are:
CHASMDECLARECOMPONENTS_PUBLIC
CHASMDECLARECOMPONENTS_PROTECTED
CHASMDECLARECOMPONENTS_PRIVATE
CHASMASSIGNCOMPONENTS
CHASMCHECKCOMPONENTS
CHASMCHECKCOMPONENTSBUILDER
This declares the components to be part of this Concept at the given access level. As an example, in the WorldObject, there is a component called position of Concept Position. The code for it would be:
Position* position;
This assigns the declared components in the concept from the parameters. This is based upon the CIF.
Created and Vacant:
Sets them to NULL.
Passed and Potential:
Sets them to the passed in Component values.
Created and Passed:
Ignored as could be set in the Builder.
Vacant:
Should still be NULL.
Potential:
Not checked.
Creating and Passed:
Should be set to something or else error out.
Vacant or Potential:
Ignored.