Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

trash_utils.cpp File Reference


Functions

void trash_it (SuifObject *obj)
This variant of trash_it will trash the suifobject in it's creator's SuifEnv.

void trash_it (SuifEnv *s, SuifObject *obj)
trash_it() is called on an unowned suif object. More...

void take_out_trash (SuifEnv *s)
take_out_trash(). More...

bool is_owned_by_file_set_block (SuifObject *obj, FileSetBlock *fsb)
size_t validate_file_set_block_ownership (FileSetBlock *fsb)
validate_file_set_block_ownership. More...


Function Documentation

void trash_it (SuifObject * obj)

This variant of trash_it will trash the suifobject in it's creator's SuifEnv.

void trash_it (SuifEnv * s, SuifObject * obj)

trash_it() is called on an unowned suif object.

a reference to is will be placed into an annotation called "trash" in on the FileSetBlock.

void take_out_trash (SuifEnv * s)

take_out_trash().

will walk through the entire file set block and look for references to the "trash" not in trash.

If there are not any references to an object in the trash, the object will be removed.

bool is_owned_by_file_set_block (SuifObject * obj, FileSetBlock * fsb) [static]

size_t validate_file_set_block_ownership (FileSetBlock * fsb)

validate_file_set_block_ownership.

Check every owned object in the fileset block to verify that it's ultimate ancestor is the fileset block.

Then check every referenced object in the fileset block to verify that its ultimate ancestor is the fileset block.


Generated at Wed Apr 25 17:34:45 2001 for NCI SUIF by doxygen  written by Dimitri van Heesch, © 1997-1999