4#ifndef QTESTCOREELEMENT_P_H
5#define QTESTCOREELEMENT_P_H
18#include <QtTest/qttestglobal.h>
19#include <QtTest/private/qtestelementattribute_p.h>
26template <
class ElementType>
34 const std::vector<QTestElementAttribute*> &
attributes()
const;
43 std::vector<QTestElementAttribute*> listOfAttributes;
47template<
class ElementType>
53template<
class ElementType>
60template <
class ElementType>
63 if (attributeIndex == -1 ||
attribute(attributeIndex))
68 listOfAttributes.push_back(testAttribute);
71template <
class ElementType>
74 return listOfAttributes;
77template <
class ElementType>
82 return attrb->
value();
87template <
class ElementType>
97template <
class ElementType>
100 const char *xmlElementNames[] =
115 return xmlElementNames[
type];
120template <
class ElementType>
126template <
class ElementType>
129 for (
auto *
attribute : listOfAttributes) {
const char * attributeValue(QTest::AttributeIndex index) const
const char * attributeName(QTest::AttributeIndex index) const
void addAttribute(const QTest::AttributeIndex index, const char *value)
const std::vector< QTestElementAttribute * > & attributes() const
virtual ~QTestCoreElement()
QTest::LogElementType elementType() const
const char * elementName() const
QTestCoreElement(QTest::LogElementType type=QTest::LET_Undefined)
const QTestElementAttribute * attribute(QTest::AttributeIndex index) const
const char * name() const
bool setPair(QTest::AttributeIndex attributeIndex, const char *value)
const char * value() const
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
EGLOutputLayerEXT EGLint attribute