Generic Functions for Composite Objects


Functions

int compositeObNibbles (SatAddr src)
 Implementation for LISTnibbles() etc. Doesn't check the prolog.
bool compositeAdd (SatAddr dst, SatAddr obj)
 Implementation for LISTadd() etc. Doesn't check the prolog.
SatAddr compositeCat (SatAddr src, SatAddr obj)
 Implementation for LISTcat() etc. Doesn't check the prolog.
SatAddr compositeMerge (SatAddr comp1, SatAddr comp2)
 Implementation for LISTmerge() etc. Doesn't check the prolog.
SatAddr compositeFirstEntry (SatAddr col)
 Implementation for LISTfirstEntry() etc. Doesn't check the prolog.
SatAddr compositeNextEntry (SatAddr entry)
 Implementation for LISTnextEntry() etc. Doesn't check the prolog.
SatAddr compositeFirstOb (SatAddr col, SatAddr *iter)
 Implementation for LISTfirstOb() etc. Doesn't check the prolog.
SatAddr compositeNextOb (SatAddr *iter)
 Implementation for LISTnextOb() etc. Doesn't check the prolog.
SatAddr compositeEncode (SatAddr dst, va_list argp)
 Implementation for LISTencode() etc. Doesn't check the prolog.
SatAddr compositeEncodeN (int n, SatAddr obs[], SatAddr dst)
 Implementation for LISTencodeN() etc. Doesn't check the prolog.
int compositeSize (SatAddr src)
 Implementation for LISTSize() etc. Doesn't check the prolog.

Detailed Description

Composite routines. A composite object consists of a prolog, a bunch of objects, or pointers to objects, and finally a 5 nibble SEMI. The most familiar composite is the list, but RPL programs, symbolic matrices and others also follow the form.

The functions that follow implement common functionality for any composite object. Type-specific methods exist for each composite type also. The type-specific versions check (or set) the appropriate prolog value.


Generated on Sat Apr 3 16:38:31 2010 for HPObjects by  doxygen 1.5.0