document as typedefs the various wxArray* classes so that doxygen links them and it's easier to visit wxArray<T> docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -200,11 +200,11 @@
|
|||||||
@section array_predef Predefined array types
|
@section array_predef Predefined array types
|
||||||
|
|
||||||
wxWidgets defines the following dynamic array types:
|
wxWidgets defines the following dynamic array types:
|
||||||
- wxArrayShort
|
- ::wxArrayShort
|
||||||
- wxArrayInt
|
- ::wxArrayInt
|
||||||
- wxArrayDouble
|
- ::wxArrayDouble
|
||||||
- wxArrayLong
|
- ::wxArrayLong
|
||||||
- wxArrayPtrVoid
|
- ::wxArrayPtrVoid
|
||||||
|
|
||||||
To use them you don't need any macro; you just need to include @c dynarray.h.
|
To use them you don't need any macro; you just need to include @c dynarray.h.
|
||||||
|
|
||||||
@@ -214,6 +214,7 @@
|
|||||||
|
|
||||||
@see @ref overview_container, wxList<T>, wxVector<T>
|
@see @ref overview_container, wxList<T>, wxVector<T>
|
||||||
*/
|
*/
|
||||||
|
template <typename T>
|
||||||
class wxArray<T>
|
class wxArray<T>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -794,3 +795,13 @@ public:
|
|||||||
*/
|
*/
|
||||||
#define WX_PREPEND_ARRAY(wxArray_arrayToModify, wxArray_arrayToBePrepended)
|
#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;
|
||||||
|
//@}
|
||||||
|
Reference in New Issue
Block a user