class NList

dynamic ordinally indexed 2-dimensional ntuples of @see Slot More...

Definition#include <Slot.hh>
InheritsList
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

dynamic ordinally indexed 2-dimensional ntuples of @see Slot

In representation, NList presents as a List of Lists of fixed size.

NList implements a space-efficient storage for lists of Slot ntuples, e.g pairs, triples, etc.

Each NList has an `arity' property which governs indexing operations. NList is really syntactic sugar which peforms index translation.

NList (const Slot &init)

cold construct an NList

NList (int arity, int size = 0)

construct an empty NList

NList (int arity, const List *l, int start = 0, int len = -1)

share substructure with a List

NList (const NList *l, int start = 0, int len = -1)

share substructure with an NList

int arity ()
[const]

return the arity of an NList

void roundup ()

round the underlying List up to arity


Generated by: colin@sharedtech.dhis.org on Sat Nov 6 11:59:24 199.