PackageAttribute
typedef DoublyLinkedList<PackageAttribute> PackageAttributeList;
PackageAttribute* AddStringAttribute(BHPKGAttributeID id,
DoublyLinkedList<PackageAttribute>& list);
inline PackageAttribute* _AddStringAttributeIfNotEmpty(
DoublyLinkedList<PackageAttribute>& list);
DoublyLinkedList<PackageAttribute>& list);
inline WriterImplBase::PackageAttribute*
const BString& value, DoublyLinkedList<PackageAttribute>& list)
struct PackageAttribute :
public DoublyLinkedListLinkImpl<PackageAttribute>,
DoublyLinkedList<PackageAttribute> children;
PackageAttribute(BHPKGAttributeID id_, uint8 type,
~PackageAttribute();
void AddChild(PackageAttribute* child);
PackageAttribute* packageAttribute = AddStringAttribute(
WriterImplBase::PackageAttribute::PackageAttribute(BHPKGAttributeID id_,
WriterImplBase::PackageAttribute::~PackageAttribute()
WriterImplBase::PackageAttribute::AddChild(PackageAttribute* child)
WriterImplBase::PackageAttribute::_DeleteChildren()
while (PackageAttribute* child = children.RemoveHead())
PackageAttribute* flags = new PackageAttribute(
PackageAttribute* architecture = new PackageAttribute(
PackageAttribute* provides = AddStringAttribute(
PackageAttribute* attribute = AddStringAttribute(
PackageAttribute* isDirectoryAttribute = new PackageAttribute(
PackageAttribute* updateTypeAttribute = new PackageAttribute(
PackageAttribute* attribute = AddStringAttribute(
PackageAttribute* isDirectoryAttribute = new PackageAttribute(
PackageAttribute* attribute = AddStringAttribute(
PackageAttribute* versionMajor = AddStringAttribute(attributeID,
PackageAttribute* versionRevision = new PackageAttribute(
PackageAttribute* name = AddStringAttribute((BHPKGAttributeID)id,
PackageAttribute* op = new PackageAttribute(
WriterImplBase::PackageAttribute*
DoublyLinkedList<PackageAttribute>& list)
PackageAttribute* attribute = new PackageAttribute(id,
const BStringList& value, DoublyLinkedList<PackageAttribute>& list)
DoublyLinkedList<PackageAttribute>::ConstIterator it
while (PackageAttribute* attribute = it.Next()) {