]> git.saurik.com Git - wxWidgets.git/commitdiff
document as typedefs the various wxArray* classes so that doxygen links them and...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 1 Feb 2009 20:34:13 +0000 (20:34 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 1 Feb 2009 20:34:13 +0000 (20:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/dynarray.h

index 4046bc52301059dd7d1023b8ade23963a981e155..b1808a77612c201c64022147b672e852b6fa5e54 100644 (file)
     @section array_predef Predefined array types
 
     wxWidgets defines the following dynamic array types:
-    - wxArrayShort
-    - wxArrayInt
-    - wxArrayDouble
-    - wxArrayLong
-    - wxArrayPtrVoid
+    - ::wxArrayShort
+    - ::wxArrayInt
+    - ::wxArrayDouble
+    - ::wxArrayLong
+    - ::wxArrayPtrVoid
 
     To use them you don't need any macro; you just need to include @c dynarray.h.
 
 
     @see @ref overview_container, wxList<T>, wxVector<T>
 */
+template <typename T>
 class wxArray<T>
 {
 public:
@@ -794,3 +795,13 @@ public:
 */
 #define WX_PREPEND_ARRAY(wxArray_arrayToModify, wxArray_arrayToBePrepended)
 
+//@{
+/**
+    Predefined specialization of wxArray<T> for standard types.
+*/
+typedef wxArray<int> wxArrayInt;
+typedef wxArray<long> wxArrayLong;
+typedef wxArray<short> wxArrayShort;
+typedef wxArray<double> wxArrayDouble;
+typedef wxArray<void*> wxArrayPtrVoid;
+//@}