YAPAtom¶
Atom A YAP data-base is a collection of atoms, where each atom has a name and a set of Properties.
Examples of properties include functors, predicates, operators, modules, almost everything.
Public Function:¶
1. YAPAtom::YAPAtom(const char *s): : construct new YAPAtom from UTF-8 string
1. YAPAtom::YAPAtom(const wchar_t *s): : construct new YAPAtom from UTF-8 string
1. YAPAtom::YAPAtom(const char *s, size_t len): : construct new YAPAtom from wide string
construct new YAPAtom from max-length string
1. const char * YAPAtom::getName(void): : get name of atom
1. const char * YAPAtom::text(void): : get name of (other way)
1. Prop YAPAtom::getProp(PropTag tag): : get prop of type
1. Atom YAPAtom::asAtom(): : as Atom
Private-func:¶
1. YAPAtom::YAPAtom(Atom at): : construct new YAPAtom from Atom