ChasmMetaInformation


Each Concept holds a wealth of meta information about it. This is INVALUABLE to the usability of Chasm.

line number and file name

These, when set, are the line number and file name where the concept was created. Use the __LINE__ and __FILE__ defines to set them. Set: setLineInstantiation(__LINE__) or set in the static constructor. Set: setFileInstantiation(__FILE__) or set in the static constructor.

displayMe

Every Concept and structure is derived from cwObject which requires a method called displayMe(int _i=0, char* _s = NULL). It calls the displayMeInternal method to display its information. This is useful for determining what object you are looking at as well as displaying lists of items.

name

The name of a concept is the Concept name or type. It is set in the constructor. Its full name is the same but with the CID appended as in Button_4. GET: pointAtName(), pointAtFullName()

description

This is a description of the concept. What it does. pointAtDescription()

semantics

Also a description. I might get rid of this as it repeats description.

instance name

This is a name given to a particular instance of a concept. So, you can name a Button as "button1". It needs to be more fully integrated with displayMeInternal.

CID and PID

Each concept has a CID and its PCO or Prototype Concept has a PID. A CID is a unique number given to the concept for fast referral and debugging. Without it, all the concepts kinda blend together. The PID is the same but for PCOs. A PCO has both a Concept and a PCO as a PCO inherites off of a Concept.