#include <script.h>
Public Member Functions | |
| wxScriptFunctionArray (const wxString &tostrip=wxEmptyString) | |
| virtual | ~wxScriptFunctionArray () |
| wxScriptFunction * | Get (int idx) const |
| wxScriptFunction * | Get (const wxString &fncname, int n=0) const |
| int | GetIdx (const wxString &fncname, int n=0) const |
| int | GetCountOf (const wxString &fncname) const |
| wxString | GetName (int n) const |
| wxString | GetPrefixToStrip () const |
| int | GetCount () const |
| wxArrayPtrVoid & | GetArray () |
| void | Insert (wxScriptFunction *toadd, int idx) |
| void | Append (wxScriptFunction *toadd) |
| void | Append (const wxScriptFunctionArray &arr) |
| void | Remove (int i) |
| void | Remove (const wxString &fncname, int n=0) |
| void | SetPrefixToStrip (const wxString &str) |
| void | DeepCopy (const wxScriptFunctionArray *arr) |
| void | Clear () |
Protected Attributes | |
| wxArrayPtrVoid | m_arr |
| A simple auto-expanding array containing pointers to the wxScriptFunction contained. | |
| wxString | m_strToStrip |
| An optional string which is used by GetName() to strip off unwanted function prefixes. | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
A simple auto-expanding array containing pointers to the wxScriptFunction contained. .. the object handled by this array are not automatically deleted: wxScriptFunctionArray::Clear have to cleanup everything. VERY IMPORTANT: we cannot use the wxObjArray macros because we need to store pointers to abstract classes which cannot be copied (wxObjArray requires non-abstract classes to store). |
|
|
An optional string which is used by GetName() to strip off unwanted function prefixes.
|
1.4.3