parrotcode: PackfileDirectory PMC | |
Contents | PMCs |
src/pmc/packfiledirectory.pmc - PackfileDirectory PMC
This class implements a PackfileDirectory object, a segment of the .pbc data file used for listing the rest of the file's contents. Essentially this segment is a container for all other segments within a Packfile.
See packfile.pmc for the toplevel Packfile interface, see packfilesegment.pmc for the list of common methods every packfile segment pmc must implement; see PDD13 for the design spec.
INTVAL elements()
PMC *get_pmc_keyed_int(INTVAL index)
STRING *get_string_keyed_int(INTVAL index)
PMC *get_pmc_keyed_str(STRING *name)
PMC *get_pmc_keyed(PMC *key)
void set_pmc_keyed_str(STRING *name, PMC *segment)
|