History log of /haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/UnpackingAttributeDirectoryCookie.h
Revision Date Author Comments
# c4c9e06c 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Support for auto-generated package node attributes

* Add utility class AutoPackageAttributes and AttributeCookie subclass
AutoPackageAttributeCookie.
* UnpackingAttributeCookie::Open() does now try to create a
AutoPackageAttributeCookie, when it doesn't find the attribute in the
PackageNode.
* Adjust UnpackingAttributeDirectoryCookie to also list auto-generated
attributes.

Currently the only supported attribute is "SYS:PACKAGE", which is the
file name of the package containing the node.


# fdde6105 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Added default cookie Close() implementation

Added trivial implementation for AttributeCookie::Close() and
AttributeDirectoryCookie::Close() and removed the identical Close()
implementations in derived classes.


# 5167a807 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Attribute dir access kernel interface abstraction

* Introduce interface AttributeDirectoryCookie and currently only
implementation UnpackingAttributeDirectoryCookie. This is an interface
for reading/rewinding an attribute directory.
* Add abstract virtual Node::OpenAttributeDirectory() method that
returns an AttributeDirectoryCookie and implement it for derived
classes.
* In the kernel interface attribute directory hooks use
AttributeDirectoryCookie now.


# c4c9e06c88d03c20bcf84b4e627ce4a4fb15d22f 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Support for auto-generated package node attributes

* Add utility class AutoPackageAttributes and AttributeCookie subclass
AutoPackageAttributeCookie.
* UnpackingAttributeCookie::Open() does now try to create a
AutoPackageAttributeCookie, when it doesn't find the attribute in the
PackageNode.
* Adjust UnpackingAttributeDirectoryCookie to also list auto-generated
attributes.

Currently the only supported attribute is "SYS:PACKAGE", which is the
file name of the package containing the node.


# fdde6105e94c2d2eef019b54a5a0e3dc2ee40c1b 25-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Added default cookie Close() implementation

Added trivial implementation for AttributeCookie::Close() and
AttributeDirectoryCookie::Close() and removed the identical Close()
implementations in derived classes.


# 5167a807038bd05fa521f7efd389815578cb1bc9 23-Jun-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Attribute dir access kernel interface abstraction

* Introduce interface AttributeDirectoryCookie and currently only
implementation UnpackingAttributeDirectoryCookie. This is an interface
for reading/rewinding an attribute directory.
* Add abstract virtual Node::OpenAttributeDirectory() method that
returns an AttributeDirectoryCookie and implement it for derived
classes.
* In the kernel interface attribute directory hooks use
AttributeDirectoryCookie now.