30 #ifndef _CEGUINamedElement_h_
31 #define _CEGUINamedElement_h_
33 #include "CEGUI/Element.h"
36 # pragma warning(push)
37 # pragma warning(disable : 4251)
109 virtual void setName(
const String& name);
122 String getNamePath()
const;
135 bool isChild(
const String& name_path)
const;
154 bool isChildRecursive(
const String& name)
const;
169 bool isAncestor(
const String& name)
const;
209 void removeChild(
const String& name_path);
213 virtual void addChild_impl(
Element* element);
228 void addNamedElementProperties();
254 #if defined(_MSC_VER)
255 # pragma warning(pop)
258 #endif // end of guard _CEGUINamedElement_h_
const String & getName() const
Return a String object holding the name of this Element.
Definition: NamedElement.h:114
void removeChild(Element *element)
Remove the Element Element's child list.
bool isChild(const Element *element) const
Checks whether given element is attached to this Element.
Adds name to the Element class, including name path traversal.
Definition: NamedElement.h:74
static const String EventNamespace
Namespace for global events.
Definition: NamedElement.h:79
static const String EventNameChanged
Definition: NamedElement.h:86
bool isAncestor(const Element *element) const
Checks whether the specified Element is an ancestor of this Element.
String d_name
The name of the element, unique in the parent of this element.
Definition: NamedElement.h:241
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
A positioned and sized rectangular node in a tree graph.
Definition: Element.h:242
Base class used as the argument to all subscribers Event object.
Definition: EventArgs.h:49
NamedElement * element
pointer to an Element object of relevance to the event.
Definition: NamedElement.h:57
EventArgs based class that is used for objects passed to handlers triggered for events concerning som...
Definition: NamedElement.h:49
String class used within the GUI system.
Definition: String.h:62