#include <gen.h>


Public Member Functions | |
| void | MakeUnique () |
| all with reference count > 1 are cloned. | |
| a2dObjectList & | operator= (a2dObjectList &other) |
| a2dObjectList * | Clone (a2dObject::CloneOptions options) const |
| Clone everything ( Clones objects also) in a new created list. | |
| bool | Release (const wxString &classname=wxT(""), bool all=false) |
| a2dObject * | Find (const wxString &classname=wxT(""), const wxString &name=wxT("")) |
| Find object within the given property name and classname. | |
| int | CollectObjects (a2dObjectList *total, const wxString &propertyNameFilter=wxT(""), const wxString &classname=wxT("")) |
| Copy objects fitting the given filter to the total list. | |
Definition at line 2548 of file gen.h.
| a2dObjectList& a2dObjectList::operator= | ( | a2dObjectList & | other | ) |
this only copies pointer stored in the list, if you want the object itself copied also, use Clone
| bool a2dObjectList::Release | ( | const wxString & | classname = wxT(""), |
|
| bool | all = false | |||
| ) |
| a2dObject * a2dObjectList::Find | ( | const wxString & | classname = wxT(""), |
|
| const wxString & | name = wxT("") | |||
| ) |
| int a2dObjectList::CollectObjects | ( | a2dObjectList * | total, | |
| const wxString & | propertyNameFilter = wxT(""), |
|||
| const wxString & | classname = wxT("") | |||
| ) |
Copy objects fitting the given filter to the total list.
| total | list of object found (may already contain elements found in earlier call) | |
| propertyNameFilter | If property name is set the object needs to have a name which matches propertyname. | |
| classname | If type is empty it collects all objects else only object with this class name. |