Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3269 closed enhancement (fixed)

[PATCH] Use iterators for XMBElementList and XMBAttributeList

Reported by: leper Owned by: leper
Priority: Should Have Milestone: Alpha 19
Component: Core engine Keywords: patch
Cc: Patch:

Description

Currently we employ some custom and somewhat clunky way to iterate over XMB nodes and attributes. The patch makes both XMBElementList and XMBAttributeList use a more C++/STL interface.

Should the iterators inherit from std::iterator instead of providing those typedefs? Doing so requires adding a few ctors to the iterators.

Attachments (1)

xeroiterators.patch (30.0 KB ) - added by leper 9 years ago.

Download all attachments as: .zip

Change History (3)

by leper, 9 years ago

Attachment: xeroiterators.patch added

comment:1 by leper, 9 years ago

Resolution: fixed
Status: newclosed

In 16704:

Use iterators for XMBAttributeList and XMBElementList. Fixes #3269.

comment:2 by leper, 9 years ago

Keywords: review removed
Summary: [PATCH] User iterators for XMBElementList and XMBAttributeList[PATCH] Use iterators for XMBElementList and XMBAttributeList
Note: See TracTickets for help on using tickets.