btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / support / ObjectListPrivate.h
blob017c033f425525a54bf54528d8e7556b3cc1fb06
1 /*
2 * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _OBJECT_LIST_PRIVATE_H
6 #define _OBJECT_LIST_PRIVATE_H
9 #include <ObjectList.h>
12 template<class T>
13 class BObjectList<T>::Private {
14 public:
15 Private(BObjectList<T>* objectList)
17 fObjectList(objectList)
21 BList*
22 AsBList()
24 return fObjectList;
27 const BList*
28 AsBList() const
30 return fObjectList;
33 private:
34 BObjectList<T>* fObjectList;
38 #endif // _OBJECT_LIST_PRIVATE_H