1 ////////////////////////////////////////////////////////////////////////////// 2 // Name: SVGElementInstance.h 3 // Author: Alex Thuering 4 // Copyright: (c) 2005 Alex Thuering 5 // Licence: wxWindows licence 6 // Notes: generated by generate.py 7 ////////////////////////////////////////////////////////////////////////////// 8 9 #ifndef WX_SVG_ELEMENT_INSTANCE_H 10 #define WX_SVG_ELEMENT_INSTANCE_H 11 12 class wxSVGElement; 13 class wxSVGUseElement; 14 class wxSVGElementInstance; 15 class wxSVGElementInstanceList; 16 class wxSVGElementInstance; 17 class wxSVGElementInstance; 18 class wxSVGElementInstance; 19 class wxSVGElementInstance; 20 21 #include "EventTarget.h" 22 23 class wxSVGElementInstance: 24 public wxEventTarget 25 { 26 protected: 27 wxSVGElement* m_correspondingElement; 28 wxSVGUseElement* m_correspondingUseElement; 29 wxSVGElementInstance* m_parentNode; 30 wxSVGElementInstanceList* m_childNodes; 31 wxSVGElementInstance* m_firstChild; 32 wxSVGElementInstance* m_lastChild; 33 wxSVGElementInstance* m_previousSibling; 34 wxSVGElementInstance* m_nextSibling; 35 36 public: GetCorrespondingElement()37 inline wxSVGElement* GetCorrespondingElement() const { return m_correspondingElement; } SetCorrespondingElement(wxSVGElement * n)38 inline void SetCorrespondingElement(wxSVGElement* n) { m_correspondingElement = n; } 39 GetCorrespondingUseElement()40 inline wxSVGUseElement* GetCorrespondingUseElement() const { return m_correspondingUseElement; } SetCorrespondingUseElement(wxSVGUseElement * n)41 inline void SetCorrespondingUseElement(wxSVGUseElement* n) { m_correspondingUseElement = n; } 42 GetParentNode()43 inline wxSVGElementInstance* GetParentNode() const { return m_parentNode; } SetParentNode(wxSVGElementInstance * n)44 inline void SetParentNode(wxSVGElementInstance* n) { m_parentNode = n; } 45 GetChildNodes()46 inline wxSVGElementInstanceList* GetChildNodes() const { return m_childNodes; } SetChildNodes(wxSVGElementInstanceList * n)47 inline void SetChildNodes(wxSVGElementInstanceList* n) { m_childNodes = n; } 48 GetFirstChild()49 inline wxSVGElementInstance* GetFirstChild() const { return m_firstChild; } SetFirstChild(wxSVGElementInstance * n)50 inline void SetFirstChild(wxSVGElementInstance* n) { m_firstChild = n; } 51 GetLastChild()52 inline wxSVGElementInstance* GetLastChild() const { return m_lastChild; } SetLastChild(wxSVGElementInstance * n)53 inline void SetLastChild(wxSVGElementInstance* n) { m_lastChild = n; } 54 GetPreviousSibling()55 inline wxSVGElementInstance* GetPreviousSibling() const { return m_previousSibling; } SetPreviousSibling(wxSVGElementInstance * n)56 inline void SetPreviousSibling(wxSVGElementInstance* n) { m_previousSibling = n; } 57 GetNextSibling()58 inline wxSVGElementInstance* GetNextSibling() const { return m_nextSibling; } SetNextSibling(wxSVGElementInstance * n)59 inline void SetNextSibling(wxSVGElementInstance* n) { m_nextSibling = n; } 60 61 public: wxSVGElementInstance()62 wxSVGElementInstance() {} ~wxSVGElementInstance()63 virtual ~wxSVGElementInstance() {} 64 }; 65 66 #endif // WX_SVG_ELEMENT_INSTANCE_H 67