KHTML
SVGElementInstanceList.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef SVGElementInstanceList_h
00023 #define SVGElementInstanceList_h
00024
00025 #if ENABLE(SVG)
00026
00027 #include <wtf/RefCounted.h>
00028 #include "SVGElementInstance.h"
00029
00030 namespace WebCore {
00031 class SVGElementInstanceList : public RefCounted<SVGElementInstanceList> {
00032 public:
00033 static PassRefPtr<SVGElementInstanceList> create(PassRefPtr<SVGElementInstance> rootInstance) { return adoptRef(new SVGElementInstanceList(rootInstance)); }
00034 virtual ~SVGElementInstanceList();
00035
00036 unsigned int length() const;
00037 RefPtr<SVGElementInstance> item(unsigned int index);
00038
00039 private:
00040 SVGElementInstanceList(PassRefPtr<SVGElementInstance> rootInstance);
00041 RefPtr<SVGElementInstance> m_rootInstance;
00042 };
00043 }
00044
00045 #endif // ENABLE(SVG)
00046 #endif
00047
00048