YAPAtomTerm

Term Representation of an Atom.

Public Function:

1. YAPAtomTerm::YAPAtomTerm(Atom a):

1. YAPAtomTerm::YAPAtomTerm(YAPAtom a): : Constructor: receives an atom;.

1. YAPAtomTerm::YAPAtomTerm(char s[]): : Constructor: receives a sequence of UTF-8 codes;.

1. YAPAtomTerm::YAPAtomTerm(char *s, size_t len): : Constructor: receives a sequence of up to n UTF-8 codes;.

1. YAPAtomTerm::YAPAtomTerm(wchar_t *s): : Constructor: receives a sequence of wchar_ts, whatever they may be;.

1. YAPAtomTerm::YAPAtomTerm(wchar_t *s, size_t len): : Constructor: receives a sequence of n wchar_ts, whatever they may be;.

1. YAPAtomTerm::YAPAtomTerm(std::string s): : Constructor: receives a std::string;.

1. bool YAPAtomTerm::isVar(): : type check for unbound

1. bool YAPAtomTerm::isAtom(): : type check for unbound

1. bool YAPAtomTerm::isInteger(): : type check for atom

1. bool YAPAtomTerm::isFloat(): : type check for integer

1. bool YAPAtomTerm::isString(): : type check for floating-point

1. bool YAPAtomTerm::isCompound(): : type check for a string " ... "

1. bool YAPAtomTerm::isAppl(): : is a primitive term

1. bool YAPAtomTerm::isPair(): : is a structured term

1. virtual bool YAPAtomTerm::isGround(): : is a pair term

1. virtual bool YAPAtomTerm::isList(): : term is ground

1. YAPAtom YAPAtomTerm::getAtom(): : [] is a list

Getter: outputs the atom;

1. const char * YAPAtomTerm::text(): : Getter: outputs the name as a sequence of ISO-LATIN1 codes;.

Private-func:

1. YAPAtomTerm::YAPAtomTerm(Term t): : Constructor: receives a C-atom;.

Friends:

1. friend class YAPModule:

Class: YAPModule

Class: YAPTerm