#include <nestedFamily.h>
Inheritance diagram for nestedFamily:
Public Member Functions | |
nestedFamily (TItem nn, TItem mm, goblinController &thisContext=goblinDefaultContext) throw () | |
~nestedFamily () throw () | |
void | Init () throw () |
unsigned long | Size () const throw () |
unsigned long | Allocated () const throw () |
void | Display (TItem v) const throw (ERRange) |
char * | Display () const throw () |
void | Bud (TItem v) throw (ERRange,ERRejected) |
TItem | MakeSet () throw (ERRejected) |
void | Merge (TItem s, TItem v) throw (ERRange,ERRejected) |
void | FixSet (TItem s) throw (ERRange,ERRejected) |
bool | Top (TItem v) const throw (ERRange) |
TItem | Set (TItem v) const throw (ERRange) |
TItem | First (TItem v) const throw (ERRange) |
TItem | Next (TItem v) const throw (ERRange,ERRejected) |
void | Split (TItem v) throw (ERRange,ERRejected) |
void | Block (TItem v) const throw (ERRange,ERRejected) |
void | UnBlock (TItem v) const throw (ERRange,ERRejected) |
|
|
|
|
|
Reimplemented from managedObject. |
|
Like Split(), but reversible.
|
|
Prepares a real element for merge operations.
|
|
Display the complete nested set family.
Reimplemented from managedObject. |
|
Display the set family nested into a given element.
|
|
Public interface of the array first[].
|
|
Finalize the merging elements into a toplevel set and assign a canonical element.
|
|
|
|
Prepares a new toplevel set, returning its index.
|
|
Merges a toplevel element into a set which is not fixed yet.
|
|
Public interface of the array next[].
|
|
Returns the toplevel set containing a given item.
|
|
Implements goblinRootObject. |
|
Destroy a toplevel set and, if path compression is enabled, re-arrange B-labels.
|
|
Decides wether v is a toplevel element.
|
|
Inverse operation of Block().
|