diff --git a/src/documentation/haiku_book/support/List.xml b/src/documentation/haiku_book/support/List.xml new file mode 100644 index 0000000000..6f4e3c37c9 --- /dev/null +++ b/src/documentation/haiku_book/support/List.xml @@ -0,0 +1,230 @@ + + + + BList + + + Derived from: none + Declared in: os/support/List.h + Library: libbe.so + + + BList is a is a simple ordered list of data pointers. + + Constructors and Destructors + + + BList() + + + BList + int32count20 + + + + BList + constBList &list + + + + + ~BList() + + + ~BList + + + + Member Functions + + AddItem() + + + boolAddItem + void *item + int32index + + + + boolAddItem + void *item + + + + + AddList() + + + boolAddList + constBList *list + int32index + + + + boolAddList + constBList *list + + + + + CountItems() + + + int32CountItemsconst + + + + + DoForEach() + + + DoForEach + bool(*func)(void *) + + + + DoForEach + bool(*func)(void *, void *) + void *arg2 + + + + + FirstItem() + + + void *FirstItem()const + + + + + HasItem() + + + boolHasItem + void *item + const + + + + + IndexOf() + + + int32IndexOf + void *item + const + + + + + ItemAt() + + + void *ItemAt + int32index + const + + + + void *ItemAtFast + int32index + const + + + + + ItemAtFast() + + See ItemAt() + + + + Items() + + + void *Itemsconst + + + + + IsEmpty + + + boolIsEmptyconst + + + + + LastItem() + + + void *LastItemconst + + + + + MoveItem() + + + boolMoveItem + int32fromIndex + int32toIndex + + + + + RemoveItem() + + + boolRemoveItem + void *item + + + + void *RemoveItem + int32index + + + + boolRemoveItems + int32index + int32count + + + + + RemoveItems() + + See RemoveItem() + + + + ReplaceItem() + + + boolReplaceItem + int32index + void *newItem + + + + + SortItems() + + + SortItems + int(int (*compareFunc)(const void *, const void *) + + + + + SwapItems() + + + boolSwapItems + int32indexA + int32indexB + + + diff --git a/src/documentation/haiku_book/support/api.xml b/src/documentation/haiku_book/support/api.xml new file mode 100644 index 0000000000..19e5a43a2b --- /dev/null +++ b/src/documentation/haiku_book/support/api.xml @@ -0,0 +1,13 @@ + + + +]> + + + Support Kit API + + &list; + diff --git a/src/documentation/haiku_book/support/intro.xml b/src/documentation/haiku_book/support/intro.xml index 9a3a061b7c..5ca28d1822 100644 --- a/src/documentation/haiku_book/support/intro.xml +++ b/src/documentation/haiku_book/support/intro.xml @@ -26,9 +26,14 @@ BMemoryIO and BMallocIO - BBlockCache - BList - BString + + Container classes: + + BBlockCache + BList + BString + + BStopWatch Common types and constants Error codes for all kits diff --git a/src/documentation/haiku_book/supportkit.xml b/src/documentation/haiku_book/supportkit.xml index 7d922c005b..bf05cff6f1 100644 --- a/src/documentation/haiku_book/supportkit.xml +++ b/src/documentation/haiku_book/supportkit.xml @@ -4,5 +4,6 @@ The Support Kit +