| Did you know ... | Search Documentation: |
| Predicate pce_begin_class/2 |
pce_begin_class(+Term,
+Super)Term defines both the class name and the term structure when an instance of the class is transformed into a Prolog term. The term has the form
+Class(...+Selector...)
where Class denotes the class name and the optional list
of selectors gives the (argument-free) get-behaviours used to obtain the
arguments of the term representation. See
Object->Term.
The description term may be prefixed with the meta-class to be used.
For example, the following declaration ensures the meta-class is my_meta_class:
my_meta_class:myobject
Super is the name of the super-class. It must be the name of a defined XPCE class or a class declared via pce_autoload/2.
Doc is an approximately 40-character summary documentation string visible in the manual tool.