Changeset 37557 in vbox
- Timestamp:
- Jun 20, 2011 1:42:26 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/include/VBox/com/array.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/array.h
r37553 r37557 1013 1013 * Returns a copy of this SafeArray as RTCList<T>. 1014 1014 */ 1015 RTCList<T> toList()1016 {1017 RTCList<T> list(size());1018 for (size_t i = 0; i < size(); ++i)1019 #ifdef VBOX_WITH_XPCOM 1020 list.append(m.arr[i]);1021 #else 1022 list.append(m.raw[i]);1023 #endif 1024 return list;1025 }1015 RTCList<T> toList() 1016 { 1017 RTCList<T> list(size()); 1018 for (size_t i = 0; i < size(); ++i) 1019 #ifdef VBOX_WITH_XPCOM 1020 list.append(m.arr[i]); 1021 #else 1022 list.append(m.raw[i]); 1023 #endif 1024 return list; 1025 } 1026 1026 1027 1027 inline void initFrom(const com::SafeArray<T> & aRef);
Note:
See TracChangeset
for help on using the changeset viewer.

