a2dObjectList Class Reference
[base classes used for many others]

list of a2dObject's More...

#include <gen.h>

Inheritance diagram for a2dObjectList:

Inheritance graph
[legend]
Collaboration diagram for a2dObjectList:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void MakeUnique ()
 all with reference count > 1 are cloned.
a2dObjectListoperator= (a2dObjectList &other)
a2dObjectListClone (a2dObject::CloneOptions options) const
 Clone everything ( Clones objects also) in a new created list.
bool Release (const wxString &classname=wxT(""), bool all=false)
a2dObjectFind (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.


Detailed Description

list of a2dObject's

Definition at line 2548 of file gen.h.


Member Function Documentation

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 
)

release only objects with the given classname and has property named propertyname and object name empty string means ignore.

Definition at line 2767 of file gen.cpp.

a2dObject * a2dObjectList::Find ( const wxString &  classname = wxT(""),
const wxString &  name = wxT("") 
)

Find object within the given property name and classname.

Parameters:
classname If classname is empty it collects all objects else only object with this class name.
name If a name is set the object needs to have this name

Definition at line 2789 of file gen.cpp.

int a2dObjectList::CollectObjects ( a2dObjectList total,
const wxString &  propertyNameFilter = wxT(""),
const wxString &  classname = wxT("") 
)

Copy objects fitting the given filter to the total list.

Parameters:
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.
Returns:
number of objects found

Definition at line 2807 of file gen.cpp.


The documentation for this class was generated from the following files:
a2dObjectList Class Reference -- Tue Aug 31 18:31:28 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation